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

Disassembly:
push 0xffffffffffffffff
push 0x5094eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x54]
mov ebp, ecx
xor ebx, ebx
push edi
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], 0xffffffff
mov dword [esp + 0x20], ebx
call fcn.004fcaea
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x38], esi
jne 0x4b639c
xor eax, eax
jmp 0x4b6632
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push esi
push edi
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 8]
cmp eax, edi
je 0x4b63c1
push esi
call fcn.004fcb13
add esp, 4
xor eax, eax
jmp 0x4b6632
lea eax, [esi + edi]
cmp esi, eax
mov dword [esp + 0x34], eax
jae 0x4b6624
cmp dword [esi], 1
jne 0x4b649c
mov eax, dword [esi + 4]
add esi, 4
add esi, 4
mov dword [esp + 0x54], eax
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 4
mov dword [esp + 0x50], ecx
add esi, 4
or ecx, 0xffffffff
mov edi, esi
mov ebx, esi
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x18]
lea edi, [ebp + 0x38]
not ecx
mov eax, dword [eax + 0x68]
dec ecx
mov dword [esp + 0x10], edx
lea esi, [esi + ecx + 1]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push ebx
mov ecx, edi
call fcn.004b7c00
test eax, eax
jne 0x4b6482
push 0x4c
call fcn.004fcaea
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x44], 0
je 0x4b6468
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 0x7c]
push ecx
mov ecx, dword [edx + 0x78]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
push ecx
push ebx
push ebp
push edx
mov ecx, eax
call fcn.004b5da0
jmp 0x4b646a
xor eax, eax
add eax, 0x20
mov ecx, edi
push eax
mov dword [esp + 0x48], 0xffffffff
call fcn.004f8550
jmp 0x4b6616
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov dword [eax + 0x14], edx
jmp 0x4b6616
mov eax, dword [esi + 4]
add esi, 4
add esi, 4
mov dword [esp + 0x24], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 4
mov dword [esp + 0x20], edx
add esi, 4
mov dword [esp + 0x28], ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 4
mov dword [esp + 0x2c], eax
add esi, 4
xor eax, eax
push edx
mov ecx, dword [esi]
add esi, 4
mov dword [esp + 0x14], ecx
mov edi, esi
or ecx, 0xffffffff
mov dword [esp + 0x1c], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esi + ecx + 1]
mov ecx, ebp
call fcn.004b6650
mov edx, dword [esp + 0x18]
mov ebx, eax
push 1
push edx
lea ecx, [ebx + 0x24]
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], ecx
call fcn.004b7c00
test eax, eax
je 0x4b652c
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x4b6524
push eax
push ebx
mov ecx, ebp
call fcn.004b6240
jmp 0x4b652c
mov dword [esp + 0x50], 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, esi
repne scasb al, byte es:[edi]
mov al, byte [edx]
mov dword [esp + 0x14], edx
not ecx
dec ecx
test al, al
lea esi, [esi + ecx + 1]
jne 0x4b6550
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x10]
test edi, edi
jbe 0x4b6581
lea eax, [edi*4]
push eax
call fcn.004fcaea
add esp, 4
mov dword [esp + 0x54], eax
test edi, edi
jbe 0x4b6589
mov ecx, edi
mov edx, dword [esi]
add esi, 4
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x4b6572
jmp 0x4b6589
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4b6605
mov ecx, dword [ebp + 0x18]
call fcn.004b7a30
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x30]
push eax
push ebx
push ecx
push edx
push ebp
mov ecx, edi
call fcn.004b5a30
mov ecx, dword [esp + 0x30]
lea eax, [edi + 0x1c]
push eax
call fcn.004f8550
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
add edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], edx
mov eax, dword [edi + 0x14]
cmp eax, ecx
jae 0x4b65f6
mov dword [ebp + 0xc], eax
mov edi, dword [edi + 0x14]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jbe 0x4b6605
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b6616
push eax
call fcn.004fcb13
add esp, 4
cmp esi, dword [esp + 0x34]
jb 0x4b63d0
mov esi, dword [esp + 0x38]
push esi
call fcn.004fcb13
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0x10