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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471115
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4926cc]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x4926cc]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov dword [esp + 0x30], edx
mov eax, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ecx
test edx, edx
je 0x42c74c
test eax, eax
je 0x42c74c
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x214]
call fcn.004298f4
xor eax, eax
lea ecx, [esp + 0x184]
mov dword [esp + 0x2a8], eax
call fcn.004298d2
lea edi, [esp + 0x64]
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 ecx, ecx
xor eax, eax
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x54], ecx
xor eax, eax
lea edi, [esp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
mov dword [esp + 0x18], ecx
mov byte [esp + 0x20], cl
mov byte [esp + 0x28], cl
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0xfc]
mov byte [esp + 0x24], 0xff
mov dword [esp + 0x14], edi
call fcn.004298d2
lea ecx, [esp + 0x74]
call fcn.004298d2
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov eax, edx
push 0x20
mov byte [esp + 0x2ac], 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
pop esi
cmp eax, 1
cmove ebx, ecx
test ebx, ebx
je 0x42c192
cmp word [ebx], dx
je 0x42c192
lea ecx, [esp + 0xfc]
call fcn.00429a6d
lea ecx, [esp + 0x74]
call fcn.00429a6d
jmp 0x42c10d
cmp ax, si
ja 0x42c115
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x42c0ff
movzx eax, word [ebx]
test ax, ax
je 0x42c16b
push 0x3d
pop edi
cmp ax, di
je 0x42c157
cmp ax, si
jbe 0x42c157
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x42c148
movzx ecx, word [ebx]
push ecx
lea ecx, [esp + 0x100]
call fcn.00429b0d
add ebx, 2
cmp ebx, esi
jb 0x42c135
movzx eax, word [ebx]
push 0x20
pop esi
test ax, ax
jne 0x42c120
mov edi, dword [esp + 0x14]
jmp 0x42c16b
cmp ax, si
ja 0x42c173
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x42c15d
mov ax, word [ebx]
push 0x3d
pop ecx
add ebx, 2
cmp ax, cx
je 0x42c251
xor edx, edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0x20
pop esi
inc eax
mov edi, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], edi
cmp eax, 2
jl 0x42c0d1
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
lea esi, [esp + 0x98]
push dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
call fcn.0042be9e
add esp, 0x54
lea ecx, [esp + 0x74]
call fcn.0042993d
lea ecx, [esp + 0xfc]
call fcn.0042993d
lea ecx, [esp + 0x184]
call fcn.0042993d
lea ecx, [esp + 0x20c]
call fcn.0042993d
mov al, 1
jmp 0x42c74e
cmp ax, si
ja 0x42c259
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x42c243
mov ax, word [ebx]
push 0x27
pop ecx
add ebx, 2
cmp ax, cx
jne 0x42c185
movzx eax, word [ebx]
test ax, ax
je 0x42c2a8
push ecx
pop edi
cmp ax, di
je 0x42c2a1
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x42c295
movzx ecx, word [ebx]
push ecx
lea ecx, [esp + 0x78]
call fcn.00429b0d
add ebx, 2
cmp ebx, esi
jb 0x42c285
movzx eax, word [ebx]
test ax, ax
jne 0x42c275
mov edi, dword [esp + 0x14]
push 0x27
pop ecx
mov ax, word [ebx]
add ebx, 2
cmp ax, cx
jne 0x42c185
lea ecx, [esp + 0x74]
call fcn.00429a62
test al, al
jne 0x42c72a
push 0x4834c4
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
jne 0x42c68e
push 0x4834d0
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
jne 0x42c68e
push str.restype
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c39a
test edi, edi
jle 0x42c384
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
lea esi, [esp + 0x98]
push dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
call fcn.0042be9e
mov edi, dword [esp + 0x68]
add esp, 0x54
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x188]
call fcn.00429a92
jmp 0x42c725
push str.dest
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c44a
push 0xa
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.00424567
push eax
call fcn.0046b879
mov esi, dword [esp + 0x38]
add esp, 0xc
add eax, dword [esi]
push 0xa
mov dword [esp + 0x68], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x68], eax
push 0xa
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add eax, dword [esi]
add esp, 0xc
cmp eax, dword [esi + 8]
push 0xa
cmovg eax, dword [esi + 8]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x70], eax
cmp eax, ecx
jle 0x42c72a
mov dword [esp + 0x70], ecx
jmp 0x42c72a
push str.source
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c4d1
push 0xa
pop esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.00424567
push eax
call fcn.0046b879
add esp, 0xc
mov dword [esp + 0x44], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add esp, 0xc
mov dword [esp + 0x48], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add esp, 0xc
mov dword [esp + 0x4c], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x42c72a
push str.corner
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c558
push 0xa
pop esi
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.00424567
push eax
call fcn.0046b879
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.0046b879
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.0046b879
add esp, 0xc
mov dword [esp + 0x5c], eax
push esi
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
add eax, 2
push eax
call fcn.0046b879
add esp, 0xc
mov dword [esp + 0x60], eax
jmp 0x42c72a
push str.mask
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c5a5
push ecx
lea ecx, [esp + 0x78]
call fcn.00429a8a
cmp ax, 0x23
push 0x10
lea eax, [esp + 0x14]
push eax
jne 0x42c58e
call fcn.00424567
add eax, 2
jmp 0x42c593
call fcn.00424567
push eax
call fcn.0046b891
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x42c72a
push str.fade
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c5dc
push 0xa
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
call fcn.00424567
push eax
call fcn.0046b891
add esp, 0xc
mov byte [esp + 0x24], al
jmp 0x42c72a
push str.hole
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c616
push str.true
lea ecx, [esp + 0x78]
call fcn.00424567
push eax
call fcn.0046a4ce
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x20], al
jmp 0x42c72a
push str.xtiled
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c650
push str.true
lea ecx, [esp + 0x78]
call fcn.00424567
push eax
call fcn.0046a4ce
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x28], al
jmp 0x42c72a
push str.ytiled
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c72a
push str.true
lea ecx, [esp + 0x78]
call fcn.00424567
push eax
call fcn.0046a4ce
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x1c], al
jmp 0x42c72a
test edi, edi
jle 0x42c6ff
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x4c]
lea esi, [esp + 0x98]
push dword [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [esp + 0x254]
push eax
push dword [esp + 0x84]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x7c]
call fcn.0042be9e
mov edi, dword [esp + 0x68]
add esp, 0x54
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x210]
call fcn.00429a92
push 0x4834c4
lea ecx, [esp + 0x100]
call fcn.00429b31
test al, al
je 0x42c72a
inc edi
mov dword [esp + 0x14], edi
mov ax, word [ebx]
push 0x20
pop esi
add ebx, 2
xor edx, edx
cmp ax, si
jne 0x42c187
cmp word [ebx], dx
jne 0x42c0e8
jmp 0x42c187
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.00452ca6
mov esp, ebp
pop ebp
ret