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

Disassembly:
mov eax, 0xac
call fcn.00697340
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x38]
call fcn.004f29d4
mov ebp, dword [esp + 0xc8]
mov ecx, dword [edi + 0x2d]
mov esi, dword [ebp + 0x35]
lea ebx, [ebp + 0x35]
mov dword [esp + 0x14], ebx
call fcn.00407250
mov eax, dword [eax]
push esi
push eax
lea ecx, [esp + 0x40]
call fcn.004f01a4
mov ecx, dword [edi + 0x2d]
mov ecx, dword [ecx + 0x59]
mov si, word [ebp + 0x3f]
call fcn.004fbdf0
mov edx, dword [edi + 0x31]
mov ecx, dword [edi + 0x2d]
push edx
call fcn.00407c90
mov ebp, eax
push 0
mov ecx, ebp
mov dword [esp + 0x14], ebp
call fcn.0050916c
movsx esi, si
push esi
push 0x4e1
mov ecx, ebp
call fcn.00509258
mov ecx, dword [edi + 0x2d]
mov ebx, dword [ebx]
mov ebp, eax
call fcn.004072a0
cmp ebx, dword [eax]
jge 0x4b89b3
test ebp, ebp
je 0x4b8bc0
cmp dword [ebp + 0x1d], esi
jne 0x4b89b3
mov ebx, dword [esp + 0x14]
mov ax, word [ebx + 4]
cmp ax, word [ebx + 0xc]
je 0x4b89b3
mov ecx, dword [edi + 0x39]
push ecx
push 0x4e1
mov ecx, ebp
call fcn.004164c0
mov esi, eax
test esi, esi
je 0x4b899e
push ebx
lea ecx, [esp + 0x2c]
call fcn.00416480
lea ecx, [esp + 0x28]
call fcn.004a82d0
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x38]
jge 0x4b8961
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.004f17ac
mov ebx, dword [esp + 0xc8]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
lea eax, [esp + 0x30]
push eax
push esi
push ecx
push edx
push 1
mov ecx, edi
call fcn.004b7c30
mov ecx, dword [esp + 0x10]
push ebp
call fcn.004164f0
mov ebp, eax
jmp 0x4b89ba
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc8]
push ebp
call fcn.004164f0
mov ebp, eax
jmp 0x4b89ba
mov ebx, dword [esp + 0xc8]
test ebp, ebp
je 0x4b8bc7
mov eax, dword [esp + 0x42]
mov edx, dword [ebp + 0x1d]
movsx ecx, ax
cmp edx, ecx
jle 0x4b8b04
test byte [ebp + 0x10], 2
mov eax, dword [edi + 0x39]
jne 0x4b89ef
mov edx, dword [ebp]
push 0
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4b89fd
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004f2f18
mov esi, eax
test esi, esi
je 0x4b8ad7
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4b8a3a
movsx eax, word [esp + 0x42]
cmp dword [ebp + 0x1d], eax
jne 0x4b8a20
cmp word [esp + 0x3c], 1
jle 0x4b8a3a
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push ecx
push edx
call fcn.004b8810
jmp 0x4b8ad7
lea ecx, [esp + 0x18]
call fcn.004f29d4
lea ecx, [esp + 0x28]
call fcn.004f29d4
xor eax, eax
mov ax, word [ebp + 0x1d]
lea ecx, [esp + 0x18]
push eax
call fcn.004f176c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.004f0778
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004f17ac
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2e]
push edx
push eax
push 1
lea ecx, [esp + 0x34]
call fcn.004f0778
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x38]
jge 0x4b8aaf
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
call fcn.004f17ac
mov eax, dword [ebx + 8]
push eax
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xc8]
lea edx, [esp + 0x30]
push edx
push esi
push eax
push ecx
push 1
mov ecx, edi
call fcn.004b7c30
mov esi, dword [esp + 0x10]
test byte [esi + 0x10], 2
jne 0x4b8aec
mov eax, dword [ebp + 4]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [esi + 8]
push ebp
call fcn.004f2c30
mov ebp, eax
test ebp, ebp
jne 0x4b89c2
jmp 0x4b8bc7
movsx ecx, ax
cmp dword [ebp + 0x1d], ecx
jne 0x4b8bc7
test byte [ebp + 0x10], 2
mov eax, dword [edi + 0x39]
jne 0x4b8b2b
mov edx, dword [ebp]
push 0
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4b8b39
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004f2f18
mov esi, eax
test esi, esi
je 0x4b8bc7
mov eax, dword [ebp + 0x1d]
test eax, eax
jne 0x4b8b68
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4b8bc7
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
call fcn.004b8810
jmp 0x4b8bc7
lea ecx, [esp + 0x18]
call fcn.004f29d4
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.004f17ac
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1e]
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.004f0778
mov eax, dword [ebx + 8]
push eax
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xc8]
lea edx, [ebx + 0x27]
push edx
push esi
push eax
push ecx
push 1
mov ecx, edi
call fcn.004b7c30
jmp 0x4b8bc7
mov ebx, dword [esp + 0xc8]
mov ecx, dword [ebx + 8]
xor eax, eax
cmp ecx, eax
jne 0x4b8c73
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call fcn.005363cc
xor esi, esi
lea ecx, [esp + 0x94]
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.00535b88
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], esi
call fcn.00534d48
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push 1
push eax
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.004b19f0
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x48]
push eax
call fcn.0056b3d4
push 1
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0xc8]
call fcn.005345c4
mov ecx, dword [esp + 0x10]
call fcn.00509150
mov edx, dword [edi + 0x2d]
mov ecx, dword [edx + 0x59]
call fcn.004fbdd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0xc