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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x445039
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4590c0]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x4590c0]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov dword [esp + 0x2c], edx
mov eax, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], ecx
test edx, edx
je 0x423ba2
test eax, eax
je 0x423ba2
push 0xffffffffffffffff
xor eax, eax
push ebx
lea ecx, [esp + 0x214]
mov dword [esp + 0x214], eax
call fcn.0042e870
xor edx, edx
lea eax, [esp + 0x188]
mov dword [esp + 0x2a8], edx
mov dword [esp + 0x184], eax
xor eax, eax
mov word [esp + 0x188], ax
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x50], edx
lea edi, [esp + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x40], edx
lea edi, [esp + 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x74], eax
mov edi, edx
xor eax, eax
mov dword [esp + 0x14], edx
mov byte [esp + 0x28], 0xff
mov byte [esp + 0x20], dl
mov byte [esp + 0x1c], dl
mov byte [esp + 0x18], dl
mov dword [esp + 0x10], edi
mov word [esp + 0x78], ax
lea eax, [esp + 0x100]
mov dword [esp + 0xfc], eax
xor eax, eax
mov word [esp + 0x100], ax
mov ecx, dword [esp + 0x38]
mov eax, edx
push 0x20
mov byte [esp + 0x2ac], 3
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], eax
pop esi
cmp eax, 1
cmove ebx, ecx
test ebx, ebx
je 0x423af4
cmp word [ebx], dx
je 0x423af4
lea ecx, [esp + 0x74]
call fcn.0042e9d4
lea ecx, [esp + 0xfc]
call fcn.0042e9d4
jmp 0x423594
cmp ax, si
ja 0x42359c
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x423586
movzx eax, word [ebx]
test ax, ax
je 0x4235ef
push 0x3d
pop edi
cmp ax, di
je 0x4235db
cmp ax, si
jbe 0x4235db
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x4235cc
movzx ecx, word [ebx]
push ecx
lea ecx, [esp + 0x78]
call fcn.0042ea15
add ebx, 2
cmp ebx, esi
jb 0x4235bc
movzx eax, word [ebx]
push 0x20
pop esi
test ax, ax
jne 0x4235a7
mov edi, dword [esp + 0x10]
jmp 0x4235ef
cmp ax, si
ja 0x4235f7
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x4235e1
mov ax, word [ebx]
push 0x3d
pop ecx
add ebx, 2
cmp ax, cx
jne 0x423ae7
jmp 0x423619
cmp ax, si
ja 0x423621
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
movzx eax, word [ebx]
test ax, ax
jne 0x42360b
mov ax, word [ebx]
push 0x27
pop ecx
add ebx, 2
cmp ax, cx
jne 0x423ae7
movzx eax, word [ebx]
test ax, ax
je 0x423673
push ecx
pop edi
cmp ax, di
je 0x42366c
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x423660
movzx ecx, word [ebx]
push ecx
lea ecx, [esp + 0x100]
call fcn.0042ea15
add ebx, 2
cmp ebx, esi
jb 0x42364d
movzx eax, word [ebx]
test ax, ax
jne 0x42363d
mov edi, dword [esp + 0x10]
push 0x27
pop ecx
mov ax, word [ebx]
add ebx, 2
cmp ax, cx
jne 0x423ae7
mov eax, dword [esp + 0xfc]
xor ecx, ecx
cmp word [eax], cx
je 0x423ad0
push 0x45140c
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
je 0x423a2f
push 0x451418
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
je 0x423a2f
push str.restype
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423767
test edi, edi
jle 0x42374d
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x50]
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 + 0x70]
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 + 0x5c]
mov ecx, dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x48]
lea esi, [esp + 0x94]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x54]
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 + 0x74]
call fcn.0042331c
mov edi, dword [esp + 0x64]
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0x100]
lea ecx, [esp + 0x18c]
call fcn.0042e94c
jmp 0x423ac9
push str.dest
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423813
push 0xa
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x104]
call fcn.00435b07
mov esi, dword [esp + 0x30]
add esp, 0xc
add eax, dword [esi]
push 0xa
mov dword [esp + 0x64], eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add eax, dword [esi + 4]
add esp, 0xc
mov dword [esp + 0x64], eax
push 0xa
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add eax, dword [esi]
add esp, 0xc
cmp eax, dword [esi + 8]
push 0xa
cmovg eax, dword [esi + 8]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp eax, ecx
jle 0x423ace
mov dword [esp + 0x6c], ecx
jmp 0x423ace
push str.source
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423896
push 0xa
pop esi
push esi
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x104]
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x50], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x54], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x58], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x423ace
push str.corner
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423919
push 0xa
pop esi
push esi
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x104]
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x40], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x44], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x48], eax
push esi
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x78]
add eax, 2
push eax
call fcn.00435b07
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x423ace
push str.mask
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423956
mov eax, dword [esp + 0xfc]
push 0x10
cmp word [eax], 0x23
lea ecx, [esp + 0x74]
push ecx
jne 0x423944
add eax, 2
push eax
call fcn.00435b1f
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x423ace
push str.fade
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423989
push 0xa
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x104]
call fcn.00435b1f
add esp, 0xc
mov byte [esp + 0x28], al
jmp 0x423ace
push str.hole
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x4239bf
push str.true
push dword [esp + 0x100]
call fcn.004356f9
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x20], al
jmp 0x423ace
push str.xtiled
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x4239f5
push str.true
push dword [esp + 0x100]
call fcn.004356f9
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x1c], al
jmp 0x423ace
push str.ytiled
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423ace
push str.true
push dword [esp + 0x100]
call fcn.004356f9
neg eax
sbb al, al
pop ecx
inc al
pop ecx
mov byte [esp + 0x18], al
jmp 0x423ace
test edi, edi
jle 0x423aa0
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x50]
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 + 0x70]
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 + 0x5c]
mov ecx, dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x48]
lea esi, [esp + 0x94]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x54]
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 + 0x74]
call fcn.0042331c
mov edi, dword [esp + 0x64]
add esp, 0x54
push 0xffffffffffffffff
push dword [esp + 0x100]
lea ecx, [esp + 0x214]
call fcn.0042e94c
push 0x45140c
push dword [esp + 0x78]
call fcn.004356f9
pop ecx
pop ecx
test eax, eax
jne 0x423ace
inc edi
mov dword [esp + 0x10], edi
xor ecx, ecx
mov ax, word [ebx]
push 0x20
pop esi
add ebx, 2
cmp ax, si
jne 0x423ae7
cmp word [ebx], cx
jne 0x42356f
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0x20
xor edx, edx
pop esi
inc eax
mov edi, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edi
cmp eax, 2
jl 0x423558
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0x50]
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 + 0x70]
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 + 0x5c]
mov ecx, dword [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov edi, esp
push dword [esp + 0x48]
lea esi, [esp + 0x94]
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x58]
lea eax, [esp + 0x1c0]
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x54]
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 + 0x74]
call fcn.0042331c
add esp, 0x54
lea ecx, [esp + 0xfc]
call fcn.0042e8b9
lea ecx, [esp + 0x74]
call fcn.0042e8b9
lea ecx, [esp + 0x184]
call fcn.0042e8b9
lea ecx, [esp + 0x20c]
call fcn.0042e8b9
mov al, 1
jmp 0x423ba4
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.00432b05
mov esp, ebp
pop ebp
ret