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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4932df
sub esp, 0x6c
mov eax, dword [esp + 0x74]
cmp eax, 2
jl 0x492e96
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx]
mov byte [esp + 0x26], dl
lea ebx, [ecx + 1]
mov dword [esp + 0x58], ebx
mov dword [esp], ebx
lea ebp, [eax - 1]
mov dword [esp + 0x2c], ebp
mov dword [esp + 4], ebp
mov byte [esp + 8], dl
call fcn.004028e0
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x492e4f
mov dword [esp + 0x28], eax
lea ecx, [eax + 2]
mov dword [esp + 0x40], ecx
movzx edx, byte [esp + 0x26]
cmp dl, 0x22
je 0x492c81
cmp dl, 0x27
je 0x492c81
cmp dl, 0x60
jne 0x492c3a
movzx edx, byte [esp + 0x78]
test dl, dl
je 0x492c29
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xd
call fcn.004028e0
cmp dword [esp + 0xc], 0xffffffff
je 0x492c0d
lea eax, [0x67e920]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 8], edx
call fcn.00447740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x4c]
mov ebp, 1
xor esi, esi
jmp 0x49324c
mov ecx, dword [esp + 0x28]
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x70]
lea ebx, [edx + ecx]
mov ecx, eax
jmp 0x4931ff
mov ecx, eax
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x40]
mov ebx, edx
jmp 0x4931ff
mov eax, dword [0xa1d8b8]
mov ecx, dword [0xa1d8bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5c
call fcn.004028e0
cmp dword [esp + 0xc], 0xffffffff
je 0x492ca2
xor eax, eax
jmp 0x492cc4
nop
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov byte [esp + 8], 0xa
call fcn.004028e0
cmp dword [esp + 0xc], 0xffffffff
sete al
test al, al
je 0x492de6
movzx eax, byte [esp + 0x26]
cmp al, 0x22
je 0x492d36
cmp al, 0x27
je 0x492ce2
xor ecx, ecx
jmp 0x492d62
mov eax, dword [esp + 0x28]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0x70]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00489e30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jne 0x492d2b
cmp eax, 0xfffd
je 0x492d23
mov eax, 1
jmp 0x492d2d
cmp ecx, 1
setne al
jmp 0x492d2d
xor eax, eax
mov ecx, eax
movzx eax, byte [esp + 0x26]
jmp 0x492d62
mov eax, dword [esp + 0x28]
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov edx, dword [esp + 0x70]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0048a780
movzx eax, byte [esp + 8]
mov ecx, eax
movzx eax, byte [esp + 0x26]
test cl, cl
je 0x492deb
movzx eax, byte [esp + 0x78]
test al, al
je 0x492d8c
mov ecx, dword [esp + 0x28]
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x70]
lea ebx, [edx + ecx]
mov ecx, eax
jmp 0x492d9a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x40]
mov ebx, edx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
sub eax, ecx
add eax, 0xfffffffe
mov ecx, eax
neg eax
sar eax, 0x1f
mov ebx, dword [esp + 0x40]
and ebx, eax
lea eax, [edx + ebx]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
movzx eax, byte [esp + 0x26]
movzx ecx, byte [esp + 0x78]
test cl, cl
jne 0x492dfa
xor edx, edx
xor ebx, ebx
jmp 0x492e40
lea eax, [0x67e920]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x28]
lea edx, [ecx + ecx*2]
lea ecx, [ecx + ecx*2 + 6]
shr ecx, 0x1f
lea ecx, [edx + ecx + 6]
sar ecx, 1
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.00447740
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x78]
mov edx, dword [esp + 0x48]
mov ebx, eax
movzx eax, byte [esp + 0x26]
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x2c]
xor edi, edi
jmp 0x492ee6
mov eax, dword [0xa1d8b8]
mov ecx, dword [0xa1d8bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov ecx, dword [0xa1d8b8]
mov edx, dword [0xa1d8bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x6c
ret
mov edx, esi
mov esi, ebx
mov ebx, edi
mov edi, ecx
movzx ecx, byte [esp + 0x78]
test ebp, ebp
je 0x4930f0
cmp byte [esi], al
je 0x4930e6
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x60], ebx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov byte [esp + 8], al
call fcn.00492510
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
cmp byte [esi], 0xa
je 0x49309f
test edx, edx
jne 0x49309f
movzx edx, byte [esp + 0x78]
test dl, dl
je 0x493083
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x30], ebp
cmp eax, 0x80
jl 0x492f60
test cl, cl
jne 0x492fc7
mov ecx, dword [esp + 0x44]
inc ecx
mov esi, dword [esp + 0x48]
cmp esi, ecx
jb 0x492f73
mov edi, dword [esp + 0x60]
jmp 0x492fbe
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edi, ebx
mov esi, edx
movzx edx, byte [esp + 0x78]
mov ebx, dword [esp + 0x5c]
mov byte [ecx + edi - 1], al
jmp 0x49308f
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 4
mov dword [esp + 0xc], eax
call fcn.0048a190
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x48]
cmp ebx, edx
jb 0x493008
mov ebp, dword [esp + 0x60]
jmp 0x493046
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [0x67e920]
mov dword [esp + 0x10], ecx
call fcn.00447800
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x54], edx
add ecx, ebp
mov dword [esp], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045fe60
movzx edx, byte [esp + 0x78]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x64]
jmp 0x49308f
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
movzx eax, byte [esp + 0x26]
cmp al, 0x27
jne 0x492ed9
jmp 0x4930f8
mov eax, dword [0xa1d8b8]
mov ecx, dword [0xa1d8bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov edx, ecx
mov ecx, edi
mov edi, ebx
mov ebx, esi
jmp 0x4930f8
mov edx, ecx
mov ecx, edi
mov edi, ebx
mov ebx, esi
test ebp, ebp
je 0x4931b8
cmp byte [ebx], al
jne 0x4931b8
lea eax, [ebp - 1]
mov esi, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ebx
test dl, dl
je 0x49317a
mov dword [esp + 0x54], esi
mov dword [esp + 0x68], eax
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
call fcn.0044b280
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x74]
sub ecx, ebp
inc ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
mov eax, dword [0xa1d8b8]
mov ecx, dword [0xa1d8bc]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x6c
ret
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
sub eax, ecx
add eax, 0xfffffffe
mov ecx, eax
neg eax
sar eax, 0x1f
mov ebx, dword [esp + 0x40]
and ebx, eax
lea eax, [edx + ebx]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
inc ebp
lea edi, [edx + 1]
cmp ebp, edi
jge 0x4932b6
movzx edi, byte [ecx + ebp]
xchg edi, eax
cmp al, 0xd
xchg edi, eax
je 0x49324b
inc esi
cmp ebx, esi
jae 0x4932ac
mov dword [esp + 0x3c], ebp
xchg edi, eax
mov byte [esp + 0x27], al
xchg edi, eax
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x67e920]
mov dword [esp + 0x10], eax
call fcn.00447800
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
movzx edi, byte [esp + 0x27]
xchg edi, ebx
mov byte [esi + eax - 1], bl
xchg edi, ebx
jmp 0x49324b
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044b280
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
jmp 0x4931ff
call fcn.0045e260
jmp fcn.00492b20