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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x49c9e5
sub esp, 0x84
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004716fb
mov byte [esp + 0x37], 1
mov ecx, dword [esp + 0x90]
cmp ecx, 0x13
jl 0x49c34a
mov edx, dword [esp + 0x8c]
xor ebx, ebx
xor ebp, ebp
jmp 0x49c373
lea edi, [esp + 0x98]
call fcn.004716fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea ebp, [ebp + ebp*4]
xchg esi, eax
movzx eax, al
xchg esi, eax
inc ebx
lea ebp, [esi + ebp*2 - 0x30]
cmp ebx, 4
jge 0x49c38f
movzx esi, byte [edx + ebx]
lea edi, [esi - 0x30]
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x49c365
mov byte [esp + 0x37], 0
xor ebp, ebp
jmp 0x49c39e
cmp ebp, 0x270f
jbe 0x49c39e
mov byte [esp + 0x37], 0
xor ebp, ebp
xor ebx, ebx
xor esi, esi
jmp 0x49c3b3
lea eax, [esi + esi*4]
xchg edi, eax
movzx esi, al
xchg edi, eax
inc ebx
lea esi, [esi + eax*2 - 0x30]
xor eax, eax
cmp ebx, 2
jge 0x49c3d1
movzx edi, byte [edx + ebx + 5]
lea eax, [edi - 0x30]
cmp al, 9
jbe 0x49c3a4
mov byte [esp + 0x37], 0
mov esi, 1
jmp 0x49c3e3
lea ebx, [esi - 1]
cmp ebx, 0xb
jbe 0x49c3e3
mov byte [esp + 0x37], 0
mov esi, 1
cmp esi, 2
jne 0x49c428
test ebp, 3
jne 0x49c422
mov ebx, ebp
sar ebp, 0x1f
mov eax, 0x51eb851f
mov edi, edx
imul ebx
mov eax, edx
sar edx, 5
sub edx, ebp
imul edx, edx, 0x64
cmp ebx, edx
jne 0x49c41b
sar eax, 7
sub eax, ebp
imul edx, eax, 0x190
cmp ebx, edx
jne 0x49c42c
mov ebp, 0x1d
jmp 0x49c44e
mov ebx, ebp
mov edi, edx
jmp 0x49c42c
mov ebx, ebp
mov edi, edx
cmp esi, 0xd
jae 0x49c9d8
lea eax, [esi - 1]
lea edx, [0x8aca40]
mov ebp, dword [edx + esi*4]
cmp eax, 0xd
jae 0x49c9ce
sub ebp, dword [edx + esi*4 - 4]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], esi
xor eax, eax
xor edx, edx
jmp 0x49c471
lea edx, [edx + edx*4]
xchg esi, eax
movzx ebx, al
xchg esi, eax
inc eax
lea edx, [ebx + edx*2 - 0x30]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
cmp eax, 2
jge 0x49c497
movzx esi, byte [edi + eax + 8]
lea ebx, [esi - 0x30]
cmp bl, 9
jbe 0x49c45c
mov byte [esp + 0x37], 0
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov edx, 1
jmp 0x49c4a9
test edx, edx
jle 0x49c49f
cmp edx, ebp
jle 0x49c4a9
mov byte [esp + 0x37], 0
mov edx, 1
mov dword [esp + 0x48], edx
xor eax, eax
xor ebp, ebp
jmp 0x49c4c7
lea ebp, [ebp + ebp*4]
movzx edx, dl
inc eax
lea ebp, [edx + ebp*2 - 0x30]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
cmp eax, 2
jge 0x49c4ec
movzx edx, byte [edi + eax + 0xb]
lea esi, [edx - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x49c4b3
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ebp, ebp
jmp 0x49c4f8
cmp ebp, 0x17
jbe 0x49c4f8
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x44], ebp
xor eax, eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
jmp 0x49c525
mov edx, dword [esp + 0x40]
lea edx, [edx + edx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
inc eax
lea edx, [ebp + edx*2 - 0x30]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x48]
cmp eax, 2
jge 0x49c548
movzx ebp, byte [edi + eax + 0xe]
lea edx, [ebp - 0x30]
cmp dl, 9
jbe 0x49c508
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49c55a
mov eax, ebp
mov ebp, dword [esp + 0x40]
cmp ebp, 0x3b
jbe 0x49c55a
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
jmp 0x49c597
mov edx, dword [esp + 0x3c]
lea edx, [edx + edx*4]
movzx eax, al
inc ebp
lea eax, [eax + edx*2 - 0x30]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x60]
cmp ebp, 2
jge 0x49c5be
movzx eax, byte [edi + ebp + 0x11]
lea edx, [eax - 0x30]
cmp dl, 9
jbe 0x49c574
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
xor ebp, ebp
jmp 0x49c5ce
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x3b
jbe 0x49c5ce
mov byte [esp + 0x37], 0
xor ebp, ebp
mov dword [esp + 0x3c], ebp
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49c644
cmp byte [edi + 4], 0x2d
jne 0x49c644
cmp byte [edi + 7], 0x2d
jne 0x49c644
cmp byte [edi + 0xa], 0x54
jne 0x49c644
cmp byte [edi + 0xd], 0x3a
jne 0x49c644
cmp byte [edi + 0x10], 0x3a
jne 0x49c644
lea ebp, [ecx - 0x13]
mov dword [esp + 0x50], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 0x13
lea ecx, [edi + ebp]
mov eax, dword [esp + 0x50]
cmp eax, 2
jl 0x49c640
cmp byte [ecx], 0x2e
jne 0x49c63c
movzx ebp, byte [edi + ebp + 1]
add ebp, 0xffffffd0
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x49c638
mov ebp, 2
jmp 0x49c94c
xor ebp, ebp
jmp 0x49c661
xor ebp, ebp
jmp 0x49c661
xor ebp, ebp
jmp 0x49c661
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004716fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
mov dword [esp + 0x80], ecx
mov dword [esp + 0x64], eax
mov edi, dword [0x8e1efc]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
call fcn.00496b10
lea edi, [esp + 0x68]
lea esi, [esp + 0x20]
call fcn.00471bde
mov eax, dword [esp + 0x64]
cmp eax, 1
je 0x49c6c1
mov ecx, dword [esp + 0x80]
jmp 0x49c6cd
mov ecx, dword [esp + 0x80]
cmp byte [ecx], 0x5a
je 0x49c6f5
cmp eax, 6
jne 0x49c6d8
xor eax, eax
xor edx, edx
jmp 0x49c71f
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004716fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
lea edi, [esp + 0x98]
lea esi, [esp + 0x68]
call fcn.00471bde
mov byte [esp + 0xac], 1
add esp, 0x84
ret
lea ebp, [edx + edx*4]
movzx ebx, bl
inc eax
lea edx, [ebx + ebp*2 - 0x30]
cmp eax, 2
jge 0x49c73c
movzx ebx, byte [eax + ecx + 1]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x49c714
mov byte [esp + 0x37], 0
xor edx, edx
jmp 0x49c748
cmp edx, 0x17
jbe 0x49c748
mov byte [esp + 0x37], 0
xor edx, edx
xor eax, eax
xor ebx, ebx
jmp 0x49c75b
lea esi, [ebx + ebx*4]
xchg ebp, eax
movzx eax, al
xchg ebp, eax
inc eax
lea ebx, [ebp + esi*2 - 0x30]
cmp eax, 2
jge 0x49c778
movzx ebp, byte [ecx + eax + 4]
lea esi, [ebp - 0x30]
xchg esi, eax
cmp al, 9
xchg esi, eax
jbe 0x49c74e
mov byte [esp + 0x37], 0
xor ebx, ebx
jmp 0x49c784
cmp ebx, 0x3b
jbe 0x49c784
mov byte [esp + 0x37], 0
xor ebx, ebx
movzx ebp, byte [esp + 0x37]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49c92e
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
je 0x49c7a8
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x49c92e
cmp byte [ecx + 3], 0x3a
jne 0x49c92e
imul eax, edx, 0x3c
add eax, ebx
imul eax, eax, 0x3c
xchg ebp, eax
cmp al, 0x2d
xchg ebp, eax
jne 0x49c7c3
neg eax
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x68]
mov dword [esp], ecx
mov ecx, eax
sar eax, 0x1f
xor edx, edx
sub edx, ecx
mov dword [esp + 4], edx
mov edx, 0
sbb edx, eax
mov dword [esp + 8], edx
call fcn.00494ef0
mov eax, dword [esp + 0x6c]
test eax, 0x80000000
je 0x49c81c
mov ecx, dword [esp + 0x68]
shl eax, 1
mov edx, ecx
shl ecx, 1
shr edx, 0x1f
or eax, edx
mov edx, eax
shl eax, 1
shr ecx, 0x1f
or ecx, eax
shr edx, 0x1f
add ecx, 0xd7b17f80
adc edx, 0xd
jmp 0x49c824
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x94]
mov dword [esp], eax
add ecx, 0x886e0900
mov dword [esp + 4], ecx
adc edx, 0xfffffff1
mov dword [esp + 8], edx
call fcn.00497490
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x14], eax
jne 0x49c8b4
nop
mov eax, dword [esp + 0x94]
lea ecx, [0x8ebb80]
cmp eax, ecx
jne 0x49c862
xor eax, eax
mov ecx, dword [esp + 0x6c]
nop
test ecx, 0x80000000
je 0x49c8ab
mov edx, dword [esp + 0x68]
shl ecx, 1
mov ebx, edx
shl edx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr edx, 0x1f
or edx, ebx
shr ecx, 0x1f
add edx, 0xd7b17f80
mov dword [esp + 0x70], edx
adc ecx, 0xd
mov dword [esp + 0x74], ecx
and dword [esp + 0x68], 0x3fffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
jmp 0x49c6f5
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00497280
mov eax, dword [esp + 0xc]
lea ecx, [0x8ebb80]
cmp eax, ecx
jne 0x49c8dc
xor eax, eax
mov ecx, dword [esp + 0x6c]
nop
test ecx, 0x80000000
je 0x49c925
mov edx, dword [esp + 0x68]
mov ebx, edx
shl edx, 1
shl ecx, 1
shr ebx, 0x1f
or ebx, ecx
mov ecx, ebx
shl ebx, 1
shr ecx, 0x1f
shr edx, 0x1f
or edx, ebx
add edx, 0xd7b17f80
mov dword [esp + 0x70], edx
adc ecx, 0xd
mov dword [esp + 0x74], ecx
and dword [esp + 0x68], 0x3fffffff
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
jmp 0x49c6f5
lea edi, [esp + 0x98]
xor eax, eax
call fcn.004716fb
mov byte [esp + 0xac], 0
add esp, 0x84
ret
inc ebp
cmp ebp, eax
jge 0x49c95f
movzx edi, byte [ebp + ecx]
add edi, 0xffffffd0
xchg edi, eax
cmp al, 9
xchg edi, eax
jbe 0x49c94b
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.0049bfd0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
ja 0x49c9c9
mov edi, dword [esp + 0x90]
sub edi, eax
add edi, 0xffffffed
mov ecx, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and eax, edi
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x7c]
add edi, eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov eax, ecx
mov ecx, edi
jmp 0x49c661
call fcn.00471540
mov ecx, 0xd
call fcn.004714e0
mov eax, esi
mov ecx, 0xd
call fcn.004714e0
nop
call fcn.00470060
jmp fcn.0049c300