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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x88], eax
lea edx, [esp + 0x7c]
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x95]
mov dword [esp + 0x7c], ebx
push eax
mov edi, edx
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], ecx
mov byte [esp + 0x99], bl
mov dword [esp + 0x94], edx
call fcn.0049b400
mov byte [esp + 0x94], al
mov eax, esi
call fcn.004a3200
mov edi, eax
sub esp, 8
mov eax, esp
lea esi, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004d3970
cmp edi, ebx
jne 0x4b6112
cmp dword [esp + 0x14], ebx
je 0x4b635e
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebp + 8]
call fcn.004b63d0
cmp dword [esp + 0x30], ebx
mov esi, eax
jne 0x4b613b
cmp dword [esp + 0x34], ebx
je 0x4b6167
push edi
call dword [0x1005f1f8]
test eax, eax
jne 0x4b6167
lea ecx, [edi + 0x20]
push ecx
call fcn.004b5bb0
mov eax, dword [edi + 0xc]
mov ecx, dword [0x10075eb4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
add esp, 4
push eax
mov eax, dword [edi + 8]
push eax
call edx
mov eax, dword [esi + 8]
cmp eax, ebx
mov edx, dword [esi + 0xc]
jne 0x4b6179
cmp edx, ebx
je 0x4b62dc
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov dword [esp + 0x34], eax
push eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], edx
call eax
mov edi, eax
push edi
mov dword [esp + 0x2c], edi
call dword [0x1005f200]
cmp dword [esp + 0x40], ebx
jne 0x4b61a9
cmp dword [esp + 0x44], ebx
je 0x4b61d9
mov esi, dword [esp + 0x38]
push esi
call dword [0x1005f1f8]
test eax, eax
jne 0x4b61d9
lea ecx, [esi + 0x20]
push ecx
call fcn.004b5bb0
mov eax, dword [esi + 0xc]
mov ecx, dword [0x10075eb4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 8]
push eax
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x64], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x68], edx
mov edx, dword [edi + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
xor eax, eax
mov cl, byte [esp + eax + 0x6c]
mov dl, byte [esp + eax + 0x5c]
cmp cl, dl
jb 0x4b62ef
ja 0x4b623b
add eax, 1
cmp eax, 0x10
jb 0x4b6221
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x5c]
mov dl, byte [esp + eax + 0x6c]
cmp cl, dl
jb 0x4b62ef
ja 0x4b625a
add eax, 1
cmp eax, 0x10
jb 0x4b6240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.004b65c0
lea esi, [esp + 0x28]
call fcn.004b5a40
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov edx, dword [esp + 0x34]
jne 0x4b6286
cmp edx, ebx
je 0x4b6295
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
push eax
mov eax, dword [esi + 0x18]
call eax
cmp byte [esp + 0x95], bl
je 0x4b62ce
mov esi, dword [esp + 0x90]
mov ecx, dword [esi + 8]
push ebx
push ecx
call dword [0x1005f124]
mov edx, dword [esi + 0xc]
test edx, edx
lea eax, [esi + 0xc]
jle 0x4b62ce
push eax
call dword [0x1005f1f8]
mov eax, dword [esi + 0x10]
push ebx
push 1
push eax
call dword [0x1005f144]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], edi
jmp 0x4b619d
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
call fcn.004b64c0
cmp dword [esp + 0x50], ebx
jne 0x4b630e
cmp dword [esp + 0x54], ebx
je 0x4b633e
mov esi, dword [esp + 0x48]
push esi
call dword [0x1005f1f8]
test eax, eax
jne 0x4b633e
lea ecx, [esi + 0x20]
push ecx
call fcn.004b5bb0
mov eax, dword [esi + 0xc]
mov ecx, dword [0x10075eb4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 8]
push eax
call edx
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebx
jne 0x4b6116
cmp dword [esp + 0x14], ebx
jne 0x4b6116
lea esi, [esp + 0x28]
call fcn.004b5a40
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov edx, dword [esp + 0x34]
jne 0x4b6377
cmp edx, ebx
je 0x4b6386
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x18]
push eax
call edx
cmp byte [esp + 0x95], bl
je 0x4b63bf
mov esi, dword [esp + 0x90]
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x1005f124]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4b63bf
push eax
call dword [0x1005f1f8]
mov edx, dword [esi + 0x10]
push ebx
push 1
push edx
call dword [0x1005f144]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8