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

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebx
push esi
xor ebx, ebx
mov esi, dword [eax + 0xc]
push edi
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x4f8c70
push ebp
mov eax, dword [esi + 0x9c]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x4f8a8a
test byte [esi + 0xdd], 2
jne 0x4f8a8a
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x3b5c], ebx
je 0x4f8afd
cmp dword [esi + 0x70], ebx
je 0x4f8afd
jmp 0x4f8a8e
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ebx
cmp dword [edi + 0x3b5c], ebx
je 0x4f8ab2
mov eax, dword [esi + 0x70]
cmp eax, ebx
je 0x4f8ab2
push eax
call fcn.004df7a0
add esp, 4
mov dword [esi + 0x70], ebx
test byte [esi + 0xdd], 2
je 0x4f8ae9
cmp dword [esi + 0x10], ebx
je 0x4f8ae9
cmp dword [edi + 0x3b5c], ebx
je 0x4f8ad5
mov eax, dword [esi + 0x50]
inc eax
cdq
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
jmp 0x4f8ae9
cmp dword [edi + 0x3c64], ebx
je 0x4f8ae9
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x2c]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ebx
mov ebp, 1
mov dword [esi + 0x14], ebx
mov dword [esi + 0x9c], ebp
mov dword [esp + 0x10], ebp
jmp 0x4f8b02
mov ebp, 1
cmp dword [edi + 0x3c64], ebx
jne 0x4f8bcf
cmp dword [edi + 0x3b5c], ebx
jne 0x4f8bcf
mov ecx, dword [esi + 0x40]
push 0x687ac0
push ecx
call fcn.00527225
add esp, 8
test eax, eax
je 0x4f8bcf
mov edx, dword [esi + 0x40]
push 0x687ab8
push edx
call fcn.00527225
add esp, 8
test eax, eax
je 0x4f8bcf
mov eax, dword [0x7150f4]
mov ecx, dword [esi + 0x3c]
push 0x40000
push ebx
push eax
push 0xffffffffffffffff
push ecx
call fcn.0042d900
mov edx, dword [esi + 0x40]
mov eax, dword [0x7150f4]
push edx
push eax
call fcn.00527225
add esp, 0x1c
test eax, eax
je 0x4f8bcf
mov ecx, dword [esi + 0x40]
push ecx
call fcn.004df7a0
mov edx, dword [0x7150f4]
push edx
call fcn.00526b7f
mov dword [esi + 0x40], eax
mov cl, byte [esi + 0xdd]
add esp, 8
mov dword [esp + 0x14], ebp
test cl, 2
je 0x4f8bd5
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x4c]
cmp ecx, ebx
je 0x4f8bd5
mov edx, dword [0x75e0b4]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebp
push ecx
mov ecx, dword [edx + 0x30f4]
add ecx, 0x7c
call fcn.0054247b
mov dword [esp + 0x18], ebp
jmp 0x4f8bd5
cmp dword [esp + 0x10], ebx
je 0x4f8c36
mov eax, dword [esp + 0x24]
mov ecx, dword [0x75e0b0]
cmp eax, ecx
jne 0x4f8c36
mov ecx, dword [0x75e0b4]
push esi
mov edi, dword [ecx + 0x30f8]
add edi, 0x7c
push edi
call fcn.00493c70
mov ebp, eax
add esp, 8
cmp ebp, ebx
jl 0x4f8c36
cmp dword [esp + 0x14], ebx
je 0x4f8c15
mov edx, dword [esi + 0x40]
mov ecx, edi
push edx
push ebx
push ebp
call fcn.00542245
cmp dword [esp + 0x10], ebx
je 0x4f8c36
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
push eax
push ecx
call fcn.004e1bc0
add esp, 8
mov ecx, edi
push eax
push 5
push ebp
call fcn.00542245
mov esi, dword [esi]
cmp esi, ebx
jne 0x4f8a5c
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, ebx
je 0x4f8c70
mov edx, dword [esp + 0x20]
mov ecx, dword [0x75e0b4]
mov eax, dword [edx + 0x4c]
mov edx, dword [ecx + 0x30f4]
push eax
push ebx
mov eax, dword [edx + 0x98]
push 0x1113
push eax
call dword [0x703424]
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 4]
cmp esi, ebx
je 0x4f8cbc
mov edi, dword [esi + 0x14]
push 0x687ac0
mov edx, dword [edi + 0x40]
push edx
call fcn.00527225
add esp, 8
test eax, eax
je 0x4f8cb6
mov eax, dword [edi + 0x40]
push 0x687ab8
push eax
call fcn.00527225
add esp, 8
test eax, eax
je 0x4f8cb6
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.004f8a40
add esp, 8
mov esi, dword [esi]
cmp esi, ebx
jne 0x4f8c7b
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret