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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
push edi
mov dword [ebp - 4], esi
call fcn.0044d65c
mov eax, dword [esi + 0x30]
xor edi, edi
xor ebx, ebx
cmp dword [eax + 0x14], edi
je 0x489a4d
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi + eax + 0x30]
call fcn.004444fe
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi + eax + 0x18]
call fcn.004444fe
mov eax, dword [esi + 0x30]
inc ebx
add edi, 0x88
cmp ebx, dword [eax + 0x14]
jne 0x489a26
push dword [esi + 0x2c]
and dword [ebp - 0xc], 0
call fcn.004445cb
and dword [esi + 0x2c], 0
cmp dword [esi + 0x24], 0
pop ecx
je 0x489db9
call fcn.00429550
mov edi, dword [esi + 0x24]
mov ebx, dword [edi + 0x78]
add edi, 0x70
xor ecx, ecx
mov eax, ebx
mov edx, 0x88
mul edx
seto cl
mov dword [ebp - 0x18], edi
neg ecx
or ecx, eax
push ecx
call fcn.00444d45
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x489ab9
dec ebx
js 0x489ab4
add eax, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00439699
add dword [ebp - 0xc], 0x88
dec ebx
jns 0x489aa2
mov eax, dword [ebp - 0x14]
jmp 0x489abb
xor eax, eax
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [edi + 8], eax
je 0x489db4
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + ecx*4]
test byte [eax + 0x101], 2
mov dword [ebp - 0x1c], eax
je 0x489da5
mov ebx, dword [esi + 0x2c]
mov edx, dword [eax + 0xec]
add ebx, dword [ebp - 0x10]
lea esi, [edx + 0x14]
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 0x88
lea edi, [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [edx + 0x6d]
push 5
mov word [ebx + 0x36], ax
lea eax, [ebx + 0x1c]
pop ecx
mov esi, edx
mov edi, eax
push 0x14
mov dword [ebp - 0x14], edx
rep movsd dword es:[edi], dword [esi]
pop edx
mov ecx, eax
call fcn.00420d85
mov esi, dword [ebp - 0x1c]
mov ecx, esi
mov dword [ebx], eax
call fcn.0042d132
mov ecx, eax
call fcn.00444cee
and dword [ebx + 0x18], 0
mov edi, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
cmp byte [0x4c92dc], 0
je 0x489b67
mov eax, dword [edi + 0x26]
push 2
pop ecx
cmp ecx, eax
sbb ecx, ecx
and ecx, eax
call fcn.00444cbc
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x4d]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x65]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jbe 0x489b92
mov eax, dword [esi + 0xfc]
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [ebx + 0x38], eax
jmp 0x489b96
and dword [ebx + 0x38], 0
mov al, byte [esi + 0x101]
shr al, 5
xor al, byte [ebx + 0x34]
and al, 1
xor byte [ebx + 0x34], al
mov al, byte [esi + 0x101]
mov cl, byte [ebx + 0x34]
shr al, 5
xor al, cl
and al, 2
xor al, cl
mov byte [ebx + 0x34], al
mov cl, byte [esi + 0x102]
shl cl, 2
xor cl, al
and cl, 4
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [esi + 0x102]
shl al, 2
xor al, cl
and al, 8
xor al, cl
mov byte [ebx + 0x34], al
mov cl, byte [esi + 0x102]
add cl, cl
xor cl, al
and cl, 0x10
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [esi + 0x102]
xor al, cl
and al, 0x20
xor al, cl
mov byte [ebx + 0x34], al
mov cl, byte [esi + 0x100]
shl cl, 6
xor cl, al
and cl, 0x40
xor cl, al
mov byte [ebx + 0x34], cl
mov al, byte [edi + 0x62]
shl al, 6
xor al, cl
mov cl, byte [edi + 0x62]
and al, 0x7f
shl cl, 6
xor al, cl
mov byte [ebx + 0x34], al
mov al, byte [edi + 0x62]
shr al, 3
xor al, byte [ebx + 0x35]
and al, 1
xor byte [ebx + 0x35], al
mov cl, byte [ebx + 0x35]
mov al, byte [edi + 0x62]
shr al, 3
xor al, cl
and al, 2
xor al, cl
mov byte [ebx + 0x35], al
mov cl, byte [esi + 0x101]
shl cl, 2
xor cl, al
and cl, 4
xor cl, al
mov byte [ebx + 0x35], cl
mov al, byte [esi + 0xe]
shr al, 3
xor al, cl
and al, 8
xor al, cl
mov byte [ebx + 0x35], al
cmp byte [edi + 0x5c], 0
setne cl
shl cl, 4
xor cl, al
and cl, 0x10
xor cl, al
mov byte [ebx + 0x35], cl
mov al, byte [esi + 0xe]
shr al, 2
xor al, cl
and al, 0x20
xor al, cl
mov byte [ebx + 0x35], al
mov cl, byte [esi + 0x101]
shl cl, 3
xor cl, al
and cl, 0x40
xor cl, al
mov byte [ebx + 0x35], cl
mov eax, dword [esi + 0x164]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x134]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x14c]
mov dword [ebx + 0x60], eax
mov eax, dword [esi + 0xec]
mov ecx, dword [eax + 0x75]
mov dword [ebx + 0x4c], ecx
mov eax, dword [eax + 0x79]
mov dword [ebx + 0x50], eax
mov eax, dword [esi + 0xec]
mov ecx, dword [eax + 0x7d]
mov dword [ebx + 0x54], ecx
mov eax, dword [eax + 0x81]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0xec]
movzx eax, byte [eax + 0x5d]
mov dword [ebx + 0x5c], eax
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x100]
add al, al
xor al, byte [ebx + 0x35]
add cl, cl
and al, 0x7f
xor al, cl
mov byte [ebx + 0x35], al
mov eax, dword [esi + 0x51]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x69]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x35]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x1e4]
test eax, eax
je 0x489d2c
mov eax, dword [eax + 4]
jmp 0x489d2e
xor eax, eax
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x1b8]
mov dword [ebx + 0x80], eax
fld dword [esi + 0x18c]
call fcn.00401066
mov dword [ebx + 0x6c], eax
mov eax, dword [0x4c592c]
sub eax, dword [esi + 0x184]
and dword [ebx + 0x84], 0
mov dword [ebx + 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
mov al, byte [eax + 5]
shr al, 7
not al
test al, 1
je 0x489d9f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
cmp dword [eax + 0xc], 0
jbe 0x489d9f
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0042d584
imul eax, eax, 0x3e8
lea eax, [eax + edi - 1]
xor edx, edx
div edi
mov dword [ebx + 0x84], eax
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x18]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edi + 8]
jne 0x489ad2
call fcn.00429561
push dword [ebp - 0xc]
mov ecx, dword [esi + 0x30]
push dword [esi + 0x2c]
call fcn.0044c3e4
pop edi
pop esi
pop ebx
leave
ret