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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x4b0695
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x4885c0
cmp byte [edi + 0xfc], 0
mov byte [edi + 0x144], 0
jne 0x4883c6
lea ebx, [ebx]
cmp byte [edi + 0x144], 0
jne 0x4883c6
cmp byte [0x4a85cb], 0
jne 0x4882ca
cmp byte [0x4b9758], 0
jne 0x4b06b3
mov esi, dword [0x487568]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call esi
test eax, eax
jne 0x488560
cmp byte [0x4a85ce], 1
je 0x4b06db
cmp dword [edi + 0xf8], 1
je 0x4b1008
cmp dword [0x4b9714], 0
jne 0x4b06f8
cmp byte [0x4a85d4], 1
je 0x4b07a8
cmp dword [edi + 0x460], 0
jne 0x4b07c2
cmp byte [0x4b972c], 0
jne 0x4b0913
push edi
call fcn.004881f0
cmp al, 1
je 0x4883b9
cmp byte [0x4b98a0], 0
jne 0x4b0b39
mov eax, dword [edi + 0xf8]
cmp eax, 7
je 0x4b0bb4
cmp eax, 8
je 0x4b0c1f
cmp eax, 9
je 0x4b0c1f
cmp eax, 2
je 0x48850f
cmp eax, 3
je 0x48850f
cmp eax, 4
je 0x48850f
cmp eax, 5
je 0x48850f
cmp eax, 6
je 0x48850f
mov ecx, dword [ebp + 8]
mov dword [edi + 0xf4], ecx
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
cmp eax, dword [0x4ba1e8]
jg 0x4b0ee5
test eax, eax
jle 0x4b0ee5
shl eax, 4
add eax, dword [0x4ba21c]
je 0x4b0ee5
mov esi, eax
mov edx, dword [esi + 4]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, dword [edx]
movsx eax, word [edx + 8]
cmp eax, ebx
jne 0x4883ee
lea edx, [ebp + 8]
push edx
push esi
push edi
call fcn.00489fa0
cmp byte [edi + 0xfc], 0
je 0x488270
mov eax, dword [edi + 0xec]
mov byte [edi + 0x144], 0
cmp eax, 1
je 0x4885eb
dec eax
mov dword [edi + 0xec], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x34
jne 0x488490
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x4c]
push eax
push esi
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebx
call fcn.004886e0
test eax, eax
jne 0x488435
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
cmp word [eax + 8], 0x7f
jne 0x4b0f56
mov esi, dword [esp + 0x54]
cmp esi, ebx
je 0x48845a
mov eax, dword [esi + 0xc]
dec dword [eax]
mov ecx, dword [esi + 0xc]
cmp dword [ecx], ebx
je 0x4b0f71
push esi
call fcn.0048fc76
add esp, 4
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x50]
cmp eax, 8
je 0x4b0f8d
cmp eax, 0xa
je 0x4b0fae
cmp eax, 5
je 0x4b0fc5
cmp eax, 0xb
je 0x4b0fd3
cmp eax, 0xc
jne 0x4883b9
jmp 0x4b0ff1
dec eax
cmp eax, 0x7e
ja 0x4b0f41
movzx eax, byte [eax + 0x409a54]
jmp dword [eax*4 + 0x409a40]
push 0xa
call dword [fcn.00487168]
cmp dword [edi + 0x2f0], 0
je 0x488545
mov esi, dword [edi + 0x2f8]
call fcn.0048b5f0
xor ecx, ecx
cmp edx, ecx
jl 0x488545
mov ebx, ecx
jg 0x4885cc
cmp eax, dword [edi + 0x2f0]
jae 0x4885cc
mov eax, dword [edi + 0xf8]
cmp eax, 3
jl 0x4883b9
jmp 0x4b0daf
cmp dword [esp + 0x6c], 0x12
je 0x4b06c5
lea ecx, [esp + 0x68]
push ecx
mov ecx, 0x4b9720
call fcn.0048c1a0
test eax, eax
jne 0x4885a7
lea edx, [esp + 0x68]
push edx
mov ebx, 0x4b9720
call fcn.0048c1c0
test eax, eax
jne 0x4885a7
lea eax, [esp + 0x68]
push eax
call dword [0x487564]
lea ecx, [esp + 0x68]
push ecx
call dword [0x487560]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x78]
push edx
call esi
test eax, eax
je 0x4882b0
jmp 0x488560
mov esi, edi
call fcn.0048eff0
jmp 0x488256
cmp dword [edi + 0xf8], 2
jne 0x4b0c78
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], ebx
jmp 0x4883b9
mov esi, edi
call fcn.0048ef70
cmp byte [edi + 0xfc], 1
je 0x4883e3
mov ebx, edi
call fcn.004808c0
push 0
call dword [0x48755c]
mov ecx, dword [0x4a8600]
push ecx
call dword [0x487624]
mov esi, dword [0x487734]
push 0
push 0
push 0
lea edx, [esp + 0x140]
push edx
call esi
test eax, eax
jle 0x4883e3
jmp 0x4b1025
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x4a85ca], 0
call 0x4e49f6
mov eax, 1
jmp 0x4883e5
cmp dword [edi + 0xf8], 0
je 0x4882ca
jmp 0x488293
mov byte [edi + 0xfc], 1
mov dword [edi + 0xf8], 1
jmp 0x4882b0
mov byte [0x4a85d4], 0
mov byte [0x4a85ce], 0
mov dword [edi + 0xf8], 1
jmp 0x4882bd
mov eax, dword [0x4b9718]
mov ebx, dword [eax]
call fcn.004b4865
mov eax, dword [edi + 0x1b0]
xor esi, esi
test eax, eax
je 0x4b073b
mov ecx, dword [edi + 0x1ac]
mov edx, dword [ecx]
cmp dword [edx], 0
je 0x4b072f
mov edx, dword [edx]
cmp dword [edx], ebx
je 0x4b073b
inc esi
add ecx, 4
cmp esi, dword [edi + 0x1b0]
jb 0x4b071a
cmp esi, eax
je 0x4882d7
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xf4]
push ecx
mov ecx, dword [edi + 0x1ac]
lea edx, [esp + 0xec]
push edx
mov edx, dword [ecx + esi*4]
lea eax, [esp + 0x70]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push ecx
push edi
call 0x4dd8d8
mov edx, dword [edi + 0x1ac]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x64]
add ecx, 0x18
inc ebx
push ecx
lea esi, [edi + 0x14c]
mov dword [esp + 0x68], ebx
call fcn.0048d180
push 0
push 1
push ebx
push edi
call 0x5015a2
jmp 0x4883b9
cmp byte [0x4a85cb], 0
jne 0x4882e4
push 0xa
call dword [fcn.00487168]
jmp 0x4883b9
cmp byte [0x4ba63c], 0
jne 0x4882f1
mov ebx, dword [edi + 0x458]
mov byte [0x4ba63c], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x14], ebx
push ecx
lea edx, [esp + 0x18]
mov dword [esp], 0
push edx
call fcn.004c59ee
test al, al
je 0x4b08a4
mov eax, dword [ebx]
cmp byte [eax + 0x11], 0
jne 0x4b088c
mov esi, dword [eax + 0x14]
mov dword [esp + 0x18], eax
call fcn.0048b5f0
test edx, edx
jl 0x4b088c
jg 0x4b0835
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x4b088c
inc dword [esp + 0x44]
mov esi, dword [ebx]
call dword [fcn.004877a0]
mov dword [esi + 0x14], eax
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0xd0]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push ecx
push edi
call 0x4dd8d8
mov eax, dword [esp + 0x60]
mov edx, dword [ebx]
push 0
inc eax
push 1
push eax
push edi
mov dword [esp + 0x70], eax
mov byte [edx + 0x10], 1
call 0x5015a2
mov eax, dword [ebx]
mov byte [eax + 0x10], 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004c3878
mov ebx, dword [esp + 0x14]
jmp 0x4b07e8
mov eax, dword [edi + 0x458]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x18]
mov dword [esp], 0
push ecx
call fcn.004c59ee
test al, al
je 0x4b08fc
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp byte [eax + 0x11], 0
jne 0x4b08e9
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004c3878
jmp 0x4b08ae
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x458]
push eax
call 0x4d5931
jmp 0x4b08a4
cmp dword [esp + 0x44], 0
mov byte [0x4ba63c], 0
jg 0x4883b9
jmp 0x4882f1
cmp byte [edi + 0x464], 1
je 0x4882fe
cmp byte [0x4b9758], 1
je 0x4882fe
lea ecx, [esp + 0x68]
push ecx
call 0x4cf42b
lea edx, [esp + 0x68]
push edx
push 0x4b9720
call 0x4d516b
test al, al
je 0x4b0b2b
lea eax, [esp + 0x6c]
push eax
call fcn.004b74b4
test al, al
jne 0x4b0937
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0xe0]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x98]
push ecx
push edx
push edi
call 0x4dd8d8
test al, al
je 0x4b0937
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call fcn.00487f70
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], edi
mov edi, 0x498e68
lea esi, [esp + 0xf4]
mov dword [esp + 0x30], eax
call fcn.00480980
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.004806e0
mov ecx, esi
call fcn.00480fb0
lea esi, [esp + 0x30]
call fcn.00487f70
mov ecx, dword [esp + 0x7c]
mov edi, 0x498e80
lea esi, [esp + 0x114]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], ecx
call fcn.00480980
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.004806e0
mov ecx, esi
call fcn.00480fb0
lea esi, [esp + 0x30]
call fcn.00487f70
mov edx, dword [esp + 0x80]
mov edi, 0x498ea0
lea esi, [esp + 0x124]
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], edx
call fcn.00480980
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0x30]
call fcn.004806e0
mov ecx, esi
call fcn.00480fb0
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc eax
push eax
push esi
mov byte [esi + 0x464], 1
call 0x5015a2
mov byte [esi + 0x464], bl
lea esi, [esp + 0x30]
jmp 0x4b0b14
xor ebx, ebx
mov edi, 1
lea esi, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebx
call fcn.00487f70
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa8], edi
mov edi, 0x498ec0
lea esi, [esp + 0x104]
mov dword [esp + 0xa0], eax
call fcn.00480980
lea eax, [ebx + 2]
lea ecx, [ebx + 1]
lea edx, [esp + 0xa0]
call fcn.004806e0
mov ecx, esi
call fcn.00480fb0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
push ebx
push 1
inc ecx
push ecx
push esi
mov byte [esi + 0x465], 1
call 0x5015a2
mov byte [esi + 0x465], bl
lea esi, [esp + 0xa0]
call fcn.00487f70
lea ecx, [esp + 0x6c]
call fcn.00480fb0
mov edi, dword [esp + 0x24]
jmp 0x4883b9
lea ecx, [esp + 0x6c]
call fcn.00480fb0
jmp 0x4882fe
cmp byte [edi + 0x465], 1
je 0x488319
lea ecx, [esp + 0x68]
push ecx
call 0x4cf42b
lea edx, [esp + 0x68]
push edx
push 0x4b9800
call 0x4d763d
test al, al
je 0x4b0ba6
lea eax, [esp + 0x6c]
push eax
call fcn.004b74b4
test al, al
jne 0x4b0b50
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xdc]
push edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
push edi
call 0x4dd8d8
test al, al
je 0x4b0b50
jmp 0x4b0a89
lea ecx, [esp + 0x6c]
call fcn.00480fb0
jmp 0x488319
mov edx, dword [edi + 0x450]
push 0xa
push edx
call dword [fcn.004872fc]
mov dword [esp + 0x5c], eax
cmp eax, 0x102
je 0x4883b9
mov ecx, dword [edi + 0x450]
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [0x487258]
mov edx, dword [edi + 0x450]
push edx
call dword [fcn.00487310]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], eax
add ecx, edi
lea eax, [esp + 0x18]
call fcn.0048c3f0
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], 0
jmp 0x4883b9
push 0xa
call dword [fcn.00487168]
cmp dword [edi + 0x448], 0
je 0x4b0c91
mov esi, dword [edi + 0x44c]
call fcn.0048b5f0
xor ecx, ecx
xor ebx, ebx
cmp edx, ecx
jl 0x4b0c93
jg 0x4b0c5d
cmp eax, dword [edi + 0x448]
jb 0x4b0c93
mov eax, dword [edi + 0x454]
cmp eax, ebx
je 0x4b0c78
push eax
call dword [fcn.00487310]
mov dword [edi + 0x454], ebx
mov edx, dword [edi]
mov ecx, dword [edx + 4]
add ecx, edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.0048c3f0
jmp 0x4885d9
xor ebx, ebx
mov eax, dword [edi + 0xf8]
mov dword [esp + 0x18], ebx
cmp eax, 8
jne 0x4b0d6b
mov edx, dword [edi + 0x438]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1f], 0
call fcn.004c6c58
add esp, 0xc
cmp byte [esp + 0x13], 1
jne 0x4883b9
mov eax, dword [edi + 0x454]
mov dword [esp + 0x28], 0xcccccccc
test eax, eax
je 0x4b0d2d
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [0x487258]
cmp dword [esp + 0x28], 0x103
jne 0x4b0d16
mov edx, dword [edi + 0x454]
push 0
push edx
call dword [fcn.004872fc]
test eax, eax
jne 0x4883b9
mov eax, dword [edi + 0x454]
push eax
call dword [fcn.00487310]
mov dword [edi + 0x454], 0
cmp dword [edi + 0xf8], 8
jne 0x4b0d79
mov ecx, dword [esp + 0x18]
fild dword [esp + 0x18]
test ecx, ecx
jns 0x4b0d50
fadd qword [0x49d918]
mov eax, dword [edi]
fstp qword [esp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
add ecx, edi
push ecx
call 0x4dbf55
jmp 0x4b0d8c
cmp eax, 9
je 0x4b0ccf
jmp 0x4883b9
mov eax, dword [edi]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 4]
push 0
push edx
add eax, edi
call fcn.00482d00
mov ecx, dword [edi + 0x2f4]
push ecx
mov byte [edi + 0x144], 1
mov dword [edi + 0xf8], 0
call dword [fcn.00487168]
jmp 0x4883b9
sub eax, 3
cmp eax, 3
ja 0x4883b9
jmp dword [eax*4 + 0x43245d]
mov dword [edi + 0xf8], 1
jmp 0x4883b9
movsx ecx, word [edx + 0xa]
push ecx
push 0x1388
push edi
call 0x4e49f6
jmp 0x4883b9
movsx eax, word [eax + 0xa]
push eax
push 0x72
push edi
call 0x4e49f6
lea esi, [esp + 0x48]
call fcn.00487f70
jmp 0x4883b9
mov edx, dword [esi]
push edx
call fcn.0049155c
mov eax, dword [esi + 0xc]
add esp, 4
push eax
call fcn.0048fc76
add esp, 4
jmp 0x48844d
mov esi, dword [esp + 0x48]
cmp esi, ebx
je 0x4883b9
push esi
call dword [0x48744c]
push esi
call fcn.0048fc76
add esp, 4
jmp 0x4883b9
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4883b9
push eax
call fcn.004c7180
jmp 0x4883b9
lea eax, [esp + 0x48]
call fcn.0048d350
jmp 0x4883b9
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 4]
push ecx
call fcn.0048fc76
add esp, 4
push esi
call fcn.0048fc76
add esp, 4
jmp 0x4883b9
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4883b9
push eax
call 0x4ce3d6
jmp 0x4883b9
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
call fcn.0048c3f0
jmp 0x4883c6
lea eax, [esp + 0x134]
push eax
call dword [0x487564]
lea ecx, [esp + 0x134]
push ecx
call dword [0x487560]
push 0
push 0
push 0
lea edx, [esp + 0x140]
push edx
call esi
test eax, eax
jg 0x4b1025
jmp 0x4883e3