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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ba0ff
add esp, 0xffffff80
mov eax, 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4b9a56
movzx eax, byte [eax]
test al, al
jne 0x4ba0a1
call fcn.004bb890
lea eax, [0x78a64c]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x94]
cmp eax, 4
je 0x4ba024
xor ecx, ecx
mov dword [esp + 0x28], ecx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045f718
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.0046e3e0
mov ecx, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], ecx
call fcn.00473970
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x4b9dde
lea eax, [0x78a9bc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov byte [esp + 0x27], 3
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b9cd5
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 4]
cmp eax, 2
je 0x4b9c87
cmp eax, 0x17
je 0x4b9c39
mov dword [esp], 0x20000027
call fcn.0046e450
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x746ce0]
mov dword [esp], edx
call fcn.0040bc50
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x4b9c2b
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x76749c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b9c21
mov dword [edx + 8], eax
mov dword [esp + 0xa0], 0
lea eax, [0x7ec74c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004738e0
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
lea edi, [edx + 8]
call fcn.0045f470
jmp 0x4b9be3
mov eax, dword [esp + 0x4c]
call fcn.0045f470
jmp 0x4b9b7d
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00474900
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004738e0
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
movzx eax, word [ecx + 2]
mov word [esp], ax
call fcn.00474900
movzx eax, word [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004738e0
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
mov dword [esp], 0x20000027
call fcn.0046e450
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x746ce0]
mov dword [esp], edx
call fcn.0040bc50
mov edi, dword [esp + 4]
mov dword [esp + 0x48], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x4b9dd0
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x76749c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b9dc6
mov dword [edx + 8], eax
mov dword [esp + 0xa0], 0
lea eax, [0x7ec74c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004738e0
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
lea edi, [edx + 8]
call fcn.0045f470
jmp 0x4b9d88
mov eax, dword [esp + 0x4c]
call fcn.0045f470
jmp 0x4b9d22
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
call fcn.004b81c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4b9ff9
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b9fa0
lea ecx, [0x73f780]
cmp dword [eax + 4], ecx
jne 0x4b9fa0
mov eax, dword [esp + 0x44]
cmp dword [eax], 0x2af9
jne 0x4b9fa0
mov eax, dword [0x9d3410]
mov ecx, dword [0x9d3414]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edx, [0x746ce0]
mov dword [esp], edx
call fcn.0040bc50
mov edi, dword [esp + 4]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x4b9f92
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp], 0
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
lea eax, [0x76749c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x18], eax
call fcn.00449290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b9f88
mov dword [edx + 8], eax
mov eax, dword [0x9d3414]
mov ecx, dword [esp + 0x2c]
cmp dword [0x9d3410], ecx
je 0x4b9f5b
mov dword [esp + 0xa0], 0
lea eax, [0x7ec74c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403a40
movzx eax, byte [esp + 0xc]
test al, al
je 0x4b9f82
mov edx, dword [esp + 0x3c]
mov byte [edx + 0x1a], 1
jmp 0x4b9f2e
mov edx, dword [esp + 0x3c]
jmp 0x4b9f2e
lea edi, [edx + 8]
call fcn.0045f470
jmp 0x4b9f1c
mov eax, dword [esp + 0x4c]
call fcn.0045f470
jmp 0x4b9eb6
nop
lea eax, [0x7312e0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x76a4a5]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [0x9f0ee0]
test ecx, ecx
jne 0x4b9fe7
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, eax
lea eax, [0x7ec940]
jmp 0x4b9e65
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045f470
mov eax, ecx
jmp 0x4b9fda
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0x27], 0
call fcn.004bb8e0
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x767a9d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402a30
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4ba07e
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706374
jne 0x4ba06a
mov ecx, 1
jmp 0x4b9a7c
cmp dword [ecx], 0x36706374
je 0x4ba060
mov eax, dword [esp + 0x94]
jmp 0x4b9a7a
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x34706475
jne 0x4ba097
mov ecx, 2
jmp 0x4b9a7c
cmp dword [ecx], 0x36706475
je 0x4ba08d
jmp 0x4ba072
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
call fcn.004b81c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
sub esp, 0xffffff80
ret
call fcn.0045df10
jmp fcn.004b99f0