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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x4ba853
sub esp, 0xd8
mov eax, 0
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov byte [esp + 0x1f], 0
nop
mov eax, dword [esp + 0xec]
mov ecx, eax
and eax, 0x1f
mov dword [esp + 0x3c], eax
cmp eax, 0x14
ja 0x4b9ffe
lea edx, [eax - 0x12]
cmp edx, 1
jbe 0x4ba024
cmp eax, 0x14
je 0x4ba008
jmp 0x4ba80c
cmp eax, 0x16
jbe 0x4ba024
cmp eax, 0x17
jne 0x4ba01b
mov eax, dword [esp + 0xe8]
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
jmp 0x4ba050
cmp eax, 0x1a
jne 0x4ba80c
test ecx, 0x200
jne 0x4ba07e
test ecx, 0x80
je 0x4ba03f
mov eax, dword [esp + 0xe8]
mov edx, dword [eax]
jmp 0x4ba048
mov eax, dword [esp + 0xe8]
mov edx, eax
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x4ba085
mov eax, dword [esp + 0xe0]
test byte [eax], al
mov dword [esp], eax
lea eax, [0x4e6838]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004afc30
add esp, 0xd8
ret
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx + 0x54]
inc ebx
mov dword [edx + 0x54], ebx
cmp ebx, 0x3e8
ja 0x4ba0a2
xor ebx, ebx
jmp 0x4ba1ac
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0047b8e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], eax
lea ecx, [0x4d7340]
mov dword [esp + 0x80], ecx
lea edx, [esp + 0x44]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx + 0x58]
lea ebp, [0x4d75c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [esp + 0x80]
mov dword [esp + 8], ebx
call fcn.0040bfe0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4ba6ab
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004088a0
mov eax, dword [esp + 4]
lea ecx, [0x4d7340]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xe0]
mov edx, dword [eax + 0x58]
lea ebx, [0x4d75c0]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea edx, [esp + 0x80]
mov dword [esp + 8], edx
call fcn.0040c360
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 0x58]
lea edx, [0x4f1da0]
mov dword [esp + 0xcc], edx
mov dword [esp + 0xc8], ecx
lea ecx, [0x4d7340]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xd4], ecx
mov byte [esp + 0x1f], 1
mov edx, eax
mov ebx, 1
mov byte [esp + 0x1e], bl
mov dword [esp], edx
mov byte [esp + 4], 0x7b
call fcn.004afda0
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 8], edx
call fcn.0047b1d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
lea ecx, [0x4dd3c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00443dd0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp], ecx
mov edx, dword [esp + 0xe8]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xec]
mov dword [esp + 8], ebx
call fcn.0047b620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x4ba244
mov edx, dword [esp + 0x28]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
call fcn.0047b520
movzx eax, byte [esp + 4]
test al, al
je 0x4ba351
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0047b340
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
jae 0x4ba6a2
shl ebx, 5
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 8], edx
lea edx, [ebp + ebx]
mov dword [esp + 0x68], edx
mov esi, dword [0x7e83b0]
lea edx, [ebp + ebx]
mov dword [esp + 0x64], edx
lea edx, [ebp + ebx + 4]
mov dword [esp + 0x60], edx
lea edx, [ebp + ebx + 0xc]
mov dword [esp + 0x5c], edx
lea edx, [ebp + ebx + 0x10]
mov dword [esp + 0x58], edx
test esi, esi
jne 0x4ba2d0
mov dword [ebp + ebx], eax
mov dword [ebp + ebx + 4], ecx
jmp 0x4ba2e4
mov edi, dword [esp + 0x64]
call fcn.00459fb0
mov edi, dword [esp + 0x60]
mov eax, ecx
call fcn.00459fb0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0047b430
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov dword [ebp + ebx + 0x14], edx
mov edx, dword [0x7e83b0]
test edx, edx
jne 0x4ba31c
mov dword [ebp + ebx + 0xc], eax
mov dword [ebp + ebx + 0x10], ecx
jmp 0x4ba330
mov edi, dword [esp + 0x5c]
call fcn.00459fb0
mov edi, dword [esp + 0x58]
mov eax, ecx
call fcn.00459fb0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004bbbc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4ba239
jmp 0x4ba533
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00408a30
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x4ba860]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
lea ebx, [0x4d3b00]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
call fcn.00481510
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4ba3f0
xor ecx, ecx
mov edx, dword [esp + 0x6c]
jmp 0x4ba458
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x7d
call fcn.004afda0
mov eax, dword [esp + 0xe0]
dec dword [eax + 0x54]
movzx eax, byte [esp + 0x1e]
test al, 1
je 0x4ba444
and eax, 0xfffffffe
mov byte [esp + 0x1f], al
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xd4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004c1f70
add esp, 0xd8
ret
mov ebx, dword [esp + 0x68]
lea edx, [ebx + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], edx
lea edi, [esp + 0xa8]
mov esi, edx
call fcn.0045a640
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x4ba48a
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x2c
call fcn.004afda0
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xe0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
movzx eax, byte [esp + 0xf1]
mov byte [esp + 0xc], al
call fcn.004bbea0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x3a
call fcn.004afda0
mov edx, dword [esp + 0xdc]
mov eax, dword [edx]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xe0]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
movzx ecx, byte [esp + 0xf0]
mov byte [esp + 0x10], cl
movzx ebx, byte [esp + 0xf1]
mov byte [esp + 0x11], bl
call eax
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x4ba44b
jmp 0x4ba3f0
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 8], eax
call fcn.0047c890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x80]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0x54]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.004089b0
mov eax, dword [esp + 8]
lea ecx, [0x4d7140]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.004089b0
mov eax, dword [esp + 8]
lea ecx, [0x4d7140]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x4ee725]
mov dword [esp], eax
mov dword [esp + 4], 0x24
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a5600
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
lea eax, [0x4dbd60]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00408830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004319f0
mov eax, ebx
mov ecx, ebp
call fcn.0045a030
mov eax, dword [esp + 0xe4]
mov dword [esp], eax
mov ecx, dword [esp + 0xe8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xec]
mov dword [esp + 8], edx
call fcn.0047c890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test eax, eax
je 0x4ba6ef
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x4ebe57]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a7e40
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
lea edx, [0x4dab60]
mov dword [esp], edx
call fcn.0040af50
mov edi, dword [esp + 4]
mov eax, dword [esp + 0xec]
mov dword [edi + 8], eax
mov eax, dword [0x7e83b0]
test eax, eax
jne 0x4ba7e6
mov ecx, dword [esp + 0xe4]
mov dword [edi], ecx
mov ecx, dword [esp + 0xe8]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x7e83b0]
test ecx, ecx
jne 0x4ba7d2
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x50f8f8]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
lea eax, [0x4dbd60]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00408830
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004319f0
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x54]
mov edx, edi
mov edi, ecx
call fcn.00459fb0
mov edi, edx
jmp 0x4ba78a
mov eax, dword [esp + 0xe4]
call fcn.00459fb0
lea ecx, [edi + 4]
mov eax, dword [esp + 0xe8]
mov edx, edi
mov edi, ecx
call fcn.00459fb0
mov edi, edx
jmp 0x4ba772
lea eax, [0x4daf80]
mov dword [esp], eax
call fcn.0040af50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x4e9b0c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
lea ecx, [0x4d8880]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004319f0
nop
call fcn.00430980
add esp, 0xd8
ret
call fcn.00458b70
jmp fcn.004b9f90