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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x8c]
cmp eax, dword [ecx + 8]
jbe 0x4b6b1f
sub esp, 0x10c
mov ecx, dword [esp + 0x110]
test ecx, ecx
je 0x4b6ad8
mov edx, dword [esp + 0x118]
test edx, edx
je 0x4b6ad8
nop
movzx ebx, byte [0x98a3a0]
test bl, bl
je 0x4b68b9
mov ebx, dword [esp + 0x110]
mov dword [0x98a3a4], ebx
mov ebx, dword [0x9b1930]
test ebx, ebx
jne 0x4b68a3
mov ebx, dword [esp + 0x114]
mov dword [0x98a3a8], ebx
jmp 0x4b68c0
lea edi, [0x98a3a8]
mov eax, dword [esp + 0x114]
call fcn.00463350
mov ebx, eax
jmp 0x4b68c0
mov ebx, dword [esp + 0x114]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4b68e9
nop
movzx ebp, byte [ecx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x4b68ef
or ebp, 0x80
jmp 0x4b68ef
xor ebp, ebp
xor ecx, ecx
xor ebx, ebx
nop
movzx esi, byte [0x98a3a0]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4b6937
mov esi, dword [esp + 0x118]
mov dword [0x98a3a4], esi
mov esi, dword [0x9b1930]
test esi, esi
jne 0x4b6923
mov eax, dword [esp + 0x11c]
mov dword [0x98a3a8], eax
jmp 0x4b693e
lea edi, [0x98a3a8]
mov eax, dword [esp + 0x11c]
call fcn.00463350
jmp 0x4b693e
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4b6967
nop
movzx esi, byte [edx + 0xf]
mov edi, esi
and esi, 0x1f
xchg edi, eax
test al, 0x20
xchg edi, eax
jne 0x4b696d
or esi, 0x80
jmp 0x4b696d
xor esi, esi
xor edx, edx
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x4b69a1
test ebp, 0x200
jne 0x4b69a1
mov edi, ecx
lea ecx, [0x79fb0c]
mov dword [esp + 0x2c], ecx
mov ecx, edi
jmp 0x4b69d5
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004c0c60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
test esi, esi
je 0x4b69f9
test esi, 0x200
jne 0x4b69f9
mov dword [esp + 0x30], eax
lea eax, [0x79fb0c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
jmp 0x4b6a2d
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004c0c60
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp esi, eax
jne 0x4b6a52
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4b6a61
mov byte [esp + 0x120], 0
add esp, 0x10c
ret
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00463619
lea edi, [esp + 0x78]
call fcn.004635fb
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], ecx
call fcn.004505d0
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x18], ecx
call fcn.004b4fc0
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x120], cl
add esp, 0x10c
ret
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x118]
cmp eax, ecx
je 0x4b6aee
xor eax, eax
jmp 0x4b6b11
mov dword [esp], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 8], eax
call fcn.004036b0
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x120], al
add esp, 0x10c
ret
call fcn.00461f40
jmp fcn.004b6830