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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4664fc
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x47a060]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
push edi
mov eax, dword [0x47a060]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x68], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x78], edx
je 0x429ad6
test ecx, ecx
je 0x429ad6
lea eax, [esp + 0x190]
mov dword [esp + 0x18c], eax
push edi
or eax, 0xffffffff
lea esi, [esp + 0x190]
mov word [esp + 0x194], 0
call fcn.0041aea0
xor edx, edx
mov dword [esp + 0x2b0], edx
lea ecx, [esp + 0x218]
mov dword [esp + 0x214], ecx
mov word [esp + 0x218], dx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x108]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x38], 0xff
mov byte [esp + 0x2c], al
mov byte [esp + 0x3c], al
mov byte [esp + 0x34], al
mov dword [esp + 0x14], edx
mov dword [esp + 0x104], ecx
mov word [esp + 0x108], dx
lea eax, [esp + 0x80]
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], dx
xor eax, eax
mov byte [esp + 0x2b0], 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x74], eax
jmp 0x429160
cmp eax, 1
mov esi, dword [sym.imp.USER32.dll_CharNextW]
jne 0x42916f
mov edi, dword [esp + 0x78]
cmp edi, edx
je 0x4299a3
cmp word [edi], dx
je 0x4299a3
jmp 0x42918f
mov esi, dword [sym.imp.USER32.dll_CharNextW]
mov ecx, dword [esp + 0x104]
lea edx, [esp + 0x108]
cmp ecx, edx
je 0x4291a3
push ecx
call fcn.0044f1f9
add esp, 4
lea eax, [esp + 0x108]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x80]
cmp eax, ecx
mov word [esp + 0x108], 0
je 0x4291d3
push eax
call fcn.0044f1f9
add esp, 4
lea edx, [esp + 0x80]
mov dword [esp + 0x7c], edx
mov word [esp + 0x80], 0
movzx eax, word [edi]
test ax, ax
jbe 0x429203
cmp ax, 0x20
ja 0x429203
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
ja 0x4291f0
movzx eax, word [edi]
test ax, ax
je 0x429253
cmp ax, 0x3d
je 0x429253
cmp ax, 0x20
jbe 0x429253
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x42924b
mov ax, word [edi]
lea ecx, [esp + 0x6c]
push ecx
lea ebx, [esp + 0x108]
mov word [esp + 0x70], ax
mov word [esp + 0x72], 0
call fcn.0041ad60
add edi, 2
cmp edi, esi
jb 0x429224
movzx eax, word [edi]
test ax, ax
jne 0x42920b
movzx eax, word [edi]
test ax, ax
jbe 0x429274
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x429274
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
ja 0x429261
mov dx, word [edi]
add edi, 2
cmp dx, 0x3d
jne 0x42999a
movzx eax, word [edi]
test ax, ax
jbe 0x4292a5
mov esi, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
ja 0x4292a5
push edi
call esi
mov edi, eax
movzx eax, word [edi]
test ax, ax
ja 0x429292
mov ax, word [edi]
add edi, 2
cmp ax, 0x27
jne 0x42999a
movzx eax, word [edi]
test ax, ax
je 0x4292ff
cmp ax, 0x27
je 0x4292ff
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp edi, esi
jae 0x4292f7
mov cx, word [edi]
lea edx, [esp + 0x70]
push edx
lea ebx, [esp + 0x80]
mov word [esp + 0x74], cx
mov word [esp + 0x76], 0
call fcn.0041ad60
add edi, 2
cmp edi, esi
jb 0x4292d0
movzx eax, word [edi]
test ax, ax
jne 0x4292bd
mov ax, word [edi]
add edi, 2
cmp ax, 0x27
jne 0x42999a
mov ecx, dword [esp + 0x7c]
movzx esi, word [ecx]
test si, si
je 0x429984
mov ebx, dword [esp + 0x104]
mov ecx, 0x46e864
mov eax, ebx
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429356
test dx, dx
je 0x429352
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429356
add eax, 4
add ecx, 4
test dx, dx
jne 0x429330
xor eax, eax
jmp 0x42935b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x429875
mov ecx, 0x46e870
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429396
test dx, dx
je 0x429392
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429396
add eax, 4
add ecx, 4
test dx, dx
jne 0x429370
xor eax, eax
jmp 0x42939b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x429875
mov ecx, str.restype
mov eax, ebx
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4293d6
test dx, dx
je 0x4293d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4293d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4293b0
xor eax, eax
jmp 0x4293db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4294b1
cmp dword [esp + 0x14], eax
jle 0x429498
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov ebx, dword [esp + 0x98]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x254]
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0xac]
push eax
call fcn.00428f20
add esp, 0x50
mov ecx, dword [esp + 0x7c]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x218]
call fcn.0041aea0
jmp 0x42997f
mov ecx, str.dest
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4294de
test dx, dx
je 0x4294da
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4294de
add eax, 4
add ecx, 4
test dx, dx
jne 0x4294b8
xor eax, eax
jmp 0x4294e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429585
mov eax, dword [esp + 0x7c]
push 0xa
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00450478
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
add eax, dword [esi]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x28], eax
call fcn.00450478
add eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x20], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.00450478
mov ecx, eax
add ecx, dword [esi]
mov eax, dword [esi + 8]
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x24], ecx
jle 0x429551
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.00450478
mov ecx, eax
add ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp ecx, eax
mov dword [esp + 0x28], ecx
jle 0x429984
mov dword [esp + 0x28], eax
jmp 0x429984
mov ecx, str.source
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4295b6
test dx, dx
je 0x4295b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4295b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x429590
xor eax, eax
jmp 0x4295bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42962d
mov edx, dword [esp + 0x7c]
push 0xa
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.00450478
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x40], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.00450478
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.00450478
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x54], eax
call fcn.00450478
add esp, 0xc
mov dword [esp + 0x4c], eax
jmp 0x429984
mov ecx, str.corner
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x4296b0
mov ecx, dword [esp + 0x7c]
push 0xa
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00450478
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
push 0xa
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.00450478
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x14]
push ecx
add edx, 2
push edx
mov dword [esp + 0x60], eax
call fcn.00450478
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x58], eax
push 0xa
lea eax, [esp + 0x14]
push eax
add ecx, 2
push ecx
call fcn.00450478
add esp, 0xc
mov dword [esp + 0x5c], eax
jmp 0x429984
mov ecx, str.mask
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x42970c
cmp si, 0x23
push 0x10
jne 0x4296ee
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x14]
push edx
add eax, 2
push eax
call fcn.004504a1
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x429984
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004504a1
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x429984
mov ecx, str.fade
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x42973e
mov ecx, dword [esp + 0x7c]
push 0xa
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004504a1
add esp, 0xc
mov byte [esp + 0x38], al
jmp 0x429984
mov ecx, str.hole
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x4297a5
mov eax, dword [esp + 0x7c]
mov ecx, str.true
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429792
test dx, dx
je 0x429782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429792
add eax, 4
add ecx, 4
test dx, dx
jne 0x429760
xor eax, eax
test eax, eax
sete dl
mov byte [esp + 0x2c], dl
jmp 0x429984
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete dl
mov byte [esp + 0x2c], dl
jmp 0x429984
mov ecx, str.xtiled
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x429808
mov eax, dword [esp + 0x7c]
mov ecx, str.true
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4297f5
test dx, dx
je 0x4297e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4297f5
add eax, 4
add ecx, 4
test dx, dx
jne 0x4297c3
xor eax, eax
test eax, eax
sete al
mov byte [esp + 0x3c], al
jmp 0x429984
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
mov byte [esp + 0x3c], al
jmp 0x429984
mov ecx, str.ytiled
lea eax, [esp + 0x104]
call fcn.0041af90
test al, al
je 0x429984
mov eax, dword [esp + 0x7c]
mov ecx, str.true
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429862
test dx, dx
je 0x429852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429862
add eax, 4
add ecx, 4
test dx, dx
jne 0x429830
xor eax, eax
test eax, eax
sete cl
mov byte [esp + 0x34], cl
jmp 0x429984
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete cl
mov byte [esp + 0x34], cl
jmp 0x429984
cmp dword [esp + 0x14], 0
jle 0x42992b
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov ebx, dword [esp + 0x98]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x254]
push eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0xac]
push eax
call fcn.00428f20
add esp, 0x50
mov ecx, dword [esp + 0x7c]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x190]
call fcn.0041aea0
mov eax, dword [esp + 0x104]
mov ecx, 0x46e864
jmp 0x429950
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x429976
test dx, dx
je 0x429972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x429976
add eax, 4
add ecx, 4
test dx, dx
jne 0x429950
xor eax, eax
jmp 0x42997b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x429984
add dword [esp + 0x14], 1
mov dx, word [edi]
add edi, 2
cmp dx, 0x20
jne 0x42999a
cmp word [edi], 0
jne 0x429182
mov ecx, dword [esp + 0x104]
xor edx, edx
mov eax, dword [esp + 0x74]
add eax, 1
cmp eax, 2
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edx
jl 0x429160
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x98]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x254]
push ecx
mov ecx, dword [esp + 0xa8]
lea edx, [esp + 0x1d0]
push edx
mov edx, dword [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esp + 0x68]
call fcn.00428f20
mov eax, dword [esp + 0xcc]
lea edx, [esp + 0xd0]
add esp, 0x50
cmp eax, edx
je 0x429a81
push eax
call fcn.0044f1f9
add esp, 4
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x108]
cmp eax, ecx
je 0x429a9c
push eax
call fcn.0044f1f9
add esp, 4
mov eax, dword [esp + 0x214]
lea edx, [esp + 0x218]
cmp eax, edx
je 0x429ab7
push eax
call fcn.0044f1f9
add esp, 4
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0x190]
cmp eax, ecx
je 0x429ad2
push eax
call fcn.0044f1f9
add esp, 4
mov al, 1
jmp 0x429ad8
xor al, al
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0044eeec
mov esp, ebp
pop ebp
ret