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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4b2153
sub esp, 0xb8
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
je 0x4b2119
mov esi, dword [ebp + 4]
mov eax, ebp
mov ebp, dword [ebp]
cmp esi, 2
jl 0x4b20f4
cmp byte [ebp], 0x2d
jne 0x4b20f4
lea edi, [ecx + 0x18]
cmp byte [ebp + 1], 0x2d
jne 0x4b20de
cmp esi, 2
je 0x4b2093
mov dword [esp + 0x4c], eax
mov eax, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
cmp edx, esi
ja 0x4b214c
mov dword [esp + 0x28], esi
sub esi, edx
mov dword [esp + 0x30], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and edx, esi
lea esi, [edx + ebp]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4b1ff4
mov dword [esp + 0x44], edx
movzx edx, byte [edx + ebp]
cmp dl, 0x2d
je 0x4b1ff4
cmp dl, 0x3d
je 0x4b1ff4
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
mov edx, dword [esp + 0x48]
dec edx
mov dword [ecx + 0x20], edx
mov ebx, dword [0x738420]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b1fea
mov dword [ecx + 0x18], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x64]
mov edx, 1
jmp 0x4b189c
inc edx
cmp edx, esi
jge 0x4b1fd5
jae 0x4b2145
movzx ebx, byte [edx + eax]
cmp bl, 0x3d
jne 0x4b189b
lea ebx, [edx + 1]
sub esi, ebx
mov dword [esp + 0x24], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebx, esi
add ebx, eax
test edx, edx
jl 0x4b213e
mov esi, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x5c], ebx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
mov ebp, dword [ecx + 0x14]
lea edi, [0x598900]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040df70
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4b1a36
mov eax, dword [esp + 0x30]
cmp eax, 4
jne 0x4b1a29
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4b196c
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.004b1750
mov eax, dword [0x72783c]
mov ecx, dword [0x727838]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
cmp eax, 1
jne 0x4b1a22
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
sete cl
test cl, cl
jne 0x4b1934
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x597b60]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x5cf2ad]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004b1620
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
xor ecx, ecx
jmp 0x4b197f
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
jmp 0x4b196c
mov dword [esp + 0x6c], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x5a3080]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00407910
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x4b1fb3
xor edx, edx
test dl, dl
je 0x4b1d62
movzx edx, byte [esp + 0x23]
test dl, dl
je 0x4b1c5a
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4b1b5c
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b1b23
mov eax, dword [eax + 0x10]
lea ecx, [0x598900]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0040e320
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x738420]
test eax, eax
jne 0x4b1b18
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x6c]
call fcn.0044cea0
jmp 0x4b1af3
call fcn.0040a6a0
mov eax, dword [0x738420]
mov ecx, dword [esp]
test eax, eax
jne 0x4b1b44
mov eax, dword [esp + 0xbc]
mov dword [eax + 0x10], ecx
jmp 0x4b1ab8
mov edx, dword [esp + 0xbc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044cea0
mov eax, edx
jmp 0x4b1ab8
mov dword [esp + 0x40], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004075d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4b1ba6
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0044cf9a
lea ecx, [0x597b60]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x5cfb1d]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004b1620
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x5c678b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4b1aaa
mov dword [esp + 0x3c], eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4b1caf
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea edx, [0x597b60]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x5ccea4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004b1620
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4b1f52
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
test cl, cl
je 0x4b1eaf
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b1aaa
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004075d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4b1dfb
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0xa0]
mov edx, eax
xor eax, eax
call fcn.0044cf9a
lea ecx, [0x597b60]
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
lea ecx, [0x5cedff]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xa0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004b1620
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x597b60]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x5cce38]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004b1620
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb8
ret
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
test ebx, ebx
jle 0x4b1d6f
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec ebx
mov dword [edx + 0x1c], ebx
lea ebx, [esi - 1]
mov dword [edx + 0x20], ebx
mov esi, dword [0x738420]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4b1f9f
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4b1d77
mov edi, dword [esp + 0x84]
mov ebp, eax
mov eax, ebx
call fcn.0044cea0
mov eax, ebp
jmp 0x4b1f93
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx edx, byte [esp + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x68]
jmp 0x4b1a6d
mov edx, esi
xor esi, esi
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x30]
jmp 0x4b18d6
call fcn.0044cea0
jmp 0x4b1885
mov dword [esp], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.004075d0
mov eax, dword [esp + 8]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea ecx, [0x597b60]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
lea eax, [0x5c9d60]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004b1620
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0xb8
ret
dec ebx
mov dword [ecx + 0x1c], ebx
dec edx
mov dword [ecx + 0x20], edx
mov ebx, dword [0x738420]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b20d7
mov dword [ecx + 0x18], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.0044cea0
jmp 0x4b20b2
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
jmp 0x4b180a
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
add esp, 0xb8
ret
call fcn.00427100
ud2
call fcn.00427000
ud2
call fcn.00427100
ud2
call fcn.0044b750
jmp fcn.004b1790