Function at 0x45cbca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c737
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4c7650]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x4c7650]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], edx
test eax, eax
je 0x45d337
test ecx, ecx
je 0x45d337
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x214]
call fcn.0044c6c7
and dword [esp + 0x2a8], 0
lea ecx, [esp + 0x184]
call fcn.0044c6a9
lea edi, [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
xor esi, esi
mov dword [esp + 0x60], esi
lea edi, [esp + 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x50], esi
lea edi, [esp + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [esp + 0xfc]
stosd dword es:[edi], eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x28], 0xff
mov byte [esp + 0x20], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x14], esi
call fcn.0044c6a9
lea ecx, [esp + 0x74]
call fcn.0044c6a9
mov byte [esp + 0x2a8], 3
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x24], 1
jne 0x45cccd
mov ebx, dword [esp + 0x70]
cmp ebx, esi
je 0x45d267
cmp word [ebx], si
je 0x45d267
lea esi, [esp + 0xfc]
call fcn.0044c83a
lea esi, [esp + 0x74]
call fcn.0044c83a
jmp 0x45cd04
cmp ax, 0x20
ja 0x45cd3b
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x45ccf5
jmp 0x45cd3b
cmp ax, 0x3d
je 0x45cd54
cmp ax, 0x20
jbe 0x45cd54
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x45cd37
movzx eax, word [ebx]
lea ecx, [esp + 0xfc]
call fcn.0044c91e
add ebx, 2
cmp ebx, esi
jb 0x45cd25
movzx eax, word [ebx]
test ax, ax
jne 0x45cd0e
jmp 0x45cd54
cmp ax, 0x20
ja 0x45cd5c
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x45cd45
mov ax, word [ebx]
push 2
pop edi
add ebx, edi
cmp ax, 0x3d
jne 0x45d267
jmp 0x45cd7f
cmp ax, 0x20
ja 0x45cd87
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x45cd70
mov ax, word [ebx]
add ebx, edi
cmp ax, 0x27
jne 0x45d267
jmp 0x45cdbb
cmp ax, 0x27
je 0x45cdc3
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x45cdb7
movzx eax, word [ebx]
lea ecx, [esp + 0x74]
call fcn.0044c91e
add ebx, edi
cmp ebx, esi
jb 0x45cda9
movzx eax, word [ebx]
test ax, ax
jne 0x45cd98
mov ax, word [ebx]
add ebx, edi
cmp ax, 0x27
jne 0x45d267
lea eax, [esp + 0x74]
call fcn.0044c82f
test al, al
jne 0x45d251
push 0x4b1098
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
jne 0x45d1b2
push 0x4aa1d0
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
jne 0x45d1b2
push str.restype
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45ceb9
cmp dword [esp + 0x14], 0
jle 0x45cea4
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
push dword [esp + 0x60]
lea esi, [esp + 0x78]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x64]
lea eax, [esp + 0x1c4]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
call fcn.0045ca95
add esp, 0x58
lea eax, [esp + 0x74]
lea ecx, [esp + 0x184]
call fcn.0044c864
jmp 0x45d24d
push str.dest
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45cf6c
push 0xa
pop edi
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
call fcn.0044c68e
push eax
call fcn.0047b1d8
mov esi, dword [esp + 0x3c]
add eax, dword [esi]
add esp, 0xc
mov dword [esp + 0x40], eax
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x44], eax
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add eax, dword [esi]
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [esp + 0x48], eax
cmp eax, ecx
jle 0x45cf3b
mov dword [esp + 0x48], ecx
push edi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add eax, dword [esi + 4]
mov esi, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x4c], eax
cmp eax, esi
jle 0x45d251
mov dword [esp + 0x4c], esi
jmp 0x45d251
push str.source
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45cff3
push 0xa
pop esi
push esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
call fcn.0044c68e
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x60], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x64], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x6c], eax
jmp 0x45d251
push str.corner
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d07a
push 0xa
pop esi
push esi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
call fcn.0044c68e
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x50], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x54], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x58], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0047b1d8
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x45d251
push str.mask
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d0c9
lea eax, [esp + 0x74]
call fcn.0044c85e
cmp ax, 0x23
lea eax, [esp + 0x10]
push 0x10
push eax
lea eax, [esp + 0x7c]
jne 0x45d0b2
call fcn.0044c68e
add eax, edi
jmp 0x45d0b7
call fcn.0044c68e
push eax
call fcn.0047b1f2
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x45d251
push str.fade
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d100
push 0xa
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x7c]
call fcn.0044c68e
push eax
call fcn.0047b1f2
add esp, 0xc
mov byte [esp + 0x28], al
jmp 0x45d251
push str.hole
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d13a
push str.true
lea eax, [esp + 0x78]
call fcn.0044c68e
push eax
call fcn.0047f50e
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x20], al
jmp 0x45d251
push str.xtiled
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d174
push str.true
lea eax, [esp + 0x78]
call fcn.0044c68e
push eax
call fcn.0047f50e
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x2c], al
jmp 0x45d251
push str.ytiled
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d251
push str.true
lea eax, [esp + 0x78]
call fcn.0044c68e
push eax
call fcn.0047f50e
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x1c], al
jmp 0x45d251
cmp dword [esp + 0x14], 0
jle 0x45d228
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
push dword [esp + 0x60]
lea esi, [esp + 0x78]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x64]
lea eax, [esp + 0x1c4]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
call fcn.0045ca95
add esp, 0x58
lea eax, [esp + 0x74]
lea ecx, [esp + 0x20c]
call fcn.0044c864
push 0x4b1098
lea eax, [esp + 0x100]
call fcn.0044c93d
test al, al
je 0x45d251
inc dword [esp + 0x14]
mov ax, word [ebx]
add ebx, 2
cmp ax, 0x20
jne 0x45d267
cmp word [ebx], 0
jne 0x45ccde
inc dword [esp + 0x24]
xor esi, esi
cmp dword [esp + 0x24], 2
mov dword [esp + 0x14], esi
jl 0x45ccc2
cmp byte [ebp + 0x14], 0
je 0x45d297
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x210]
push eax
call fcn.0044b17a
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
push dword [esp + 0x60]
lea esi, [esp + 0x78]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x64]
lea eax, [esp + 0x1c4]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x80]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x90]
call fcn.0045ca95
add esp, 0x58
lea ecx, [esp + 0x74]
call fcn.0044c70c
lea ecx, [esp + 0xfc]
call fcn.0044c70c
lea ecx, [esp + 0x184]
call fcn.0044c70c
lea ecx, [esp + 0x20c]
call fcn.0044c70c
mov al, 1
jmp 0x45d339
xor al, al
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.004799e1
mov esp, ebp
pop ebp
ret