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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b9f32
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x3c]
add eax, esi
mov edx, dword [eax + 0x78]
mov dword [ebp - 0x18], edx
mov edx, dword [eax + 0x7c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
add eax, esi
mov ebx, eax
add ebx, 0x10
mov edi, dword [ebx]
mov ebx, eax
add ebx, 0x18
mov edx, dword [ebx]
mov dword [ebp - 0x1c], edx
mov ebx, eax
add ebx, 0x1c
mov edx, dword [ebx]
mov dword [ebp - 0x20], edx
mov ebx, eax
add ebx, 0x20
mov edx, dword [ebx]
mov dword [ebp - 0x24], edx
mov ebx, eax
add ebx, 0x24
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xffff
jbe 0x4b9e1e
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.004053a0
mov eax, dword [ebp - 0x1c]
test eax, eax
jbe 0x4b9e23
mov dword [ebp - 0x30], eax
mov edi, 1
mov ebx, dword [ebp - 0x24]
add ebx, esi
mov eax, edi
dec eax
add eax, eax
add eax, eax
add ebx, eax
lea eax, [ebp - 8]
mov edx, dword [ebx]
add edx, esi
call fcn.004053a0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004055d0
jne 0x4b9e16
mov eax, dword [ebp - 0x28]
add eax, esi
mov edx, edi
dec edx
add edx, edx
add eax, edx
movzx eax, word [eax]
mov dword [ebp - 0x2c], eax
jmp 0x4b9e23
inc edi
dec dword [ebp - 0x30]
jne 0x4b9ddb
jmp 0x4b9e23
sub eax, edi
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 0x2c]
add eax, eax
add eax, eax
add ebx, eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebx]
cmp eax, edi
ja 0x4b9f12
add eax, dword [ebp - 0x14]
cmp edi, eax
ja 0x4b9f12
lea eax, [ebp - 4]
mov edx, edi
add edx, esi
call fcn.004053a0
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405240
jmp 0x4b9e9b
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4b9e6e
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4b9f4c
call fcn.00405784
sub ebx, eax
push ebx
mov edx, dword [ebp - 8]
mov eax, 0x4b9f4c
call fcn.00405784
mov edx, eax
inc edx
mov eax, dword [ebp - 8]
pop ecx
call fcn.004056a0
mov edx, dword [ebp - 8]
mov eax, 0x4b9f4c
call fcn.00405784
test eax, eax
jg 0x4b9e62
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b9eb8
sub ebx, 4
mov ebx, dword [ebx]
mov esi, dword [ebp - 8]
test esi, esi
je 0x4b9ec4
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
sub ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004056a0
mov eax, dword [ebp - 4]
call fcn.00405638
mov ebx, eax
push ebx
call sub.kernel32.dll_GetModuleHandleA_1
mov edi, eax
test edi, edi
jne 0x4b9ef8
push ebx
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
test edi, edi
jbe 0x4b9f17
mov eax, dword [ebp - 8]
call fcn.00405638
mov edx, eax
mov eax, edi
call fcn.004b9d44
mov dword [ebp - 0x10], eax
jmp 0x4b9f17
add esi, edi
mov dword [ebp - 0x10], esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9f39
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051cc
ret