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

Disassembly:
sub esp, 0xe94
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xac0]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x108], ecx
mov ecx, dword [eax + 0x2c]
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x48f46a
mov ecx, dword [ecx + 8]
jmp 0x48f46c
xor ecx, ecx
add eax, 0x4c
push eax
push ecx
lea ecx, [esp + 0xd4]
call fcn.00477800
mov edx, dword [ebp + 0xac0]
mov eax, dword [ebp + 0x24]
add edx, 0x4c
push edx
push eax
lea ecx, [esp + 0x120]
call fcn.00477800
mov ecx, dword [ebp + 0xac0]
mov eax, dword [ecx + 0x2c]
cmp eax, ebx
je 0x48f4a9
mov edx, dword [eax + 8]
jmp 0x48f4ab
xor edx, edx
mov eax, dword [ebp + 0xa98]
mov esi, dword [ebp + 0x7c]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
xor esi, esi
mov si, word [eax + 6]
movzx eax, word [eax + 8]
add ecx, 0x4c
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0x2a4]
call fcn.004cfe00
mov ecx, dword [ebp + 0xac0]
mov eax, dword [ecx + 0x2c]
cmp eax, ebx
je 0x48f4e9
mov edx, dword [eax + 8]
jmp 0x48f4eb
xor edx, edx
mov eax, dword [ebp + 0xa98]
mov esi, dword [ebp + 0x7c]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
xor esi, esi
mov si, word [eax + 6]
movzx eax, word [eax + 8]
add ecx, 0x4c
push esi
push eax
push ecx
push edx
lea ecx, [esp + 0x16c]
call fcn.004cfe00
cmp dword [ebp + 0xa94], ebx
je 0x48f60b
mov eax, 2
mov dword [esp + 0x160], eax
mov dword [esp + 0x11c], eax
mov eax, 5
lea esi, [ebp + 0x34]
push esi
mov dword [esp + 0x29c], eax
mov dword [esp + 0xd4], eax
call fcn.0043ee90
add esp, 4
test eax, eax
jne 0x48f60b
mov ecx, 7
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x4c], 1
je 0x48f57c
lea ecx, [esp + 0x34]
push ecx
call fcn.0043dd00
add esp, 4
mov edx, dword [ebp + 0xac0]
and edx, 0xfffff000
mov eax, dword [edx]
mov ecx, dword [eax + 0x128]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0043f9a0
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x2a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov byte [esp + 0x2b8], 1
mov byte [esp + 0x180], 1
mov byte [esp + 0xf0], 1
mov byte [esp + 0x13c], 1
mov esi, dword [ebp + 0xac0]
mov ecx, esi
call fcn.00449e30
test eax, eax
je 0x48f62c
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x20]
mov cl, byte [eax + 0x129]
test cl, cl
jne 0x48f645
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 8]
cmp eax, dword [edx + 0x3e8]
jne 0x48f645
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x3e4]
jmp 0x48f648
add eax, 0x10
mov dword [ebp + 0x68], eax
cmp dword [eax + 0x48], ebx
jne 0x48f653
mov dword [ebp + 0x68], ebx
mov edx, dword [ebp + 0xac0]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
add edx, 0x50
mov dword [ebp + 0x30], edx
lea edx, [ebp + 0x34]
push edx
mov edx, dword [ebp + 8]
push edx
xor edx, edx
lea esi, [eax + 4]
mov dword [ebp + 4], esi
mov dh, byte [ecx + eax + 3]
movzx edi, byte [ecx + eax + 1]
mov dl, byte [ecx + eax + 2]
movzx eax, byte [ecx + eax]
shl edx, 8
or edx, edi
shl edx, 8
or edx, eax
add edx, esi
push edx
push ecx
mov ecx, dword [ebp + 0x28]
push ecx
lea ecx, [esp + 0x3fc]
call fcn.0049d000
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x48f6bf
mov edx, dword [eax + 0xd4]
mov al, byte [edx + 0xc6d]
test al, al
jne 0x48fd51
mov eax, dword [ebp + 0xa94]
lea ecx, [esp + 0x3e8]
mov dword [esp + 0xe7c], eax
call fcn.0049ce20
push 4
lea ecx, [esp + 0x3ec]
call fcn.0049ce60
push 4
lea ecx, [esp + 0x3ec]
mov dword [esp + 0xe6c], eax
call fcn.0049ce60
mov ecx, ebp
mov dword [esp + 0xe6c], eax
call fcn.004a2b90
test eax, eax
je 0x48fd51
mov ecx, dword [ebp + 0xac0]
mov edx, dword [ecx + 4]
cmp word [edx + 0x56], bx
je 0x48f729
push 1
mov ecx, ebp
call fcn.0048c200
mov ecx, ebp
call fcn.0049ce20
push 4
mov ecx, ebp
call fcn.0049ce60
push 4
mov ecx, ebp
mov dword [ebp + 0xa80], eax
call fcn.0049ce60
mov dword [ebp + 0xa84], eax
mov eax, dword [ebp + 0xa94]
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x70]
and esi, ecx
neg eax
sbb eax, eax
lea edx, [esp + 0xa8]
and eax, edx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0x114], eax
push esi
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call fcn.004a3170
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x48f917
cmp ebx, 0x80
je 0x48fc25
test bl, 9
je 0x48f888
cmp dword [esp + 0x50], edi
je 0x48f7f6
lea ecx, [esp + 0x294]
call fcn.004d0a00
cmp dword [ebp + 0xa94], edi
je 0x48f7f6
lea ecx, [esp + 0x15c]
call fcn.004d0a00
mov eax, dword [ebp + 0xa98]
mov edx, dword [ebp + 0x7c]
lea ecx, [eax + eax*2]
mov esi, dword [edx + ecx*4]
cmp esi, edi
lea eax, [edx + ecx*4]
je 0x48f87d
cmp word [eax + 4], di
jbe 0x48f87d
mov cx, word [eax + 8]
mov word [esp + 0x31c], cx
mov dx, word [eax + 6]
mov word [esp + 0x1e4], cx
mov word [esp + 0x31e], dx
mov word [esp + 0x1e6], dx
movzx eax, word [eax + 4]
push esi
push eax
lea ecx, [esp + 0x29c]
call fcn.004d1520
cmp dword [ebp + 0xa94], edi
je 0x48f873
mov eax, dword [ebp + 0xa98]
mov edx, dword [ebp + 0x7c]
lea ecx, [eax + eax*2]
movzx eax, word [edx + ecx*4 + 4]
push esi
push eax
lea ecx, [esp + 0x164]
call fcn.004d1520
mov dword [esp + 0x50], 1
jmp 0x48f881
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0xc8]
test bl, 6
je 0x48f7a2
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0xa9c]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp + 0xaa0]
mov dword [esp + 0xf8], ecx
mov eax, dword [eax + edx*4]
cmp ecx, eax
mov dword [esp + 0xfc], eax
jne 0x48f8ff
xor eax, eax
mov dword [esp + 0xfc], eax
mov ebx, dword [ebp + 0xabc]
xor edx, edx
test ebx, ebx
setne dl
inc edx
test ecx, ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edx
jne 0x48f907
test eax, eax
jne 0x48f907
mov dword [esp + 0xc4], eax
jmp 0x48f7a2
test eax, eax
je 0x48f8c1
xor edx, edx
jmp 0x48f8cf
mov dword [esp + 0xc4], 1
jmp 0x48f7a2
mov ebx, dword [esp + 0x114]
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x3f0]
call fcn.004a3170
test eax, eax
je 0x48f94c
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x3f0]
call fcn.004a3170
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 0x64]
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x58]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x64]
add ecx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x60]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], edx
sub eax, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xa0]
add eax, ecx
sub edx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x2c], ecx
je 0x48fa6e
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x30], 1
jne 0x48fa72
mov dword [esp + 0x30], edi
cmp dword [ebp + 0xa94], edi
je 0x48fbb3
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x64]
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x74]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x64]
add ecx, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x7c]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x7c]
add ecx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], edx
sub eax, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xbc]
add eax, ecx
sub edx, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x84]
add ecx, eax
cmp dword [esp + 0x88], edi
mov dword [esp + 0x48], ecx
je 0x48fbaf
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x4c], 1
jne 0x48fbb3
mov dword [esp + 0x4c], edi
cmp dword [esp + 0xc4], edi
je 0x48fbe6
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xd0]
call fcn.00478820
cmp dword [ebp + 0xa94], edi
je 0x48fbe6
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x11c]
call fcn.00478820
cmp dword [esp + 0x50], edi
je 0x48f7a2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x298]
call fcn.004d15e0
mov eax, dword [ebp + 0xa94]
test eax, eax
je 0x48f7a2
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x160]
call fcn.004d15e0
jmp 0x48f7a2
cmp dword [esp + 0x50], edi
je 0x48fc4f
lea ecx, [esp + 0x294]
call fcn.004d0a00
cmp dword [ebp + 0xa94], edi
je 0x48fd4a
lea ecx, [esp + 0x15c]
call fcn.004d0a00
cmp dword [ebp + 0xa94], edi
je 0x48fd4a
mov eax, dword [ebp + 0xac0]
mov esi, dword [eax + 0x50]
mov ebx, dword [esp + 0x110]
cmp esi, ebx
je 0x48fd4a
mov al, byte [esi + 0x26]
cmp al, 2
je 0x48fc82
cmp al, 1
jne 0x48fd33
mov ecx, esi
call fcn.004631a0
cmp dword [eax], 0x7ffffff
je 0x48fd33
mov ecx, esi
call fcn.004631a0
cmp dword [eax + 0x10], 0x7ffffff
je 0x48fd33
mov ecx, esi
call fcn.004631a0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.004631a0
add eax, 0x10
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x28]
cmp eax, edi
mov dword [esp + 0x40], edx
je 0x48fcff
mov eax, dword [eax + 0xd4]
jmp 0x48fd01
xor eax, eax
push eax
lea eax, [esp + 0x3d0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.0043ed10
mov dl, byte [esp + 0x190]
add esp, 0x10
test dl, dl
sete al
lea ecx, [esp + 0x3cc]
push eax
push ecx
jmp 0x48fd35
push edi
push edi
push 1
mov ecx, ebp
push esi
call fcn.004a1580
mov esi, dword [esi + 0x18]
cmp esi, ebx
jne 0x48fc73
mov ecx, ebp
call fcn.0049ce30
lea ecx, [esp + 0x3e8]
call fcn.0049d140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe94
ret 4