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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
call sub.msvcrt.dll_localeconv
mov eax, dword [eax]
mov dword [esp + 0x60], eax
push eax
call sub.msvcrt.dll_strlen
add esp, 4
mov dword [esp + 0x14], 0
xorpd xmm0, xmm0
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x20], 0
mov edi, dword [esi]
inc ebx
jmp 0x100a88b1
inc ebx
movzx edx, byte [ebx - 1]
movzx esi, dl
lea ecx, [esi - 9]
cmp ecx, 5
jb 0x100a88b0
cmp esi, 0x2a
jg 0x100a88d0
cmp esi, 0x20
je 0x100a88b0
test esi, esi
je 0x100a88f7
jmp 0x100a8910
cmp esi, 0x2b
je 0x100a88e4
cmp esi, 0x2d
jne 0x100a8910
mov dword [esp + 0x10], 1
jmp 0x100a88ec
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ebx
movzx edx, byte [ebx]
test dl, dl
jne 0x100a891d
mov dword [esp + 0x14], 6
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
xor esi, esi
mov ebx, dword [ebp + 0xc]
jmp 0x100aa0f8
dec ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], 0
cmp dl, 0x30
mov dword [esp + 0xc], edi
mov byte [esp + 0x70], dl
jne 0x100a8979
movzx ecx, byte [ebx + 1]
or ecx, 0x20
cmp ecx, 0x78
jne 0x100a8a90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
mov esi, dword [esp + 0x10]
push esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
call fcn.100b1340
mov edi, dword [esp + 0x20]
add esp, 0x14
mov dword [esp + 0x14], eax
cmp eax, 6
mov ebx, dword [ebp + 0xc]
jne 0x100aa0f8
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
xor esi, esi
jmp 0x100aa0f8
mov dword [esp + 0x3c], ebx
mov ebx, edx
mov dword [esp + 0x44], eax
movsx edi, bl
mov ecx, ebx
add cl, 0xd0
mov dword [esp + 0x34], 0
cmp cl, 9
ja 0x100a89fd
xor edx, edx
mov dword [esp + 0x28], 0
xor esi, esi
jmp 0x100a89e2
mov ecx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*2]
add ecx, 0xffffffd0
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x3c]
lea esi, [eax + 1]
lea ecx, [ebx + eax]
inc ecx
mov dword [esp + 0x24], ecx
movzx ebx, byte [ebx + eax + 1]
movsx edi, bl
mov ecx, ebx
add cl, 0xd0
cmp cl, 0xa
jae 0x100a8a0f
mov eax, esi
cmp esi, 8
jbe 0x100a89b0
cmp eax, 0xf
mov ebx, dword [esp + 0x3c]
ja 0x100a89c5
lea ecx, [edx + edx*4]
lea edx, [edi + ecx*2]
add edx, 0xffffffd0
jmp 0x100a89c5
xor esi, esi
mov dword [esp + 0x28], 0
xor edx, edx
mov eax, dword [esp + 0x3c]
jmp 0x100a8a15
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x60]
cmp bl, byte [eax]
mov dword [esp + 0x80], esi
jne 0x100a8a6d
mov ebx, eax
movzx ecx, byte [eax + 1]
test cl, cl
mov dword [esp + 0x48], edi
je 0x100a8abe
mov al, 1
mov dword [esp + 0x54], eax
mov eax, 1
nop dword [eax + eax]
mov edi, ebx
mov ebx, dword [esp + 0x18]
cmp byte [ebx + eax], cl
jne 0x100a8b03
mov ebx, edi
movzx ecx, byte [edi + eax + 1]
inc eax
test cl, cl
jne 0x100a8a50
jmp 0x100a8ac3
mov al, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, esi
mov dword [esp + 0x2c], 0
mov esi, edi
mov edi, dword [esp + 0x28]
jmp 0x100a8d00
inc ebx
mov ecx, ebx
nop word cs:[eax + eax]
mov dword [esp + 0x24], ecx
movzx ebx, byte [ecx]
inc ecx
cmp ebx, 0x30
je 0x100a8aa0
mov dword [esp + 0x3c], ecx
test ebx, ebx
jne 0x100a8b22
mov esi, dword [esp + 0x10]
jmp 0x100a8908
mov eax, 1
mov ebx, dword [esp + 0x18]
lea ecx, [ebx + eax]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x24], ecx
movsx eax, byte [ebx + eax]
test esi, esi
je 0x100a8b2b
mov dword [esp + 0x34], 0
mov ecx, esi
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov ebx, dword [esp + 0x60]
mov esi, eax
mov edi, dword [esp + 0x28]
jmp 0x100a8bae
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, esi
mov dword [esp + 0x2c], 0
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
jmp 0x100a8d00
dec dword [esp + 0x3c]
jmp 0x100a897f
xor ecx, ecx
cmp al, 0x30
jne 0x100a8b63
xor eax, eax
mov ebx, dword [esp + 0x60]
nop word [eax + eax]
lea ecx, [ebx + eax]
inc ecx
mov dword [esp + 0x24], ecx
movsx esi, byte [ebx + eax + 1]
inc eax
cmp esi, 0x30
je 0x100a8b40
add ebx, eax
xor ecx, ecx
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, ebx
jmp 0x100a8b75
mov esi, eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
lea ebx, [esi - 0x31]
mov dword [esp + 0x1c], ebx
mov ebx, 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x1c], 9
jae 0x100a8d00
jmp 0x100a8bca
lea eax, [esi - 0x30]
cmp eax, 9
mov dword [esp + 0x60], ebx
ja 0x100a8cf0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov eax, esi
mov ecx, dword [esp + 0x60]
lea esi, [ebx + 1]
add eax, 0xffffffd0
mov dword [esp + 0x48], eax
je 0x100a8bfd
mov eax, dword [esp + 0x18]
add eax, esi
test ebx, ebx
mov dword [esp + 0x18], eax
jle 0x100a8c0c
cmp ebx, 1
mov dword [esp + 0x2c], ebx
jne 0x100a8c17
mov ebx, dword [esp + 0x1c]
jmp 0x100a8c70
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x1c]
mov esi, ecx
jmp 0x100a8cd4
mov esi, ecx
mov ebx, dword [esp + 0x1c]
jmp 0x100a8ca1
mov esi, ebx
and esi, 0x7ffffffe
mov eax, dword [esp + 0x1c]
nop word cs:[eax + eax]
lea ebx, [edi + edi]
lea ecx, [edx + edx]
cmp eax, 0x10
lea ecx, [ecx + ecx*4]
cmovge ecx, edx
cmp eax, 9
lea ebx, [ebx + ebx*4]
cmovge ebx, edi
cmovl ecx, edx
lea edi, [ebx + ebx]
lea edx, [ecx + ecx]
cmp eax, 0xf
lea edx, [edx + edx*4]
cmovge edx, ecx
cmp eax, 8
lea edi, [edi + edi*4]
cmovge edi, ebx
lea ebx, [eax + 2]
cmovl edx, ecx
mov eax, ebx
add esi, 0xfffffffe
jne 0x100a8c30
mov eax, dword [esp + 0x2c]
test al, 1
mov esi, dword [esp + 0x60]
je 0x100a8c9b
lea eax, [edi + edi]
lea ecx, [edx + edx]
cmp ebx, 0x10
lea ecx, [ecx + ecx*4]
cmovge ecx, edx
cmp ebx, 9
lea eax, [eax + eax*4]
cmovl edi, eax
mov eax, dword [esp + 0x2c]
cmovge edx, ecx
mov ebx, dword [esp + 0x1c]
add ebx, eax
lea eax, [ebx + 1]
cmp ebx, 8
jg 0x100a8cbd
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x48]
lea edi, [edi + ecx*2]
mov dword [esp + 0x2c], 0
jmp 0x100a8cd4
mov dword [esp + 0x2c], 0
cmp ebx, 0xf
ja 0x100a8cd4
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x48]
lea edx, [edx + ecx*2]
lea ecx, [esi + 1]
mov dword [esp + 0x24], ecx
movsx esi, byte [esi + 1]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
jmp 0x100a8bae
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], esi
and esi, 0xffffffdf
xor ebx, ebx
cmp esi, 0x45
jne 0x100a8d40
cmp byte [esp + 0x70], 0x30
je 0x100a8e29
test ecx, ecx
jne 0x100a8e29
cmp dword [esp + 0x2c], 0
jne 0x100a8e29
mov dword [esp + 0x14], 6
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
jmp 0x100a9d56
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], eax
test ecx, ecx
mov eax, dword [esp + 0x2c]
je 0x100a8d8e
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
and eax, 3
je 0x100a8ec1
cmp eax, 3
je 0x100a8eb6
mov dword [esp + 0x40], 0
cmp eax, 2
jne 0x100a8ec9
mov eax, 2
sub eax, dword [esp + 0x10]
jmp 0x100a8ebb
cmp byte [esp + 0x70], 0x30
je 0x100a9d56
test eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
jne 0x100a9adf
mov esi, dword [esp + 0x60]
cmp byte [esp + 0x54], 0
je case.0x100a8dc9.74
mov ecx, dword [esp + 0x48]
add ecx, 0xffffffb7
cmp ecx, 0x25
ja case.0x100a8dc9.74
mov eax, ecx
jmp dword [ecx*4 + 0x100c1d28]
lea eax, [esp + 0x24]
push 0x100c1dc0
push eax
call fcn.100b1d80
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
je case.0x100a8dc9.74
dec dword [esp + 0x24]
push str.inity
lea eax, [esp + 0x28]
push eax
call fcn.100b1d80
add esp, 8
test eax, eax
jne 0x100a8e0c
inc dword [esp + 0x24]
mov dword [esp + 0x14], 3
mov dword [esp + 0x60], 0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
jmp 0x100aa0b8
mov esi, dword [esp + 0x60]
lea eax, [esi + 1]
mov dword [esp + 0x24], eax
movzx ebx, byte [esi + 1]
mov dword [esp + 0xa0], 0
cmp ebx, 0x2b
je 0x100a8e58
cmp ebx, 0x2d
jne 0x100a8e67
mov dword [esp + 0xa0], 1
mov esi, dword [esp + 0x60]
lea eax, [esi + 2]
mov dword [esp + 0x24], eax
movzx ebx, byte [esi + 2]
movsx esi, bl
add bl, 0xd0
cmp bl, 9
ja 0x100a8ea3
mov dword [esp + 0x28], edi
mov ebx, esi
cmp bl, 0x30
mov dword [esp + 0x1c], ecx
jne 0x100a9ae8
inc eax
nop word cs:[eax + eax]
mov dword [esp + 0x24], eax
movsx edi, byte [eax]
inc eax
cmp edi, 0x30
je 0x100a8e90
dec eax
jmp 0x100a9aea
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
xor ebx, ebx
jmp 0x100a8d47
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x40], eax
jmp 0x100a8ec9
mov dword [esp + 0x40], 1
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x80]
test eax, eax
cmove eax, ecx
mov dword [esp + 0x80], eax
cmp ecx, 0x11
mov esi, 0x11
cmovl esi, ecx
movd xmm1, edi
por xmm1, xmmword [0x100c1cc0]
subsd xmm1, qword [0x100c1cd0]
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0xc0], xmm1
cmp ecx, 0xa
mov dword [esp + 0x18], esi
jl 0x100a8f59
movd xmm0, edx
por xmm0, xmmword [0x100c1cc0]
subsd xmm0, qword [0x100c1cd0]
mov eax, dword [0x100c1e2c]
mulsd xmm1, qword [eax + esi*8 - 0x48]
addsd xmm1, xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0xb8], xmm1
mov eax, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
jmp 0x100a8f67
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x34]
sub dword [esp + 0x28], esi
cmp dword [esp + 0xc], 0x35
mov dword [esp + 0x1c], ecx
jg 0x100a902b
cmp ecx, 0xf
jg 0x100a902b
cmp dword [esp + 0x28], 0
je 0x100a9aa3
jle 0x100a9b8f
mov esi, dword [esp + 0x28]
cmp esi, 0x16
ja 0x100a9c01
or ebx, 0x100000
xor ecx, ecx
test eax, eax
setne cl
cmovne ebx, eax
shl ecx, 5
tzcnt eax, ebx
add ecx, dword [esi*4 + 0x100c1dcc]
sub ecx, eax
add ecx, 0x15
xor eax, eax
cmp ecx, 0x36
setl al
mov ecx, dword [0x100c1e2c]
mulsd xmm1, qword [ecx + esi*8]
movapd xmmword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm1
lea ebx, [esp + 0x14]
lea ecx, [esp + 0x58]
push ebx
push dword [esp + 0x44]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100aa350
movapd xmm1, xmmword [esp + 0x74]
add esp, 0x14
movsd qword [esp + 0xf0], xmm1
test eax, eax
jne 0x100a9d56
xor eax, eax
mov ebx, dword [esp + 0xf4]
jmp 0x100a9bf8
mov eax, dword [esp + 0x28]
mov edx, ecx
sub edx, dword [esp + 0x18]
add edx, eax
jle 0x100a912b
mov eax, edx
and eax, 0xf
je 0x100a9065
mov ecx, dword [0x100c1e2c]
mulsd xmm1, qword [ecx + eax*8]
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0xd8], xmm1
mov ebx, dword [esp + 0xdc]
xor eax, eax
cmp edx, 0x10
jb 0x100a9223
mov ecx, edx
shr ecx, 4
xor eax, eax
cmp edx, 0x100
jb 0x100a90da
mov eax, dword [0x100c1e28]
movsd xmm0, qword [eax + 0x20]
xor eax, eax
nop dword [eax + eax]
mov edx, ebx
shr edx, 0x14
and edx, 0x7ff
add eax, edx
add eax, 0xfffffc01
and ebx, 0x800fffff
or ebx, 0x3ff00000
mov dword [esp + 0x5c], ebx
movsd xmm1, qword [esp + 0x58]
mulsd xmm1, xmm0
movsd qword [esp + 0x58], xmm1
add ecx, 0xfffffff0
movsd qword [esp + 0xd0], xmm1
mov ebx, dword [esp + 0xd4]
cmp ecx, 0xf
ja 0x100a9090
mov edx, ebx
shr edx, 0x14
and edx, 0x7ff
and ebx, 0x800fffff
or ebx, 0x3ff00000
mov dword [esp + 0x5c], ebx
movsd xmm1, qword [esp + 0x58]
test ecx, ecx
je 0x100a9216
mov ebx, dword [0x100c1e28]
jmp 0x100a9120
mov esi, ecx
shr ecx, 1
add ebx, 8
cmp esi, 2
jb 0x100a9216
test cl, 1
je 0x100a9110
mulsd xmm1, qword [ebx]
jmp 0x100a9110
xor eax, eax
test edx, edx
jns 0x100a9223
neg edx
mov eax, edx
and eax, 0xf
je 0x100a915f
mov ecx, dword [0x100c1e2c]
divsd xmm1, qword [ecx + eax*8]
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0xe8], xmm1
mov ebx, dword [esp + 0xec]
cmp edx, 0x10
mov eax, 0
jb 0x100a9223
mov ecx, edx
shr ecx, 4
xor eax, eax
cmp edx, 0x100
jb 0x100a91d2
mov eax, dword [0x100c1e30]
movsd xmm0, qword [eax + 0x20]
xor eax, eax
mov edx, ebx
shr edx, 0x14
and edx, 0x7ff
add eax, edx
add eax, 0xfffffc01
and ebx, 0x800fffff
or ebx, 0x3ff00000
mov dword [esp + 0x5c], ebx
movsd xmm1, qword [esp + 0x58]
mulsd xmm1, xmm0
movsd qword [esp + 0x58], xmm1
add ecx, 0xfffffff0
movsd qword [esp + 0xe0], xmm1
mov ebx, dword [esp + 0xe4]
cmp ecx, 0xf
ja 0x100a9188
mov edx, ebx
shr edx, 0x14
and edx, 0x7ff
and ebx, 0x800fffff
or ebx, 0x3ff00000
mov dword [esp + 0x5c], ebx
movsd xmm1, qword [esp + 0x58]
test ecx, ecx
je 0x100a9216
mov ebx, dword [0x100c1e30]
jmp 0x100a920b
mov esi, ecx
shr ecx, 1
add ebx, 8
cmp esi, 2
jb 0x100a9216
test cl, 1
je 0x100a91ff
mulsd xmm1, qword [ebx]
jmp 0x100a91ff
add eax, edx
add eax, 0xfffffc01
movsd qword [esp + 0x58], xmm1
sub esp, 0x10
mov ebx, eax
lea eax, [esp + 0x40]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
movsd qword [esp], xmm1
call fcn.100b11a0
add esp, 0x10
mov esi, eax
mov eax, ebx
mov dword [esp + 0x20], esi
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov ebx, ecx
mov edx, dword [esp + 0xc]
sub ebx, edx
jle 0x100a9281
push ebx
push esi
call fcn.100b1f20
mov edx, dword [esp + 0x14]
add esp, 8
add ebx, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ebx
mov ecx, edx
mov eax, ebx
mov dword [esp + 0x18], eax
sub eax, edx
mov dword [esp + 0x2c], ecx
add eax, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
inc ecx
mov dword [esp + 0x60], 0
cmp eax, ecx
jle 0x100a92ae
mov eax, esi
mov ebx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
jmp 0x100a9fe2
mov ecx, dword [ebx + 4]
mov dword [esp + 0x50], eax
cmp eax, ecx
mov ebx, ecx
mov dword [esp + 0x4c], ecx
jge 0x100a92f4
mov eax, dword [esp + 0x18]
sub eax, ecx
mov ebx, dword [esp + 0x28]
jle 0x100a9c17
push eax
push esi
mov dword [esp + 0x20], eax
call fcn.100b0cc0
mov ecx, dword [esp + 0x54]
add esp, 8
mov esi, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x30], eax
jmp 0x100aa157
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ecx
push dword [esp + 0x8c]
push dword [esp + 0x4c]
mov esi, edx
call fcn.100b1c00
add esp, 0x14
mov dword [esp + 0x74], eax
add eax, 0xc
mov dword [esp + 0x98], eax
mov ecx, ebx
neg ecx
test ebx, ebx
mov eax, 0
cmovs ebx, eax
mov dword [esp + 0x28], ebx
cmovns ecx, eax
mov dword [esp + 0x48], ecx
lea eax, [esi + 1]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
and eax, 1
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], 0
jmp 0x100a93b6
ucomisd xmm2, xmm3
ja 0x100a9e63
mov dword [esp + 0x34], 0
cmp dword [esp + 0x60], 0
je 0x100a96b9
push dword [esp + 0x18]
call fcn.100b0710
add esp, 4
push dword [esp + 0x2c]
call fcn.100b0710
add esp, 4
push dword [esp + 0x1c]
call fcn.100b0710
add esp, 4
push dword [esp + 0x3c]
call fcn.100b0710
add esp, 4
mov esi, dword [esp + 0x74]
push dword [esi + 4]
call fcn.100b05b0
add esp, 4
mov dword [esp + 0x2c], eax
add eax, 0xc
mov ecx, dword [esi + 0x10]
lea ecx, [ecx*4 + 8]
push ecx
push dword [esp + 0x9c]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x20]
push dword [esi + 4]
call fcn.100b05b0
add esp, 4
mov dword [esp + 0x18], eax
add eax, 0xc
mov ecx, dword [esi + 0x10]
add esi, 0xc
lea ecx, [ecx*4 + 8]
push ecx
push esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x30]
mov ebx, esi
mov eax, dword [esp + 0x34]
sub ebx, eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
lea edi, [ecx + eax]
push 1
call fcn.100b08d0
add esp, 4
test edi, edi
mov edx, edi
mov ecx, 0
cmovns edx, ecx
cmovs edi, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
add edi, dword [esp + 0x48]
sub esi, dword [esp + 0xc]
add esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x54], ebx
sub edx, ebx
sub esi, dword [esp + 0x4c]
mov ebx, 0
cmovge esi, ebx
add esi, edx
lea edx, [edi + esi]
add esi, ecx
mov ecx, dword [esp + 0x48]
cmp edx, esi
mov ebx, esi
cmovl ebx, edx
cmp ebx, edi
mov dword [esp + 0x3c], edi
cmovge ebx, edi
test ebx, ebx
mov edi, 0
cmovle ebx, edi
test ecx, ecx
jle 0x100a94d6
push ecx
push eax
mov dword [esp + 0x78], edx
call fcn.100b0ae0
add esp, 8
mov edi, dword [esp + 0x18]
push edi
mov dword [esp + 0x20], eax
push eax
call fcn.100b0970
add esp, 8
mov dword [esp + 0x80], eax
push edi
call fcn.100b0710
mov edx, dword [esp + 0x74]
add esp, 4
mov eax, dword [esp + 0x80]
jmp 0x100a94de
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
add ecx, ebx
sub edx, ecx
test edx, edx
jle 0x100a94f6
push edx
push eax
call fcn.100b0cc0
add esp, 8
jmp 0x100a94fc
js 0x100a979d
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x100a9517
push eax
push dword [esp + 0x30]
call fcn.100b0ae0
add esp, 8
jmp 0x100a951b
mov eax, dword [esp + 0x2c]
sub esi, ebx
test esi, esi
jle 0x100a952b
push esi
push eax
call fcn.100b0cc0
add esp, 8
mov ecx, dword [esp + 0x3c]
sub ecx, ebx
test ecx, ecx
jle 0x100a954a
push ecx
push dword [esp + 0x20]
mov esi, eax
call fcn.100b0cc0
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, esi
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
push eax
push dword [esp + 0x1c]
call fcn.100b0ed0
add esp, 8
cmp dword [eax + 0x10], 1
mov dword [esp + 0x3c], eax
jg 0x100a9576
cmp dword [eax + 0x14], 0
je 0x100a9d66
mov esi, dword [eax + 0xc]
mov dword [eax + 0xc], 0
push dword [esp + 0x1c]
push eax
call fcn.100b0e80
add esp, 8
test ebx, ebx
je 0x100a95e3
test eax, eax
jg 0x100a95e3
mov eax, esi
xor eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x14]
je 0x100a9d7f
mov dword [esp + 0x34], eax
test esi, esi
je 0x100a96cb
mov dword [esp + 0x14], 0x21
mov al, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], 0
mov edx, 0x20
movsd xmm0, qword [0x100c1cf0]
movapd xmm1, xmm0
jmp 0x100a9830
test eax, eax
js 0x100a9da6
je 0x100a9e20
push dword [esp + 0x1c]
push dword [esp + 0x40]
call fcn.100b1cc0
add esp, 8
fstp qword [esp + 0xc8]
movsd xmm1, qword [esp + 0xc8]
mov dword [esp + 0x34], 0
movsd xmm0, qword [0x100c1cd8]
ucomisd xmm0, xmm1
jae 0x100a9732
mulsd xmm1, qword [0x100c1ce0]
xor edx, edx
test esi, esi
setne cl
sete dl
shl edx, 4
add edx, 0x10
movsd xmm0, qword [0x100c1ce8]
ucomisd xmm0, xmm1
mov dword [esp + 0x70], ecx
jbe 0x100a97af
cvttsd2si eax, xmm1
cvttpd2dq xmm0, xmm1
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
cmp ebx, 2
je 0x100a97e3
cmp ebx, 1
jne 0x100a9807
mov dword [esp + 0x34], 0
test esi, esi
mov ecx, dword [esp + 0xc]
jne 0x100a9821
ucomisd xmm1, qword [0x100c1d20]
jbe 0x100a9821
inc eax
mov esi, eax
mov eax, 0x30
sub eax, edx
mov dword [esp + 0x44], esi
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
mov edx, eax
jmp 0x100a9830
push edi
call fcn.100b2070
add esp, 4
mov dword [esp + 0x34], eax
jmp 0x100a9386
mov dword [esp + 0x14], 0x11
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x4c]
je 0x100a975e
xor edx, edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov edi, ecx
cmp ecx, 0x20
jl 0x100a9712
xor edx, edx
mov ecx, dword [esp + 0xc]
nop dword [eax + eax]
cmp dword [eax + edx*4 + 0x14], 0
jne 0x100a9732
inc edx
lea edi, [ecx - 0x20]
cmp ecx, 0x3f
mov ecx, edi
jg 0x100a9700
cmp edi, 2
jl 0x100a9f13
mov ebx, dword [eax + edx*4 + 0x14]
tzcnt ecx, ebx
shr ebx, cl
mov dword [eax + edx*4 + 0x14], ebx
dec edi
cmp ecx, edi
jae 0x100a9f13
test esi, esi
je 0x100a975e
mov al, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], 0
mov edx, 0x20
movsd xmm0, qword [0x100c1cf0]
movapd xmm1, xmm0
mov ecx, dword [esp + 0xc]
jmp 0x100a9830
mov dword [esp + 0x44], 0
mov edx, 0x10
cmp dword [esp + 0x60], 0
je 0x100a97c9
movsd xmm0, qword [0x100c1cf0]
movapd xmm1, xmm0
mov dword [esp + 0x70], 0
cmp dword [esp + 0x54], 1
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 0xc]
jg 0x100a9830
jmp 0x100a9e8e
neg edx
push edx
push eax
mov edi, eax
call fcn.100b1f20
mov eax, edi
jmp 0x100a94f1
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
movapd xmm0, xmm1
mov ecx, dword [esp + 0xc]
jmp 0x100a9830
movsd xmm0, qword [0x100c1cf0]
movapd xmm1, xmm0
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0xc]
jmp 0x100a9830
mov dword [esp + 0x34], 0
test esi, esi
je 0x100a9a96
ucomisd xmm1, qword [0x100c1d20]
mov ecx, dword [esp + 0xc]
ja 0x100a969d
jmp 0x100a9821
mov dword [esp + 0x34], 0
mov ecx, dword [esp + 0xc]
ucomisd xmm1, qword [0x100c1ce0]
jae 0x100a969d
mov dword [esp + 0x44], eax
nop word cs:[eax + eax]
movapd xmmword [esp + 0xa0], xmm1
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
add edi, eax
cmp dword [esp + 0x60], 0
movapd xmmword [esp + 0x80], xmm0
jne 0x100a9883
mov esi, ecx
sub esi, eax
jle 0x100a9883
push esi
push dword [esp + 0x24]
call fcn.100b0cc0
movapd xmm0, xmmword [esp + 0x88]
add esp, 8
mov dword [esp + 0x20], eax
sub dword [esp + 0x38], esi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
sub esp, 0x10
lea eax, [esp + 0x118]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
call fcn.100b11a0
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0x9c]
test eax, eax
mov dword [esp + 0x54], edi
js 0x100a98ca
je 0x100a98d6
push eax
push esi
call fcn.100b0cc0
add esp, 8
mov esi, eax
jmp 0x100a98d6
neg eax
push eax
push esi
call fcn.100b1f20
add esp, 8
mov ebx, dword [esp + 0x20]
cmp byte [esp + 0x70], 0
je 0x100a9933
push esi
push ebx
call fcn.100b20b0
add esp, 8
mov edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x10]
jg 0x100a9911
bsr ecx, dword [edi + eax*4 + 0x10]
xor ecx, 0x1f
bsr eax, dword [ebx + eax*4 + 0x10]
xor eax, 0x1f
cmp ecx, eax
jae 0x100a99de
cmp dword [esp + 0x60], 0
je 0x100a998c
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
xor ecx, ecx
cmp eax, dword [esp + 0xc]
setne cl
mov dword [esp + 0x60], ecx
jmp 0x100a99de
push esi
push ebx
call fcn.100b0ed0
add esp, 8
mov edi, eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x60], 0
mov dword [esp + 0x60], 1
jne 0x100a99de
mov eax, dword [ebx + 0x10]
cmp dword [edi + 0x10], eax
jl 0x100a9976
bsr ecx, dword [edi + eax*4 + 0x10]
xor ecx, 0x1f
bsr eax, dword [ebx + eax*4 + 0x10]
xor eax, 0x1f
cmp ecx, eax
jbe 0x100a9a89
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
jne 0x100a99a9
dec dword [esp + 0x30]
mov dword [esp + 0x50], eax
jmp 0x100a99de
push 1
push edi
call fcn.100b1f20
add esp, 8
inc dword [esp + 0x38]
inc dword [esp + 0x50]
mov dword [esp + 0x60], 0
jmp 0x100a99d6
push 1
push edi
mov dword [esp + 0x58], ecx
call fcn.100b0cc0
add esp, 8
mov edi, eax
mov dword [esp + 0x20], eax
dec dword [esp + 0x38]
dec dword [esp + 0x50]
mov dword [esp + 0x60], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
push esi
call fcn.100b0710
add esp, 4
push ebx
call fcn.100b0710
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x100a9f32
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
cmp dword [esp + 0x54], eax
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
jne 0x100a9373
cmp dword [esp + 0x44], 0
je 0x100a9373
movapd xmm3, xmmword [esp + 0x80]
mulsd xmm3, qword [0x100c1cf8]
movapd xmm2, xmmword [esp + 0xa0]
movapd xmm0, xmm2
addsd xmm0, qword [0x100c1d00]
movapd xmm1, xmm3
xorpd xmm1, xmmword [0x100c1d10]
ucomisd xmm1, xmm0
ja 0x100a9369
ucomisd xmm0, xmm3
jbe 0x100a9373
movapd xmm1, xmm3
movsd xmm0, qword [0x100c1cf0]
subsd xmm0, xmm3
ucomisd xmm0, qword [esp + 0xa0]
jbe 0x100a9373
jmp 0x100a9e63
mov dword [esp + 0x60], 0
jmp 0x100a99de
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
jmp 0x100a9830
movapd xmmword [esp + 0x60], xmm1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
push dword [esp + 0x44]
push 1
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100aa350
add esp, 0x14
test eax, eax
jne 0x100a9d56
xor eax, eax
mov ecx, dword [esp + 0x1c]
movapd xmm1, xmmword [esp + 0x60]
jmp 0x100a902f
mov esi, dword [esp + 0x10]
jmp 0x100aa0f8
mov edi, esi
lea ecx, [edi - 0x31]
xor ebx, ebx
cmp ecx, 8
ja 0x100a9b7e
lea esi, [edi - 0x30]
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
movsx ecx, byte [eax + 1]
mov dword [esp + 0x74], ecx
add cl, 0xd0
cmp cl, 9
ja 0x100a9c3e
lea ecx, [eax + 2]
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x74]
nop word cs:[eax + eax]
lea ecx, [esi + esi*4]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ecx
lea ecx, [ebx + ecx*2]
add ecx, 0xffffffd0
mov dword [esp + 0x48], ecx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
movsx ebx, byte [esi]
mov ecx, ebx
add cl, 0xd0
inc esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x48]
cmp cl, 0xa
jb 0x100a9b30
mov dword [esp + 0x74], ebx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x4c]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x18]
add ebx, 0xfffffffe
jmp 0x100a9c46
mov dword [esp + 0x48], edi
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
jmp 0x100a8d47
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffea
jb 0x100a902f
lea eax, [eax*8]
mov ecx, dword [0x100c1e2c]
sub ecx, eax
divsd xmm1, qword [ecx]
movapd xmmword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
push dword [esp + 0x44]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100aa350
movapd xmm1, xmmword [esp + 0x74]
add esp, 0x14
movsd qword [esp + 0x100], xmm1
test eax, eax
jne 0x100a9d56
xor eax, eax
mov ebx, dword [esp + 0x104]
mov ecx, dword [esp + 0x1c]
jmp 0x100a902f
mov eax, 0x25
sub eax, ecx
cmp esi, eax
jle 0x100a9cf6
mov eax, esi
jmp 0x100a902f
jns 0x100aa157
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov dword [esp + 0x30], ecx
jle 0x100aa138
neg eax
push eax
push esi
call fcn.100b1f20
add esp, 8
jmp 0x100aa153
mov ecx, edi
mov ebx, eax
mov edi, dword [esp + 0x28]
sub ebx, eax
inc ebx
cmp ecx, 0x4e50
mov eax, 0x4e1f
cmovge esi, eax
cmp ebx, 9
cmovge esi, eax
mov ebx, esi
neg ebx
cmp dword [esp + 0xa0], 0
cmove ebx, esi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x1c]
jmp 0x100a8d47
lea eax, [esp + 0x24]
push 0x100c1dc9
push eax
call fcn.100b1d80
mov edi, dword [esp + 0x14]
add esp, 8
test eax, eax
je case.0x100a8dc9.74
mov dword [esp + 0x14], 4
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
inc eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], 0
cmp byte [eax], 0x28
jne 0x100a9cd5
push dword [ebp + 0x18]
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.100b2230
mov edi, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 0xc]
jmp 0x100aa0b8
mov dword [esp + 0x14], 6
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
jmp 0x100aa0f8
mov eax, 0xf
sub eax, ecx
mov ebx, ecx
mov ecx, esi
mov edx, dword [0x100c1e2c]
mulsd xmm1, qword [edx + eax*8]
sub ecx, eax
mulsd xmm1, qword [edx + ecx*8]
movapd xmmword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm1
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
mov edx, dword [ebp + 0x10]
push eax
push dword [esp + 0x44]
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100aa350
movapd xmm1, xmmword [esp + 0x74]
add esp, 0x14
movsd qword [esp + 0xf8], xmm1
test eax, eax
je 0x100a9e7e
mov ebx, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
jmp 0x100aa0f8
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov ebx, edi
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
jmp 0x100a9f43
mov ebx, edi
xor eax, eax
test esi, esi
sete al
shl eax, 4
add eax, 0x11
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
jmp 0x100a9f43
xor eax, eax
test esi, esi
sete al
shl eax, 4
add eax, 0x11
mov dword [esp + 0x14], eax
test esi, esi
mov edx, dword [ebp + 0x14]
jne 0x100aa2b7
cmp dword [esp + 0x54], 1
mov esi, dword [esp + 0x10]
mov ebx, edi
jg 0x100a9f3c
cmp dword [esp + 0x60], 0
jne 0x100a9f3c
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x4c]
je 0x100a9f43
push 1
push dword [esp + 0x40]
call fcn.100b0cc0
add esp, 8
push dword [esp + 0x1c]
mov dword [esp + 0x40], eax
push eax
call fcn.100b0e80
add esp, 8
mov ecx, 0x11
test eax, eax
jg 0x100a9edc
mov edx, dword [ebp + 0x14]
jmp 0x100a9f43
test esi, esi
je 0x100a9ec0
mov eax, 0x11
cmp dword [esp + 0x60], 0
je 0x100aa226
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
lea edi, [edx + 0x14]
mov ebx, ecx
sar ebx, 5
lea ebx, [edx + ebx*4]
add ebx, 0x14
cmp edi, ebx
jae 0x100aa20b
cmp dword [edi], 0xffffffff
lea edi, [edi + 4]
je 0x100a9e4e
jmp 0x100aa226
mov eax, dword [esp + 0x7c]
or dword [esp + 0x14], eax
mov ebx, dword [ebp + 0xc]
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
jmp 0x100a9f43
xor eax, eax
mov ecx, ebx
mov ebx, dword [esp + 0xfc]
jmp 0x100a902f
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0x50
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
jmp 0x100a9f43
mov eax, 0x21
mov ecx, 1
cmp dword [esp + 0x54], 1
jne 0x100aa226
mov ebx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x4c]
jne 0x100aa294
mov dword [esp + 0x14], 0x21
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x10], 1
jne 0x100a9f39
mov eax, dword [eax + 0x14]
cmp eax, 1
mov ecx, dword [esp + 0x78]
cmove ecx, eax
mov dword [esp + 0x78], ecx
jmp 0x100a9f39
mov ecx, dword [esp + 0x50]
dec ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
push ecx
push eax
call fcn.100a87d0
add esp, 8
mov dword [esp + 0x20], eax
mov ebx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
mov dword [esp + 0x60], 0
mov esi, dword [esp + 0xc]
sub esi, dword [esp + 0x30]
jne 0x100a9f5b
mov esi, dword [esp + 0x10]
jmp 0x100a9f8c
mov eax, dword [esp + 0x20]
test esi, esi
jle 0x100a9f73
push esi
push eax
call fcn.100b0cc0
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x100a9f81
mov ecx, esi
neg ecx
push ecx
push eax
call fcn.100b1f20
add esp, 8
sub dword [esp + 0x38], esi
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x38]
mov dword [edx], eax
push dword [esp + 0x18]
call fcn.100b0710
add esp, 4
push dword [esp + 0x2c]
call fcn.100b0710
add esp, 4
push dword [esp + 0x1c]
call fcn.100b0710
add esp, 4
push dword [esp + 0x74]
call fcn.100b0710
add esp, 4
push dword [esp + 0x3c]
call fcn.100b0710
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x10]
cmp eax, dword [ecx + 8]
jle 0x100aa083
mov eax, dword [esp + 0x20]
push eax
call fcn.100b0710
add esp, 4
mov dword [esp + 0x20], 0
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
and eax, 3
cmp eax, 1
mov edi, dword [esp + 0xc]
je 0x100aa08d
cmp eax, 3
je 0x100aa089
cmp eax, 2
jne 0x100aa01e
test esi, esi
je 0x100aa08d
mov dword [esp + 0x14], 0x11
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ebx, dword [esi]
lea esi, [ebx + 0x1f]
sar esi, 5
test esi, esi
jle 0x100aa06a
mov edx, dword [ebp + 0x18]
lea eax, [edx + esi*4]
lea ecx, [edx + 4]
cmp eax, ecx
cmova ecx, eax
mov eax, edx
not eax
add eax, ecx
and eax, 0xfffffffc
add eax, 4
push eax
push 0xff
push edx
call sub.msvcrt.dll_memset
mov edi, dword [esp + 0x18]
add esp, 0xc
and ebx, 0x1f
je 0x100aa07a
mov cl, 0x20
sub cl, bl
mov eax, dword [ebp + 0x18]
shr dword [eax + esi*4 - 4], cl
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 0xc]
jmp 0x100aa0c4
mov edi, dword [esp + 0xc]
jmp 0x100aa0c4
test esi, esi
je 0x100aa01e
mov dword [esp + 0x14], 0xa3
mov eax, edi
sar eax, 5
and edi, 0x1f
cmp edi, 1
sbb eax, 0xffffffff
shl eax, 2
push eax
push 0
push dword [ebp + 0x18]
call sub.msvcrt.dll_memset
mov edi, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
inc eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [esp + 0x60], 0
je 0x100aa0f8
cmp dword [esp + 0x78], 0
je 0x100aa1c2
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], 0
mov dword [esp + 0x14], 0x50
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov edi, dword [esp + 0xc]
test ebx, ebx
je 0x100aa102
mov eax, dword [esp + 0x24]
mov dword [ebx], eax
test esi, esi
je 0x100aa10b
or byte [esp + 0x14], 8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100aa12c
push eax
push edi
push dword [ebp + 0x18]
call fcn.100b1dc0
add esp, 0xc
push dword [esp + 0x20]
call fcn.100b0710
add esp, 4
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ecx, 0xfffffffe
jle 0x100aa191
mov dword [esp + 0x30], 1
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 1
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], 1
cmp dword [esp + 0x78], 0
mov eax, dword [esp + 0x44]
mov edx, ecx
mov ecx, dword [esp + 0x1c]
je 0x100aa1fe
mov ecx, dword [esp + 0x50]
inc ecx
cmp ecx, edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc]
jge 0x100a9308
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [esp + 0x14], 0x50
mov ebx, dword [ebp + 0xc]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x78], 0
jne 0x100aa0d6
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0xfffffff8
mov edx, dword [esp + 0x20]
xor ebx, ebx
cmp dword [edx + 0x10], 0
setg bl
lea ecx, [ecx + ebx*2]
mov dword [esp + 0x14], ecx
test al, 0x30
je 0x100aa1f5
or ecx, 0x40
mov dword [esp + 0x14], ecx
call sub.msvcrt.dll__errno
mov dword [eax], 0x22
mov edi, dword [esp + 0xc]
jmp 0x100a8908
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc]
jmp 0x100a9308
and ecx, 0x1f
je 0x100aa2cd
mov ebx, 0xffffffff
shl ebx, cl
or ebx, dword [edi]
cmp ebx, 0xffffffff
je 0x100aa2cd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0xc]
jge 0x100aa23f
cmp dword [esp + 0x60], 0
je 0x100aa2fa
mov eax, dword [esp + 0x20]
test byte [eax + 0x14], 1
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
je 0x100a9d92
test esi, esi
je 0x100aa305
push eax
call fcn.100a8710
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x30]
mov edx, ecx
neg edx
and edx, 0x1f
mov esi, dword [eax + 0x10]
bsr eax, dword [eax + esi*4 + 0x10]
xor eax, 0x1f
cmp eax, edx
je 0x100aa287
inc ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 0x21
jmp 0x100a9f35
mov ecx, dword [esp + 0xc]
sub dword [esp + 0x38], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
push ecx
push eax
call fcn.100a87d0
add esp, 8
mov dword [esp + 0x20], eax
jmp 0x100a9f39
mov esi, dword [esp + 0x10]
mov ebx, edi
cmp dword [esp + 0x60], 0
jne 0x100a9f8c
jmp 0x100a9f43
mov dword [edx + 0x10], 1
mov dword [edx + 0x14], 1
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
add eax, ecx
dec eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0x21
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
jmp 0x100a9f43
cmp dword [esp + 0x54], 1
jne 0x100aa315
mov esi, dword [esp + 0x10]
jmp 0x100a9e99
mov ecx, dword [eax + 0x10]
add eax, 0x14
lea ecx, [eax + ecx*4]
mov esi, dword [esp + 0x10]
mov edx, dword [eax]
test edx, edx
jne 0x100aa337
mov dword [eax], 0xffffffff
add eax, 4
cmp eax, ecx
jb 0x100aa322
jmp 0x100aa33a
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], 0x11
jmp 0x100a9f39