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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3a59
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x428a29
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x428a4b
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
test eax, eax
je 0x428a4b
cmp dword [eax + 0x38], 0x10
jb 0x428a46
mov eax, dword [eax + 0x24]
jmp 0x428a4d
add eax, 0x24
jmp 0x428a4d
xor eax, eax
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ecx
call fcn.004150a0
lea edx, [esp + 0x1c]
mov dword [esp + 0x180], 0
mov ecx, dword [esp + 0x70]
push edx
call fcn.00409c00
add edi, 0x70
mov byte [esp + 0x180], 1
call fcn.00401410
mov byte [esp + 0x180], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ab0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x74]
cmp eax, ecx
je 0x428ad0
push eax
call fcn.004b88b6
add esp, 4
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x428df9
xor ecx, ecx
jmp 0x428ae5
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
jl 0x428df6
cmp ecx, edx
jg 0x428df6
lea eax, [eax + ecx*2]
push 0x4f3174
push eax
call fcn.004b9ad9
add esp, 8
test eax, eax
je 0x428df6
sub eax, dword [edi]
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428df6
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
lea eax, [ebx + 4]
test eax, eax
jl 0x428df6
cmp eax, edx
jge 0x428df6
lea ecx, [ecx + eax*2]
push 0x25
push ecx
call fcn.004b944d
add esp, 8
test eax, eax
je 0x428df6
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x428df6
sub eax, ebx
sub eax, 1
lea ecx, [ebx + 1]
push edi
lea edx, [esp + 0x20]
call fcn.00409b50
mov dword [esp + 0x180], 2
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov eax, esi
mov dword [esp + 0x50], 7
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428ba0
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x40]
call fcn.00402530
mov edx, esi
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x188], 3
call fcn.0047cee0
add esp, 8
push eax
mov byte [esp + 0x184], 4
call fcn.004755c0
push eax
call fcn.00475a20
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00409c00
cmp dword [esp + 0x6c], 0x10
jb 0x428c06
mov edx, dword [esp + 0x58]
push edx
call fcn.004b83e9
add esp, 4
xor esi, esi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
mov byte [esp + 0x180], 7
cmp dword [esp + 0x50], 8
jb 0x428c35
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b83e9
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
add ecx, 1
lea esi, [esp + 0x20]
mov edx, edi
mov dword [esp + 0x50], 7
call fcn.00409b30
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x30]
mov edx, edi
mov byte [esp + 0x180], 8
call fcn.00409ac0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
mov ebx, eax
mov byte [esp + 0x188], 9
call fcn.00416b50
lea ecx, [esp + 0x30]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0x190], 0xa
call fcn.00416b50
add esp, 0x10
mov byte [esp + 0x180], 0xb
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x428cfa
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x428cef
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x428cef
call fcn.004012e0
mov dword [esp + 0x2c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x428ce4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x2c]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x428cfa
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00401470
mov byte [esp + 0x180], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428d22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 8
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428d9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x180], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428dc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ae1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428ae1
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push esi
mov dword [ecx + 0x24], ebx
call fcn.0041c170
mov edx, dword [0x5143cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143cc
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea edi, [esi + 0x44]
mov esi, str.show
mov dword [esp + 0x180], 0xc
call fcn.00471700
cmp eax, ebx
je 0x428e94
cmp dword [eax + 0x48], 0x10
jb 0x428e8f
mov esi, dword [eax + 0x34]
cmp esi, ebx
je 0x428e96
push esi
call fcn.004babe6
mov ebx, eax
mov eax, esi
add esp, 4
mov dword [esp + 0x14], ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428e60
sub eax, edx
mov edi, eax
push esi
lea eax, [esp + 0x14]
call fcn.00414fb0
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x428ea2
test ebx, ebx
mov eax, dword [esp + 0x18]
je 0x428e9e
and dword [eax + 0x7c], 0xfffffff7
jmp 0x428ea2
lea esi, [eax + 0x34]
jmp 0x428e44
xor esi, esi
mov dword [esp + 0x14], ebx
xor eax, eax
jmp 0x428e6b
or dword [eax + 0x7c], 8
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xa0]
cmp eax, 2
je 0x429026
cmp eax, 4
je 0x429026
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x14]
mov ecx, str.width
mov eax, edi
call fcn.004705c0
mov edx, eax
lea ebx, [esp + 0x10]
call fcn.00415380
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x428f11
lea eax, [esp + 0x10]
push eax
mov ecx, str.full
call fcn.0041d1f0
add esp, 4
test al, al
je 0x428f2d
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
and ecx, 0xfffffffc
or ecx, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ecx
jmp 0x428f42
jle 0x428f2d
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x24]
and edx, 0xfffffff9
or edx, 1
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x24], edx
mov esi, ecx
jmp 0x428f42
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x24]
and ecx, 0xfffffffa
or ecx, 2
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x24], ecx
mov esi, eax
lea ebx, [esp + 0x14]
mov ecx, str.height
mov eax, edi
call fcn.004705c0
mov edx, eax
lea ebx, [esp + 0x10]
call fcn.00415380
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x428f8b
lea edx, [esp + 0x10]
push edx
mov ecx, str.full
call fcn.0041d1f0
add esp, 4
test al, al
je 0x428fa1
mov eax, dword [esi + 0x24]
and eax, 0xffffffcf
or eax, 0x40
mov dword [esi + 0x24], eax
jmp 0x428fad
jle 0x428fa1
mov ecx, dword [esi + 0x24]
and ecx, 0xffffff9f
or ecx, 0x10
mov dword [esi + 0x20], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x24], ecx
jmp 0x428fb0
mov edx, dword [esi + 0x24]
and edx, 0xffffffaf
or edx, 0x20
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], ebx
test byte [esi + 0x24], 0x22
je 0x428fe9
lea eax, [esp + 0x20]
push eax
push ebx
push 0x83
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00415bd0
mov eax, dword [esi + 0x24]
test al, 2
je 0x428fde
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], ecx
test al, 0x20
je 0x428fe9
mov edx, dword [esp + 0x24]
mov dword [esi + 0x20], edx
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x14]
mov ecx, 0x4f3188
mov eax, edi
call fcn.004705c0
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x100
or dword [esi + 0x24], eax
mov dword [esp + 0x180], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x429034
mov dword [esp + 0x180], 0xffffffff
lea eax, [ecx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42904d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4