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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x78], eax
lea edx, [esp + 0x6c]
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x85]
mov dword [esp + 0x6c], esi
push eax
mov edi, edx
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ecx
mov byte [esp + 0x89], 0
mov dword [esp + 0x84], edx
call fcn.0049b400
mov byte [esp + 0x84], al
mov eax, ebx
call fcn.004a3200
mov edi, eax
sub esp, 8
mov eax, esp
mov ebx, edx
mov dword [eax], esi
mov dword [eax + 4], esi
lea esi, [esp + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
call fcn.004d3970
test edi, edi
mov edi, dword [ebp + 0x18]
jne 0x4b526a
test ebx, ebx
je 0x4b5338
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004b5760
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
xor eax, eax
jmp 0x4b52c0
mov cl, byte [esp + eax + 0x48]
mov dl, byte [esp + eax + 0x38]
cmp cl, dl
jb 0x4b5322
ja 0x4b52d6
add eax, 1
cmp eax, 0x10
jb 0x4b52c0
xor eax, eax
jmp 0x4b52e0
mov cl, byte [esp + eax + 0x38]
mov dl, byte [esp + eax + 0x48]
cmp cl, dl
jb 0x4b5322
ja 0x4b52f6
add eax, 1
cmp eax, 0x10
jb 0x4b52e0
mov eax, dword [esi + 0x20]
test eax, eax
mov edx, dword [esi + 0x24]
jne 0x4b5308
test edx, edx
je 0x4b541a
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov ebx, edx
mov edx, dword [esi + 0x14]
push eax
mov edi, eax
call edx
mov esi, eax
jmp 0x4b5420
cmp dword [esp + 0x10], 0
jne 0x4b5283
cmp dword [esp + 0x14], 0
jne 0x4b5283
lea eax, [esp + 0x58]
push eax
call fcn.004b5950
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004b58f0
lea esi, [esp + 0x58]
call fcn.004b5a40
mov eax, dword [esp + 0x60]
test eax, eax
mov edx, dword [esp + 0x64]
jne 0x4b5367
test edx, edx
je 0x4b5376
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x18]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x20]
lea eax, [ebp + 0x1c]
call fcn.004a4520
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004b54c0
lea esi, [esp + 0x28]
call fcn.004b5a40
mov eax, dword [esp + 0x30]
test eax, eax
mov edx, dword [esp + 0x34]
jne 0x4b53c6
test edx, edx
je 0x4b53d5
mov ecx, dword [0x10075eb4]
mov esi, dword [ecx]
push edx
mov edx, dword [esi + 0x18]
push eax
call edx
cmp byte [esp + 0x85], 0
je 0x4b5411
mov esi, dword [esp + 0x80]
mov eax, dword [esi + 8]
push 0
push eax
call dword [0x1005f124]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea eax, [esi + 0xc]
jle 0x4b5411
push eax
call dword [0x1005f1f8]
mov edx, dword [esi + 0x10]
push 0
push 1
push edx
call dword [0x1005f144]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
xor edi, edi
xor ebx, ebx
xor esi, esi
push esi
call dword [0x1005f1f8]
test eax, eax
jne 0x4b5449
lea eax, [esi + 0x10]
push eax
call fcn.004b9c60
mov eax, dword [esi + 0xc]
mov ecx, dword [0x10075eb4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esi + 8]
push eax
call edx
test edi, edi
jne 0x4b5451
test ebx, ebx
je 0x4b5460
mov ecx, dword [0x10075eb4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
push ebx
push edi
call edx
mov eax, dword [ebp + 0x1c]
test eax, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
jne 0x4b5478
test edx, edx
je 0x4b548d
mov ecx, dword [0x10075eb4]
mov ebx, dword [ecx]
push edx
mov esi, eax
push eax
mov eax, dword [ebx + 0x14]
mov edi, edx
call eax
jmp 0x4b5493
xor esi, esi
xor edi, edi
xor eax, eax
push eax
call dword [0x1005f200]
test esi, esi
jne 0x4b54a6
test edi, edi
je 0x4b53ad
mov ecx, dword [0x10075eb4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push edi
push esi
call eax
jmp 0x4b53ad