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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b8037
sub esp, 0x50
mov edx, dword [esp + 0x54]
cmp edx, 2
jne 0x4b7d05
mov edx, dword [esp + 0x5c]
test edx, edx
jne 0x4b7cf4
mov edx, dword [0x9d38a8]
mov ebx, dword [0x9d38ac]
mov ebp, dword [0x9d38b0]
cmp ebx, 4
je 0x4b7ceb
cmp ebx, 0x10
jne 0x4b7bc0
xor eax, eax
jmp 0x4b7ba7
inc eax
cmp eax, 0xa
jge 0x4b7cca
jae 0x4b802c
movzx esi, byte [edx + eax]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4b7ba6
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4b7c3d
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
lea eax, [0x73c000]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 4
jge 0x4b7c36
mov dword [esp + 0x3c], eax
lea edx, [eax + 4]
mov ebx, dword [esp + 0x48]
cmp edx, ebx
je 0x4b7c10
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045fe20
lea eax, [0x7ec9cc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov ecx, 4
jmp 0x4b7bf1
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004b1730
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x730920]
mov dword [esp], edx
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x76c474]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b7cb8
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x7ec738]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f470
mov eax, ecx
jmp 0x4b7c96
cmp byte [edx + 0xa], 0xff
jne 0x4b7bc0
cmp byte [edx + 0xb], 0xff
jne 0x4b7bc0
lea eax, [edx + 0xc]
mov ecx, 4
jmp 0x4b7bc4
mov eax, edx
mov ecx, ebx
jmp 0x4b7bc4
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
jmp 0x4b7b94
cmp edx, 0x17
jne 0x4b7f93
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4b7f3f
mov eax, dword [0x9cb8d0]
mov ecx, dword [0x9cb8d4]
mov edx, dword [0x9cb8d8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
cmp ecx, 4
jne 0x4b7f2d
movzx ebx, byte [eax]
movzx ebp, byte [eax + 1]
movzx esi, byte [eax + 2]
movzx edi, byte [eax + 3]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov edx, dword [0x9cb8e0]
mov ecx, dword [0x9cb8e4]
cmp ecx, 0x10
jge 0x4b7f23
mov byte [esp + 0x1f], bl
xchg ebp, eax
mov byte [esp + 0x1e], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
xchg edi, eax
mov byte [esp + 0x1c], al
xchg edi, eax
lea eax, [esp + 0x2c]
cmp edx, eax
je 0x4b7db3
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045fe20
movzx edx, byte [esp + 0x1f]
mov byte [esp + 0x38], dl
movzx edx, byte [esp + 0x1e]
mov byte [esp + 0x39], dl
movzx edx, byte [esp + 0x1d]
mov byte [esp + 0x3a], dl
movzx edx, byte [esp + 0x1c]
mov byte [esp + 0x3b], dl
lea eax, [esp + 0x2c]
mov ecx, 0x10
test eax, eax
je 0x4b7e8a
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ecx
lea eax, [0x9d3f00]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.004b0470
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea ecx, [0x73fa00]
mov dword [esp], ecx
call fcn.0040bc50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
cmp ecx, 0x10
jge 0x4b7e83
mov dword [esp + 0x40], eax
lea edx, [eax + 8]
mov ebx, dword [esp + 0x44]
cmp ebx, edx
je 0x4b7e5d
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0045fe20
lea eax, [0x7ec9e0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
mov ecx, 0x10
jmp 0x4b7e3e
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004b1730
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x730920]
mov dword [esp], edx
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x76c484]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b7f11
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x7ec738]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f470
mov eax, ecx
jmp 0x4b7eef
mov ecx, 0x10
jmp 0x4b7d85
cmp ecx, 0x10
je 0x4b7de0
xor eax, eax
xor ecx, ecx
jmp 0x4b7de0
mov ecx, dword [0x9d38a8]
mov edx, dword [0x9d38ac]
mov ebx, dword [0x9d38b0]
mov ebp, dword [esp + 0x58]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov esi, dword [esp + 0x60]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004b2590
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4b7d1a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
jmp 0x4b7d2c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004b1730
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x730920]
mov dword [esp], edx
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x16
lea ecx, [0x76fa1b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b801a
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x7ec738]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x50
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f470
mov eax, ecx
jmp 0x4b7ff8
mov ecx, 0xa
call fcn.0045f4f0
nop
call fcn.0045df10
jmp fcn.004b7b50