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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3c19
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 0x4289e9
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 0x428a0b
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
test eax, eax
je 0x428a0b
cmp dword [eax + 0x38], 0x10
jb 0x428a06
mov eax, dword [eax + 0x24]
jmp 0x428a0d
add eax, 0x24
jmp 0x428a0d
xor eax, eax
lea ecx, [esp + 0x74]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ecx
call fcn.00414fc0
lea edx, [esp + 0x1c]
mov dword [esp + 0x180], 0
mov ecx, dword [esp + 0x70]
push edx
call fcn.004099e0
add edi, 0x70
mov byte [esp + 0x180], 1
call fcn.004013f0
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 0x428a70
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 0x428a90
push eax
call fcn.004b89a6
add esp, 4
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x428db9
xor ecx, ecx
jmp 0x428aa5
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax - 0xc]
jl 0x428db6
cmp ecx, edx
jg 0x428db6
lea eax, [eax + ecx*2]
push 0x4f3184
push eax
call fcn.004b9c1e
add esp, 8
test eax, eax
je 0x428db6
sub eax, dword [edi]
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x428db6
mov ecx, dword [edi]
mov edx, dword [ecx - 0xc]
lea eax, [ebx + 4]
test eax, eax
jl 0x428db6
cmp eax, edx
jge 0x428db6
lea ecx, [ecx + eax*2]
push 0x25
push ecx
call fcn.004b953d
add esp, 8
test eax, eax
je 0x428db6
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x428db6
sub eax, ebx
sub eax, 1
lea ecx, [ebx + 1]
push edi
lea edx, [esp + 0x20]
call fcn.00409930
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 0x428b60
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x40]
call fcn.004024d0
mov edx, esi
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x188], 3
call fcn.0047cfa0
add esp, 8
push eax
mov byte [esp + 0x184], 4
call fcn.004755b0
push eax
call fcn.00475a10
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.004099e0
cmp dword [esp + 0x6c], 0x10
jb 0x428bc6
mov edx, dword [esp + 0x58]
push edx
call fcn.004b84d9
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 0x428bf5
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b84d9
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.00409910
mov esi, eax
mov eax, ebx
lea ecx, [esp + 0x30]
mov edx, edi
mov byte [esp + 0x180], 8
call fcn.004098a0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x38]
push edx
mov ebx, eax
mov byte [esp + 0x188], 9
call fcn.00416a70
lea ecx, [esp + 0x30]
push esi
push ecx
mov ebx, eax
mov byte [esp + 0x190], 0xa
call fcn.00416a70
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 0x428cba
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x428caf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x428caf
call fcn.004012d0
mov dword [esp + 0x2c], eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x428ca4
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 0x428cba
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00401450
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 0x428ce2
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 0x428d0a
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 0x428d32
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 0x428d5a
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 0x428d82
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 0x428aa1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x428aa1
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
push esi
mov dword [ecx + 0x24], ebx
call fcn.0041c0c0
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
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.004716f0
cmp eax, ebx
je 0x428e54
cmp dword [eax + 0x48], 0x10
jb 0x428e4f
mov esi, dword [eax + 0x34]
cmp esi, ebx
je 0x428e56
push esi
call fcn.004baca8
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 0x428e20
sub eax, edx
mov edi, eax
push esi
lea eax, [esp + 0x14]
call fcn.00414ed0
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x428e62
test ebx, ebx
mov eax, dword [esp + 0x18]
je 0x428e5e
and dword [eax + 0x7c], 0xfffffff7
jmp 0x428e62
lea esi, [eax + 0x34]
jmp 0x428e04
xor esi, esi
mov dword [esp + 0x14], ebx
xor eax, eax
jmp 0x428e2b
or dword [eax + 0x7c], 8
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xa0]
cmp eax, 2
je 0x428fe6
cmp eax, 4
je 0x428fe6
mov edi, dword [ebp + 8]
lea ebx, [esp + 0x14]
mov ecx, str.width
mov eax, edi
call fcn.00470560
mov edx, eax
lea ebx, [esp + 0x10]
call fcn.004152a0
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x428ed1
lea eax, [esp + 0x10]
push eax
mov ecx, str.full
call fcn.0041d140
add esp, 4
test al, al
je 0x428eed
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 0x428f02
jle 0x428eed
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 0x428f02
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.00470560
mov edx, eax
lea ebx, [esp + 0x10]
call fcn.004152a0
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x428f4b
lea edx, [esp + 0x10]
push edx
mov ecx, str.full
call fcn.0041d140
add esp, 4
test al, al
je 0x428f61
mov eax, dword [esi + 0x24]
and eax, 0xffffffcf
or eax, 0x40
mov dword [esi + 0x24], eax
jmp 0x428f6d
jle 0x428f61
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 0x428f70
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 0x428fa9
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.00415b70
mov eax, dword [esi + 0x24]
test al, 2
je 0x428f9e
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], ecx
test al, 0x20
je 0x428fa9
mov edx, dword [esp + 0x24]
mov dword [esi + 0x20], edx
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x14]
mov ecx, str.float
mov eax, edi
call fcn.00470560
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 0x428ff4
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 0x42900d
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