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

Disassembly:
push 0xffffffffffffffff
push 0x4dc882
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5181f4]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5181f4]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x16c]
add ecx, 4
mov dword [esp + 0x38], ecx
call fcn.00426f35
mov eax, dword [esp + 0x170]
xor ebx, ebx
cmp eax, ebx
je 0x4b6e27
cmp eax, 0x20
jb 0x4b70ea
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
mov ebp, esi
mov esi, dword [esi]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], esi
call fcn.004b6740
cmp esi, ebx
mov dword [esp + 0x164], ebx
jne 0x4b6e64
lea ecx, [esp + 0x4c]
call fcn.004b6700
mov eax, 1
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00441cbb
add esp, 0x154
ret 8
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x90]
call fcn.004b7180
lea edx, [ebp + 4]
push edx
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x16c], 1
call fcn.004b60b0
add esp, 8
cmp dword [eax + 0x18], 8
mov byte [esp + 0x164], 2
jb 0x4b6e9c
mov edx, dword [eax + 4]
jmp 0x4b6e9f
lea edx, [eax + 4]
mov edi, 7
mov eax, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b6eb6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404373
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x170], 3
call fcn.00404c75
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x4b6f04
mov edx, dword [esp + 0x20]
push edx
call fcn.00441cca
add esp, 4
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov byte [esp + 0x164], 1
jb 0x4b6f2f
mov eax, dword [esp + 0x78]
push eax
call fcn.00441cca
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + ebp + 4]
lea eax, [ecx + ebp]
mov dword [esp + 0x134], edx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4b70ce
lea esi, [eax + ecx]
lea ecx, [esi + 4]
mov eax, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4b6f63
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404373
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x170], 4
call fcn.00404c75
cmp dword [esp + 0x34], 8
mov byte [esp + 0x164], 1
jb 0x4b6fb5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00441cca
add esp, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x4b70ce
mov edx, dword [eax + esi + 4]
add eax, esi
mov dword [esp + 0x130], edx
mov ecx, dword [eax]
cmp ecx, ebx
je 0x4b70ce
lea ebp, [eax + ecx]
lea ecx, [ebp + 4]
mov eax, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4b6ff2
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00404373
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x170], 5
call fcn.00404c75
cmp dword [esp + 0x34], 8
mov byte [esp + 0x164], 1
jb 0x4b7044
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00441cca
add esp, 4
mov esi, dword [ebp]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], esi
call fcn.004b67d0
cmp byte [esp + 0x48], 1
jne 0x4b709a
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x90]
push edx
push eax
push esi
call fcn.004af5a0
mov ecx, dword [esp + 0x38]
push 1
mov edi, eax
call fcn.004aec30
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x18]
mov dword [eax], edi
cmp esi, ebx
je 0x4b70ae
mov ecx, dword [ebp + esi]
add ebp, esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ecx
mov esi, ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x164], bl
call fcn.004b7260
cmp esi, ebx
jne 0x4b6e60
jmp 0x4b6e1e
lea ecx, [esp + 0x90]
mov byte [esp + 0x164], bl
call fcn.004b7260
lea ecx, [esp + 0x4c]
call fcn.004b6700
xor eax, eax
jmp 0x4b6e2c