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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 4]
mov eax, edi
call fcn.004469a0
mov esi, eax
add esp, 0x14
mov eax, ebx
mov ecx, edi
call fcn.0044f250
test esi, esi
jne 0x48a378
mov eax, dword [ebp - 4]
push eax
call fcn.00444260
add esp, 4
cmp eax, 0x64
jne 0x489e79
mov ebx, dword [ebp - 4]
mov eax, 1
xor esi, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
cmp ebx, esi
je 0x489c64
cmp dword [ebx + 0x14], esi
je 0x489c3d
xor ecx, ecx
cmp cx, word [ebx + 0x54]
jae 0x489c3d
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
cmp eax, esi
je 0x489be9
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [ebx + 0x14]
cmp edi, esi
je 0x489c87
movzx ecx, word [edi + 0x1c]
test cl, 1
jne 0x489c87
mov eax, ecx
shr eax, 3
and eax, 2
or eax, ecx
mov word [edi + 0x1c], ax
test eax, 0x4000
je 0x489c1d
mov eax, edi
call fcn.00468510
test byte [edi + 0x1c], 2
je 0x489c6b
cmp byte [edi + 0x1e], 1
je 0x489c34
push 1
push edi
call fcn.00450d60
add esp, 8
mov eax, edi
call fcn.00468570
jmp 0x489c79
mov eax, dword [ebx]
cmp eax, esi
je 0x489c64
mov eax, dword [eax + 0xc]
cmp eax, esi
je 0x489c54
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [ebx]
push esi
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
jmp 0x489bf4
mov esi, 1
mov eax, edi
call fcn.004685c0
xor esi, esi
cmp byte [edi + 0x1e], 1
jne 0x489c87
mov ecx, dword [edi + 4]
mov dword [ebp - 8], ecx
jmp 0x489c8a
mov dword [ebp - 8], esi
cmp ebx, esi
je 0x489ce1
mov esi, dword [ebx]
mov ecx, dword [ebx + 0x50]
test esi, esi
je 0x489cc4
cmp byte [esi + 0x40], 0
jne 0x489ca5
cmp ecx, 0xc0a
jne 0x489cbf
push 0
mov eax, 7
mov ecx, esi
call fcn.0044f6b0
add esp, 4
mov byte [esi + 0x40], 0
mov ecx, 7
mov eax, dword [esi + 0x38]
jmp 0x489cc9
mov eax, 0xff
mov edx, dword [ebx]
and eax, ecx
mov dword [ebx + 0x50], eax
mov eax, dword [edx + 0xc]
test eax, eax
je 0x489ce1
push eax
call dword [0x56f8d4]
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x489e61
mov edi, dword [ebp - 4]
test edi, edi
je 0x489d47
cmp dword [edi + 0x14], 0
je 0x489d1f
mov eax, 1
cmp ax, word [edi + 0x54]
jae 0x489d1f
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x489d17
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [edi + 0x14]
add ecx, 0x28
jmp 0x489d4c
mov eax, dword [edi]
test eax, eax
je 0x489d47
mov eax, dword [eax + 0xc]
test eax, eax
je 0x489d36
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [edi]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov ecx, 0x548ec8
call fcn.00468820
mov dword [ebp - 0x18], eax
call fcn.00444920
mov esi, dword [ebp + 0x14]
push esi
push ebx
mov ebx, dword [ebp + 8]
mov edx, ebx
call fcn.00448380
mov edi, eax
add esp, 8
test edi, edi
jne 0x489db8
mov edx, dword [ebp - 8]
push esi
push edx
push ebx
call fcn.00448140
add esp, 0xc
test eax, eax
je 0x489e61
test byte [eax + 0x2c], 0x20
je 0x489e61
mov edi, dword [eax + 8]
test edi, edi
je 0x489e61
lea esp, [esp]
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x489db0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x489da0
test edi, edi
je 0x489e61
cmp dword [edi + 0x3c], 0
jne 0x489e61
cmp dword [ebp + 0xc], 0
jne 0x489dd5
movzx eax, word [edi + 0x32]
lea ecx, [eax + 1]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
lea ebx, [eax + eax*2]
lea ebx, [ebx*4 + 0x14]
imul ebx, dword [ebp - 0x18]
add ecx, ecx
add ecx, ecx
add ebx, ecx
mov dword [ebp - 0x10], ecx
mov ecx, ebx
mov dword [edi + 0x40], eax
call fcn.0044f470
mov esi, eax
test esi, esi
je 0x489e11
push ebx
push 0
push esi
call fcn.004fbb00
add esp, 0xc
mov dword [edi + 0x48], esi
test esi, esi
je 0x489f67
mov ebx, dword [ebp - 0x18]
lea edx, [ebx + ebx*4]
lea eax, [esi + edx*4]
mov dword [edi + 0x44], eax
add eax, dword [ebp - 0x10]
test ebx, ebx
jle 0x489e61
mov edx, dword [ebp - 0xc]
add edx, edx
add edx, edx
xor ecx, ecx
mov esi, ebx
lea ebx, [ebx]
mov ebx, dword [edi + 0x48]
mov dword [ecx + ebx + 8], eax
mov ebx, dword [edi + 0x48]
add eax, edx
mov dword [ecx + ebx + 0xc], eax
mov ebx, dword [edi + 0x48]
add eax, edx
mov dword [ecx + ebx + 0x10], eax
add eax, edx
add ecx, 0x14
dec esi
jne 0x489e40
mov eax, dword [ebp - 4]
push eax
call fcn.00444260
add esp, 4
cmp eax, 0x64
je 0x489bb1
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edx
call fcn.004437c0
add esp, 4
test eax, eax
jne 0x48a37a
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push edi
call fcn.0047e560
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x489f73
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 4]
mov eax, edi
call fcn.004469a0
mov esi, eax
add esp, 0x14
mov eax, ebx
mov ecx, edi
call fcn.0044f250
test esi, esi
jne 0x48a378
mov ebx, dword [ebp - 4]
push ebx
call fcn.00444260
add esp, 4
cmp eax, 0x64
jne 0x48a35d
test ebx, ebx
je 0x489fa7
cmp dword [ebx + 0x14], 0
je 0x489f7f
xor edx, edx
cmp dx, word [ebx + 0x54]
jae 0x489f7f
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x489f13
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x489fcb
movzx ecx, word [edi + 0x1c]
test cl, 1
jne 0x489fcb
mov eax, ecx
shr eax, 3
and eax, 2
or eax, ecx
mov word [edi + 0x1c], ax
test eax, 0x4000
je 0x489f47
mov eax, edi
call fcn.00468510
test byte [edi + 0x1c], 2
je 0x489fb1
cmp byte [edi + 0x1e], 1
je 0x489f5e
push 1
push edi
call fcn.00450d60
add esp, 8
mov eax, edi
call fcn.00468570
jmp 0x489fbd
mov ecx, dword [ebp - 4]
push ecx
call fcn.004437c0
add esp, 4
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
test eax, eax
je 0x489fa7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x489f96
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [ebx]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
jmp 0x489f1e
mov esi, 1
mov eax, edi
call fcn.004685c0
cmp byte [edi + 0x1e], 1
jne 0x489fcb
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
jmp 0x489fd2
mov dword [ebp - 8], 0
test ebx, ebx
je 0x48a029
mov esi, dword [ebx]
mov ecx, dword [ebx + 0x50]
test esi, esi
je 0x48a00c
cmp byte [esi + 0x40], 0
jne 0x489fed
cmp ecx, 0xc0a
jne 0x48a007
push 0
mov eax, 7
mov ecx, esi
call fcn.0044f6b0
add esp, 4
mov byte [esi + 0x40], 0
mov ecx, 7
mov eax, dword [esi + 0x38]
jmp 0x48a011
mov eax, 0xff
and eax, ecx
mov ecx, dword [ebx]
mov dword [ebx + 0x50], eax
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48a029
push eax
call dword [0x56f8d4]
add esp, 4
cmp dword [ebp - 8], 0
je 0x48a34b
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp - 8]
push edi
push edx
mov edx, dword [ebp + 8]
call fcn.00448380
mov esi, eax
add esp, 8
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x48a09f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push edi
push eax
push ecx
call fcn.00448140
add esp, 0xc
test eax, eax
je 0x48a34b
test byte [eax + 0x2c], 0x20
je 0x48a34b
mov eax, dword [eax + 8]
test eax, eax
je 0x48a092
lea esp, [esp]
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
je 0x48a092
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48a080
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48a34b
mov esi, eax
cmp dword [ebp + 0xc], 0
mov eax, dword [esi + 0x40]
mov dword [ebp - 0xc], eax
je 0x48a0b4
cmp eax, 1
jg 0x48a34b
mov eax, dword [ebp - 0x14]
cmp esi, eax
je 0x48a0c7
push eax
call fcn.00489aa0
add esp, 4
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x48]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov dword [ebp - 8], edx
test ebx, ebx
je 0x48a12e
cmp dword [ebx + 0x14], 0
je 0x48a106
mov eax, 1
cmp ax, word [ebx + 0x54]
jae 0x48a106
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48a0fe
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [ebx + 0x14]
add edi, 0x28
jmp 0x48a133
mov eax, dword [ebx]
test eax, eax
je 0x48a12e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48a11d
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [ebx]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
mov bl, 1
call fcn.004690e0
mov esi, dword [ebp - 4]
mov edi, esi
mov dword [ebp - 0x18], eax
call fcn.00444920
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
push 0
call fcn.004897f0
add esp, 4
test esi, esi
je 0x48a1b5
cmp dword [esi + 0x14], 0
je 0x48a18d
mov eax, 2
cmp ax, word [esi + 0x54]
jae 0x48a18d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48a185
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [esi + 0x14]
add edi, 0x50
jmp 0x48a1ba
mov eax, dword [esi]
test eax, eax
je 0x48a1b5
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48a1a4
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [esi]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
mov bl, 1
call fcn.004690e0
mov edi, esi
mov dword [ebp - 0x18], eax
call fcn.00444920
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
push 0
call fcn.004897f0
add esp, 4
test esi, esi
je 0x48a239
cmp dword [esi + 0x14], 0
je 0x48a211
mov eax, 3
cmp ax, word [esi + 0x54]
jae 0x48a211
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48a209
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [esi + 0x14]
add edi, 0x78
jmp 0x48a23e
mov eax, dword [esi]
test eax, eax
je 0x48a239
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48a228
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [esi]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
mov bl, 1
call fcn.004690e0
mov edi, esi
mov dword [ebp - 0x18], eax
call fcn.00444920
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
push 0
call fcn.004897f0
add esp, 4
test esi, esi
je 0x48a2c0
cmp dword [esi + 0x14], 0
je 0x48a298
mov eax, 4
cmp ax, word [esi + 0x54]
jae 0x48a298
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x48a28d
push eax
call dword [0x56f8cc]
add esp, 4
mov edi, dword [esi + 0x14]
add edi, 0xa0
jmp 0x48a2c5
mov eax, dword [esi]
test eax, eax
je 0x48a2c0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48a2af
push eax
call dword [0x56f8cc]
add esp, 4
mov ecx, dword [esi]
push 0
mov eax, 0x19
call fcn.0044f6b0
add esp, 4
mov edi, 0x548ec8
test byte [edi + 0x1c], 0x10
jne 0x48a2da
mov bl, 1
call fcn.004690e0
test eax, eax
jne 0x48a2da
xor ebx, ebx
jmp 0x48a2eb
mov ebx, dword [edi + 0x18]
mov edx, 0x4000
test word [edi + 0x1c], dx
je 0x48a2eb
add ebx, dword [edi + 0x10]
mov edi, esi
call fcn.00444920
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov dword [eax + 4], ebx
add ebx, 2
mov ecx, ebx
call fcn.0044f470
mov esi, eax
test esi, esi
je 0x48a317
push ebx
push 0
push esi
call fcn.004fbb00
add esp, 0xc
mov edi, dword [ebp - 8]
mov dword [edi], esi
test esi, esi
je 0x489f67
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 4]
push ecx
push 4
push edx
call fcn.00444980
add esp, 8
push eax
mov eax, dword [edi]
push eax
call fcn.004fb720
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
add esp, 0xc
inc dword [eax + 0x3c]
push ebx
call fcn.00444260
add esp, 4
cmp eax, 0x64
je 0x489ee6
push ebx
call fcn.004437c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48a378
mov edx, dword [ebp - 0x14]
push edx
call fcn.00489aa0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret