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

Disassembly:
mov ecx, dword [0x5fcebc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x470a15
sub esp, 0x90
mov edx, dword [esp + 0x98]
test edx, edx
je 0x470377
mov ebx, dword [esp + 0x9c]
lea ebp, [ebx - 2]
cmp ebp, 0x22
ja 0x4700ee
mov ebp, dword [esp + 0x94]
mov eax, ebx
mov edi, edx
mov esi, ebp
jmp 0x470176
test ebx, ebx
jne 0x470319
mov ebp, dword [esp + 0x94]
cmp byte [ebp], 0x30
jne 0x47016d
cmp edx, 3
jl 0x470155
movzx esi, byte [ebp + 1]
or esi, 0x20
xchg esi, eax
cmp al, 0x62
xchg esi, eax
jne 0x470123
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 2
jmp 0x470176
cmp edx, 3
jl 0x470155
xchg esi, eax
cmp al, 0x6f
xchg esi, eax
jne 0x47013c
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 8
jmp 0x470176
cmp edx, 3
jl 0x470155
xchg esi, eax
cmp al, 0x78
xchg esi, eax
jne 0x470155
lea esi, [ebp + 2]
lea edi, [edx - 2]
mov eax, 0x10
jmp 0x470176
lea edi, [edx - 1]
mov eax, edi
neg eax
sar eax, 0x1f
and eax, 1
lea esi, [ebp + eax]
mov eax, 8
jmp 0x470176
mov eax, 0xa
mov edi, edx
mov esi, ebp
mov ecx, edx
mov edx, dword [esp + 0xa0]
test edx, edx
jne 0x47018a
mov edx, 0x20
jmp 0x470193
cmp edx, 0x40
ja 0x4702c2
mov dword [esp + 0x70], edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x6c], eax
cmp eax, 0xa
jne 0x4701bf
mov dword [esp + 0x58], eax
mov eax, 0x9999999a
mov dword [esp + 0x40], eax
mov eax, 0x19999999
mov dword [esp + 0x44], eax
jmp 0x470236
cmp eax, 0x10
jne 0x4701d9
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, 0x10000000
mov dword [esp + 0x44], eax
jmp 0x470236
mov dword [esp + 0x68], edx
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], eax
sar eax, 0x1f
mov dword [esp + 0xc], eax
call fcn.00460400
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 1
adc ecx, 0
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x98]
mov ecx, edx
mov ebp, 1
shl ebp, cl
lea eax, [ecx - 0x20]
mov dword [esp + 0x64], eax
mov ecx, eax
mov ebx, 1
shl ebx, cl
neg eax
mov ecx, eax
mov esi, 1
shr esi, cl
mov edi, dword [esp + 0x64]
cmp edi, 0x20
sbb edi, edi
and edi, ebx
cmp edx, 0x20
sbb edx, edx
and edx, ebp
cmp eax, 0x20
sbb ebx, ebx
and esi, ebx
or esi, edi
add edx, 0xffffffff
mov dword [esp + 0x3c], edx
adc esi, 0xffffffff
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov byte [esp + 0x1b], al
xor eax, eax
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
jmp 0x470466
lea eax, [0x4d2dd2]
mov dword [esp], eax
mov dword [esp + 4], 9
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.0046ff50
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
lea eax, [0x4d2dd2]
mov dword [esp], eax
mov dword [esp + 4], 9
mov eax, dword [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0046fe00
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x470388
lea eax, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x4703ee
mov ecx, dword [esp + 0x88]
jmp 0x4703fc
call fcn.00466f40
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a8]
mov edx, dword [0x5ba4ac]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x47041f
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
inc edx
mov dword [esp + 0x68], edx
xchg esi, eax
mov byte [esp + 0x1b], al
xchg esi, eax
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x68]
cmp ebp, edx
jle 0x4708e0
movzx esi, byte [edi + edx]
xchg esi, eax
cmp al, 0x5f
xchg esi, eax
jne 0x470488
test ecx, ecx
jne 0x470488
mov esi, 1
jmp 0x470453
lea ecx, [esi - 0x30]
cmp cl, 9
jbe 0x4704ac
or esi, 0x20
xchg esi, eax
cmp al, 0x61
xchg esi, eax
jb 0x470801
xchg esi, eax
cmp al, 0x7a
xchg esi, eax
ja 0x470801
lea ecx, [esi - 0x57]
mov esi, dword [esp + 0x6c]
xchg esi, eax
cmp cl, al
xchg esi, eax
jae 0x470722
mov edi, dword [esp + 0x38]
cmp edi, eax
sete al
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov edx, dword [esp + 0x34]
cmp edx, ebx
setae bl
and ebx, eax
or ebx, ebp
test bl, bl
jne 0x47064c
mov eax, edx
mov ebx, eax
mul esi
imul edi, esi
add edx, edi
sar esi, 0x1f
imul ebx, esi
add edx, ebx
movzx ecx, cl
add ecx, eax
mov ebx, edx
adc edx, 0
cmp edx, ebx
setb bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp eax, ecx
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, esi
or ebx, edi
test bl, bl
jne 0x470572
mov ebx, dword [esp + 0x60]
cmp edx, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
mov eax, ebx
mov ebx, dword [esp + 0x3c]
cmp ecx, ebx
seta bl
and ebx, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x470576
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x8c]
movzx esi, byte [esp + 0x1b]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x68]
jmp 0x470453
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x94]
test ecx, ecx
jne 0x470587
lea ecx, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x4705ea
mov ecx, dword [esp + 0x78]
jmp 0x4705f5
call fcn.00466f40
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a0]
mov edx, dword [0x5ba4a4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x470618
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa8], ecx
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x47065d
lea eax, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x4706c0
mov ecx, dword [esp + 0x7c]
jmp 0x4706cb
call fcn.00466f40
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a0]
mov edx, dword [0x5ba4a4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x4706ee
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa8], ecx
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x470733
lea eax, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x47079c
mov ecx, dword [esp + 0x80]
jmp 0x4707aa
call fcn.00466f40
mov ecx, dword [esp + 0x80]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a8]
mov edx, dword [0x5ba4ac]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x4707cd
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x470812
lea eax, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x47087b
mov ecx, dword [esp + 0x84]
jmp 0x470889
call fcn.00466f40
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a8]
mov edx, dword [0x5ba4ac]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x4708ac
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
movzx eax, byte [esp + 0x1b]
test al, al
je 0x47090c
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.004711f0
movzx eax, byte [esp + 8]
test al, al
je 0x47093f
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
add esp, 0x90
ret
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x470950
lea eax, [0x5fcda0]
mov dword [esp], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
call fcn.004510c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
lea edx, [0x4c6ee0]
mov dword [esp], edx
call fcn.0040cdd0
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x4d2dd2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
jne 0x4709b3
mov ecx, dword [esp + 0x74]
jmp 0x4709be
call fcn.00466f40
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0x5ba4a8]
mov edx, dword [0x5ba4ac]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x5fcf70]
test ecx, ecx
je 0x4709e1
call fcn.00466f40
mov dword [edi], edx
mov dword [eax + 0x14], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [0x4f95cc]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
add esp, 0x90
ret
call fcn.00465b40
jmp fcn.004700a0