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

Disassembly:
sub esp, 0x240
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x23c], eax
mov edx, dword [esp + 0x24c]
mov eax, dword [esp + 0x244]
push ebp
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24c]
push esi
xor esi, esi
mov dword [esp + 0x68], edx
lea ebp, [ecx + eax]
lea edx, [esp + 0x84]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x10], 8
mov dword [esp + 0x3c], esi
mov dword [esp + 8], edx
cmp ecx, esi
je 0x4b1ce6
lea ecx, [esp + 0x144]
mov dword [esp + 0x44], ecx
mov ecx, 0x100
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ecx
mov ecx, ebp
sub ecx, eax
push ecx
lea edx, [esp + 0x148]
push 0x3c
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call fcn.0061fad0
add esp, 0xc
cmp eax, esi
je 0x4b1ce6
push ebx
push edi
mov dword [esp + 0x68], eax
inc eax
mov esi, eax
mov dword [esp + 0x64], eax
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
cmp al, 0x21
jne 0x4b180c
test byte [esp + 0x260], 1
jne 0x4b17f2
lea edx, [ebp + 3]
cmp esi, edx
jae 0x4b17f2
cmp byte [esi + 1], 0x2d
jne 0x4b17f2
cmp byte [esi + 2], 0x2d
jne 0x4b17f2
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esi + 3]
push eax
call fcn.004ae610
test eax, eax
je 0x4b17ff
jmp 0x4b17fd
mov ecx, dword [esp + 0x14]
push ebp
push esi
call fcn.004ae680
mov esi, eax
cmp esi, ebp
je 0x4b1cbc
jmp 0x4b1c96
cmp al, 0x2f
jne 0x4b1821
inc esi
mov dword [esp + 0x24], 1
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
cmp al, 0x20
mov ebx, esi
jle 0x4b1c96
lea ecx, [ecx]
cmp al, 0x7f
jge 0x4b184f
cmp al, 0x3d
je 0x4b184f
cmp al, 0x3e
je 0x4b184f
cmp al, 0x2f
je 0x4b184f
inc esi
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
cmp al, 0x20
jg 0x4b1830
cmp esi, ebx
je 0x4b1c96
mov edi, esi
lea esp, [esp]
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b1882
movzx ecx, al
push ecx
call fcn.0061f3e1
add esp, 4
test eax, eax
je 0x4b1882
inc esi
cmp esi, ebp
jb 0x4b1860
jmp 0x4b1cbc
cmp dword [esp + 0x24], 0
je 0x4b1892
cmp byte [esi], 0x3e
jne 0x4b1c92
mov ecx, dword [esp + 0x14]
push edi
push ebx
call fcn.004b1140
test eax, eax
jne 0x4b18ab
mov dword [esp + 0x3c], 1
jmp 0x4b18c5
mov ecx, dword [esp + 0x14]
push 1
push edi
push ebx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x4c], 0
call fcn.004ae860
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], 1
jmp 0x4b18e0
mov dword [esp + 0x20], 1
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b190a
movzx eax, al
push eax
call fcn.0061f3e1
add esp, 4
test eax, eax
je 0x4b190a
inc esi
cmp esi, ebp
jb 0x4b18e8
jmp 0x4b1cbc
mov al, byte [esi]
cmp al, 0x2f
je 0x4b1bdb
cmp al, 0x3e
je 0x4b1c0f
cmp al, 0x20
mov ecx, esi
mov dword [esp + 0x40], ecx
jle 0x4b1945
cmp al, 0x7f
jge 0x4b1945
cmp al, 0x3d
je 0x4b1945
cmp al, 0x3e
je 0x4b1945
cmp al, 0x2f
je 0x4b1945
inc esi
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
cmp al, 0x20
jg 0x4b1926
mov dword [esp + 0x30], esi
cmp ecx, esi
je 0x4b1c92
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b1973
movzx ecx, al
push ecx
call fcn.0061f3e1
add esp, 4
test eax, eax
je 0x4b1973
inc esi
cmp esi, ebp
jb 0x4b1951
jmp 0x4b1cbc
mov al, byte [esi]
cmp al, 0x20
jle 0x4b1989
cmp al, 0x7f
jge 0x4b1989
cmp al, 0x3d
je 0x4b1989
cmp al, 0x3e
jne 0x4b1a9a
cmp al, 0x2f
je 0x4b1a9a
cmp al, 0x3e
je 0x4b1a9a
cmp al, 0x3d
jne 0x4b1c92
inc esi
cmp esi, ebp
jae 0x4b1cbc
lea ebx, [ebx]
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b19d2
movzx edx, al
push edx
call fcn.0061f3e1
add esp, 4
test eax, eax
je 0x4b19d2
inc esi
cmp esi, ebp
jb 0x4b19b0
jmp 0x4b1cbc
mov al, byte [esi]
cmp al, 0x22
je 0x4b1a24
cmp al, 0x27
je 0x4b1a24
mov ebx, esi
mov dword [esp + 0x2c], ebx
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b19fa
movzx eax, al
push eax
call fcn.0061f3e1
add esp, 4
test eax, eax
jne 0x4b1a09
cmp byte [esi], 0x3e
je 0x4b1a09
inc esi
cmp esi, ebp
jb 0x4b19e2
jmp 0x4b1cbc
mov dword [esp + 0x38], esi
cmp ebx, esi
je 0x4b1c92
mov edi, esi
mov dword [esp + 0x20], 2
jmp 0x4b1aaa
mov ebx, esi
inc esi
xor edi, edi
mov cl, al
mov dword [esp + 0x34], ebx
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
mov edx, esi
mov dword [esp + 0x2c], edx
cmp al, cl
je 0x4b1a67
test edi, edi
jne 0x4b1a54
cmp al, 0xa
jne 0x4b1a58
mov esi, edx
mov edi, 1
jmp 0x4b1a61
cmp al, 0x3e
je 0x4b1a67
inc esi
cmp esi, ebp
jae 0x4b1cbc
mov al, byte [esi]
cmp al, cl
jne 0x4b1a43
mov dword [esp + 0x38], esi
cmp byte [esi], cl
jne 0x4b1c96
inc esi
cmp esi, ebp
jae 0x4b1cbc
test byte [esp + 0x260], 2
mov edi, esi
mov dword [esp + 0x20], 2
je 0x4b1aae
mov dword [esp + 0x20], 6
jmp 0x4b1aae
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x3c], 0
jne 0x4b18e0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.004afab0
test eax, eax
je 0x4b18e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov ebp, ecx
jge 0x4b1b5d
add ebp, ebp
cmp ebp, eax
jl 0x4b1ae2
cmp ebp, ecx
je 0x4b1b5d
xor ecx, ecx
mov eax, ebp
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005f15c2
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push ebx
call fcn.0061eea0
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x4b1b49
cmp dword [esp + 0x18], 1
jle 0x4b1b3c
mov edx, dword [esp + 0x10]
push edx
call fcn.005f15b7
jmp 0x4b1b46
mov eax, dword [esp + 0x10]
push eax
call fcn.005f15b7
add esp, 4
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x44], 1
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
push 1
mov dword [edx + ebp + 0x10], ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
call fcn.004ae860
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [ecx + ebp + 0x14], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
call fcn.004ae860
mov eax, dword [esp + 0x10]
sub edi, ebx
mov dword [eax + ebp + 8], ebx
mov dword [eax + ebp + 0xc], edi
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x28], eax
add ebp, 0x18
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x6c]
jmp 0x4b18e0
inc esi
cmp esi, ebp
jae 0x4b1cbc
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4b1c06
movzx eax, al
push eax
call fcn.0061f3e1
add esp, 4
test eax, eax
je 0x4b1c06
inc esi
cmp esi, ebp
jb 0x4b1be4
jmp 0x4b1cbc
cmp byte [esi], 0x3e
jne 0x4b1c92
cmp dword [esp + 0x3c], 0
je 0x4b1c21
inc esi
cmp esi, ebp
jae 0x4b1cbc
jmp 0x4b1c96
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
test ecx, ecx
jle 0x4b1c5b
mov eax, dword [esp + 0x10]
add eax, 0x14
mov edi, dword [eax - 4]
add edi, edx
mov dword [eax - 0x14], edi
mov edi, dword [eax]
add edi, edx
mov dword [eax - 0x10], edi
add eax, 0x18
sub ecx, 1
jne 0x4b1c44
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], edx
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
inc esi
push edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
call fcn.004b1220
cmp esi, ebp
jae 0x4b1cbc
jmp 0x4b1c96
mov esi, dword [esp + 0x64]
mov eax, ebp
sub eax, esi
push eax
xor edi, edi
push 0x3c
push esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call fcn.0061fad0
add esp, 0xc
cmp eax, edi
jne 0x4b17a8
cmp dword [esp + 0x58], 0
pop edi
pop ebx
je 0x4b1cd2
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005f15b7
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x4b1ce6
mov edx, dword [esp + 8]
push edx
call fcn.005f15b7
add esp, 4
mov ecx, dword [esp + 0x244]
pop esi
pop ebp
xor ecx, esp
call fcn.0061d2ff
add esp, 0x240
ret 0x10