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

Disassembly:
sub esp, 0xa8
mov eax, dword [0x10065070]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
mov ebp, dword [esp + 0xbc]
mov ebx, ecx
push esi
push edi
mov edi, eax
mov dword [esp + 0x48], eax
mov al, byte [esp + 0xc0]
mov esi, edx
test al, al
mov byte [esp + 0x1b], al
mov eax, dword [sym.imp.msvcrt.dll_malloc]
mov ecx, 0x2e
mov edx, 0x1e
mov dword [esp + 0x50], esi
cmovne ecx, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
test edi, edi
je 0x1001f2d0
mov dl, byte [edi]
test dl, dl
je 0x1001f297
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
sbb eax, dword [edi + 0x14]
jmp 0x1001f2a8
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
test eax, eax
ja 0x1001f37f
jb 0x1001f2bc
cmp ecx, dword [esp + 0x5c]
jae 0x1001f37f
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 0x13
jmp 0x1001fd70
push 0x18
call eax
mov edi, eax
add esp, 4
test edi, edi
je 0x1001fd65
lea eax, [esp + 0x84]
mov word [edi], 1
mov dword [edi + 4], eax
lea edx, [esp + 0x84]
mov eax, dword [esp + 0x5c]
mov ecx, esi
push 0
push eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.1001bdc0
add esp, 8
test edx, edx
jg 0x1001f37d
jl 0x1001f32a
test eax, eax
jae 0x1001f33c
test ebp, ebp
je 0x1001f35a
mov eax, dword [esi + 0xc]
mov dword [ebp], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 4], eax
jmp 0x1001f35a
test edx, edx
jg 0x1001f37d
jl 0x1001f348
cmp eax, dword [esp + 0x5c]
jae 0x1001f37d
test ebp, ebp
je 0x1001f35a
mov dword [ebp], 0x11
mov dword [ebp + 4], 0
cmp byte [edi + 1], 0
mov esi, dword [sym.imp.msvcrt.dll_free]
je 0x1001fc62
push dword [edi + 4]
call esi
add esp, 4
push edi
call esi
add esp, 4
jmp 0x1001fd77
mov dl, byte [edi]
test dl, dl
je 0x1001f3c7
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov ecx, dword [esi + 4]
add eax, 4
adc ecx, 0
jne 0x1001f399
cmp eax, 4
jb 0x1001f3c7
lea edx, [edi + 8]
mov dword [esp + 0x44], edx
cmp ecx, dword [edx + 4]
ja 0x1001f3c7
jb 0x1001f3ab
cmp eax, dword [edx]
ja 0x1001f3c7
lea ebx, [edi + 4]
mov dword [esp + 0x24], ebx
mov ebx, dword [ebx]
add ebx, dword [esi]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x28]
je 0x1001f3e3
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x1001f3d8
mov byte [edi], 0
lea esi, [edi + 0x10]
mov dword [esp + 0x2c], 0
lea edx, [edi + 8]
lea eax, [edi + 4]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], eax
cmp byte [esp + 0x1b], 0
mov eax, 0x1005de90
mov ecx, 0x1005de88
cmove ecx, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x1001f413
test ebp, ebp
je 0x1001fc40
mov dword [ebp], 0x13
jmp 0x1001fc39
mov ecx, ebx
call fcn.1001f1c0
cmp byte [esp + 0x1b], 0
jne 0x1001f486
cmp byte [edi], 0
je 0x1001f47c
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 2
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f43c
cmp ecx, 2
jb 0x1001f47c
cmp eax, dword [edx + 4]
ja 0x1001f47c
jb 0x1001f447
cmp ecx, dword [edx]
ja 0x1001f47c
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x2c], eax
je 0x1001f47f
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 1]
mov eax, 0x100
imul ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
movzx eax, ax
jmp 0x1001f488
mov byte [edi], 0
xor eax, eax
movzx eax, ax
jmp 0x1001f488
xor eax, eax
mov word [ebx + 8], ax
cmp byte [edi], 0
je 0x1001f4e4
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 2
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f4a7
cmp ecx, 2
jb 0x1001f4e4
cmp eax, dword [edx + 4]
ja 0x1001f4e4
jb 0x1001f4b2
cmp ecx, dword [edx]
ja 0x1001f4e4
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x2c], eax
je 0x1001f4e7
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 1]
mov eax, 0x100
imul ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
jmp 0x1001f4e9
mov byte [edi], 0
xor eax, eax
mov word [ebx + 0xa], ax
cmp byte [edi], 0
je 0x1001f545
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 2
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f508
cmp ecx, 2
jb 0x1001f545
cmp eax, dword [edx + 4]
ja 0x1001f545
jb 0x1001f513
cmp ecx, dword [edx]
ja 0x1001f545
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x2c], eax
je 0x1001f548
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 1]
mov eax, 0x100
imul ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
jmp 0x1001f54a
mov byte [edi], 0
xor eax, eax
mov word [ebx + 0xc], ax
cmp byte [edi], 0
je 0x1001f595
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 2
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f569
cmp ecx, 2
jb 0x1001f595
cmp eax, dword [edx + 4]
ja 0x1001f595
jb 0x1001f574
cmp ecx, dword [edx]
ja 0x1001f595
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
je 0x1001f598
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
jmp 0x1001f59a
mov byte [edi], 0
xor ecx, ecx
mov dword [ebx + 0x10], ecx
mov al, byte [edi]
mov byte [esp + 0x1a], al
test al, al
je 0x1001f5e7
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, 2
adc ecx, 0
jne 0x1001f5b9
cmp eax, 2
jb 0x1001f5e7
cmp ecx, dword [edx + 4]
ja 0x1001f5e7
jb 0x1001f5c4
cmp eax, dword [edx]
ja 0x1001f5e7
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
je 0x1001f5ee
add dword [esi], 2
adc dword [esi + 4], 0
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x1001f5fc
mov byte [edi], 0
xor al, al
jmp 0x1001f5f2
mov al, byte [esp + 0x1a]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test al, al
je 0x1001f63e
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 2
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f612
cmp ecx, 2
jb 0x1001f63e
cmp eax, dword [edx + 4]
ja 0x1001f63e
jb 0x1001f61d
cmp ecx, dword [edx]
ja 0x1001f63e
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
je 0x1001f641
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
jmp 0x1001f643
mov byte [edi], 0
xor ecx, ecx
mov eax, ecx
mov dword [esp + 0x80], 0xffffffff
shr eax, 9
xorps xmm0, xmm0
add eax, 0x50
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x74], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x70], eax
mov eax, ecx
shr eax, 0xb
mov dword [esp + 0x68], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0x3f
add ecx, ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], ecx
call dword [sym.imp.msvcrt.dll__mktime64]
add esp, 4
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
cmp byte [edi], 0
je 0x1001f716
mov edx, dword [esi]
mov eax, dword [esi + 4]
add edx, 4
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001f6c8
cmp edx, 4
jb 0x1001f716
mov ecx, dword [esp + 0x44]
cmp eax, dword [ecx + 4]
ja 0x1001f71a
jb 0x1001f6d7
cmp edx, dword [ecx]
ja 0x1001f71a
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x2c], eax
je 0x1001f71d
mov dword [esi], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 4], edx
movzx edx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x2c]
shl edx, 8
movzx eax, byte [eax + 1]
add edx, eax
mov eax, dword [esp + 0x2c]
shl edx, 8
movzx eax, byte [eax]
add edx, eax
jmp 0x1001f71f
mov ecx, dword [esp + 0x44]
mov byte [edi], 0
xor edx, edx
mov dword [ebx + 0x20], edx
cmp byte [edi], 0
je 0x1001f7ed
mov eax, dword [esi]
mov edx, dword [esi + 4]
add eax, 4
adc edx, 0
mov dword [esp + 0x14], edx
jne 0x1001f745
cmp eax, 4
jb 0x1001f7ed
cmp edx, dword [ecx + 4]
ja 0x1001f7ed
jb 0x1001f758
cmp eax, dword [ecx]
ja 0x1001f7ed
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
add edx, dword [esi]
mov dword [esp + 0x20], edx
je 0x1001f7f0
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
movzx eax, byte [edx + 3]
cdq
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
movzx eax, byte [eax + 2]
cdq
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
movzx eax, byte [eax + 1]
cdq
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
movzx eax, byte [eax]
cdq
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x34], edx
jmp 0x1001f805
mov byte [edi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], edx
cmp byte [edi], 0
je 0x1001f8a4
mov eax, dword [esi]
mov edx, dword [esi + 4]
add eax, 4
adc edx, 0
jne 0x1001f82a
cmp eax, 4
jb 0x1001f8a4
cmp edx, dword [ecx + 4]
ja 0x1001f8a4
jb 0x1001f835
cmp eax, dword [ecx]
ja 0x1001f8a4
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x20], ecx
je 0x1001f8a7
mov dword [esi], eax
mov dword [esi + 4], edx
movzx eax, byte [ecx + 3]
cdq
mov ecx, eax
mov eax, dword [esp + 0x20]
shld edx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
mov dword [esp + 0x1c], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
shld eax, ecx, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
shld eax, ecx, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
shl ecx, 8
movzx eax, byte [eax]
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
jmp 0x1001f8b8
mov byte [edi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], eax
mov al, byte [edi]
test al, al
je 0x1001f92d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add ecx, 2
adc edx, 0
mov dword [esp + 0x14], edx
jne 0x1001f8da
cmp ecx, 2
jb 0x1001f92d
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edx + 4]
mov ebx, dword [esp + 0x28]
ja 0x1001f931
jb 0x1001f8f1
cmp ecx, dword [edx]
ja 0x1001f931
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x14], ecx
je 0x1001f936
add dword [esi], 2
mov byte [esp + 0x1a], al
mov eax, 0x100
adc dword [esi + 4], 0
movzx ecx, byte [ecx + 1]
imul ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x1a]
jmp 0x1001f942
mov edx, dword [esp + 0x44]
mov byte [edi], 0
xor al, al
mov dword [esp + 0x30], 0
test al, al
je 0x1001f9ab
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
add ecx, 2
adc ebx, 0
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
jne 0x1001f95c
cmp ecx, 2
jb 0x1001f9ab
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edx + 4]
mov ebx, dword [esp + 0x28]
ja 0x1001f9ab
jb 0x1001f96f
cmp ecx, dword [edx]
ja 0x1001f9ab
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x14], ecx
je 0x1001f9b0
add dword [esi], 2
mov byte [esp + 0x1a], al
mov eax, 0x100
adc dword [esi + 4], 0
movzx ecx, byte [ecx + 1]
imul ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
add cx, ax
mov al, byte [esp + 0x1a]
movzx ecx, cx
mov dword [esp + 0x58], ecx
jmp 0x1001f9b8
mov byte [edi], 0
xor al, al
mov dword [esp + 0x58], 0
cmp byte [esp + 0x1b], 0
je 0x1001f9dc
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [ebx + 0x44], 0
mov word [ebx + 0x48], ax
mov dword [ebx + 0x4c], eax
jmp 0x1001fc12
test al, al
je 0x1001fa41
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
add ecx, 2
adc ebx, 0
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x28]
jne 0x1001f9fa
cmp ecx, 2
jb 0x1001fa41
mov ebx, dword [esp + 0x14]
cmp ebx, dword [edx + 4]
mov ebx, dword [esp + 0x28]
ja 0x1001fa41
jb 0x1001fa0d
cmp ecx, dword [edx]
ja 0x1001fa41
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x14], ecx
je 0x1001fa46
add dword [esi], 2
mov eax, 0x100
adc dword [esi + 4], 0
movzx ecx, byte [ecx + 1]
imul ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
mov dword [esp + 0x20], eax
jmp 0x1001fa52
mov byte [edi], 0
xor al, al
mov dword [esp + 0x20], 0
test al, al
je 0x1001fa9c
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, 2
adc ecx, 0
mov dword [esp + 0x14], ecx
jne 0x1001fa68
cmp eax, 2
jb 0x1001fa9c
cmp ecx, dword [edx + 4]
ja 0x1001fa9c
jb 0x1001fa73
cmp eax, dword [edx]
ja 0x1001fa9c
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x2c], ecx
je 0x1001fa9f
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
movzx ecx, byte [ecx + 1]
shl ecx, 8
movzx eax, byte [eax]
add ecx, eax
jmp 0x1001faa1
mov byte [edi], 0
xor ecx, ecx
mov dword [ebx + 0x44], ecx
cmp byte [edi], 0
je 0x1001fafc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, 2
adc ecx, 0
mov dword [esp + 0x14], ecx
jne 0x1001fabf
cmp eax, 2
jb 0x1001fafc
cmp ecx, dword [edx + 4]
ja 0x1001fafc
jb 0x1001faca
cmp eax, dword [edx]
ja 0x1001fafc
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, dword [esi]
mov dword [esp + 0x2c], ecx
je 0x1001faff
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov eax, 0x100
movzx ecx, byte [ecx + 1]
imul ecx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
add cx, ax
movzx eax, cx
jmp 0x1001fb01
mov byte [edi], 0
xor eax, eax
mov word [ebx + 0x48], ax
cmp byte [edi], 0
je 0x1001fb6a
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 4
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001fb20
cmp ecx, 4
jb 0x1001fb6a
cmp eax, dword [edx + 4]
ja 0x1001fb6a
jb 0x1001fb2b
cmp ecx, dword [edx]
ja 0x1001fb6a
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x2c], eax
je 0x1001fb6d
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 2]
shl ecx, 8
add ecx, eax
mov eax, dword [esp + 0x2c]
shl ecx, 8
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [esp + 0x2c]
shl ecx, 8
movzx eax, byte [eax]
add ecx, eax
jmp 0x1001fb6f
mov byte [edi], 0
xor ecx, ecx
mov dword [ebx + 0x4c], ecx
cmp byte [edi], 0
je 0x1001fc0f
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add ecx, 4
adc eax, 0
mov dword [esp + 0x14], eax
jne 0x1001fb91
cmp ecx, 4
jb 0x1001fc0f
cmp eax, dword [edx + 4]
ja 0x1001fc0f
jb 0x1001fb9c
cmp ecx, dword [edx]
ja 0x1001fc0f
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [esi]
mov dword [esp + 0x34], eax
je 0x1001fc12
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ecx
movzx eax, byte [eax + 3]
cdq
mov ecx, eax
mov eax, dword [esp + 0x34]
shld edx, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 2]
mov dword [esp + 0x1c], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
shld eax, ecx, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
shl ecx, 8
movzx eax, byte [eax + 1]
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
shld eax, ecx, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
shl ecx, 8
movzx eax, byte [eax]
cdq
add ecx, eax
mov eax, dword [esp + 0x1c]
adc eax, edx
jmp 0x1001fc23
mov byte [edi], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], eax
cmp byte [edi], 0
jne 0x1001fc6d
test ebp, ebp
je 0x1001fc40
mov dword [ebp], 0x14
mov dword [ebp + 4], 0
cmp dword [esp + 0x48], 0
jne 0x1001fd77
cmp byte [edi + 1], 0
mov esi, dword [sym.imp.msvcrt.dll_free]
je 0x1001fc62
mov eax, dword [esp + 0x24]
push dword [eax]
call esi
add esp, 4
push edi
call esi
add esp, 4
jmp 0x1001fd77
movzx eax, word [ebx + 0xc]
test al, 1
je 0x1001fc89
test al, 0x40
mov ecx, 1
mov eax, 0xffff
cmove eax, ecx
movzx eax, ax
jmp 0x1001fc8b
xor eax, eax
mov word [ebx + 0x5a], ax
lea eax, [ebx + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [eax], 0
mov eax, dword [esp + 0x58]
movzx edx, ax
mov eax, dword [esp + 0x20]
movzx ecx, ax
mov eax, dword [esp + 0x30]
add ecx, edx
movzx eax, ax
add ecx, eax
mov dword [ebx + 0x38], 0
cmp dword [esp + 0x48], 0
mov dword [ebx + 0x40], 0
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], ecx
je 0x1001fd28
cmp byte [edi], 0
je 0x1001fcf1
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
sub edx, dword [esi]
mov eax, dword [ecx + 4]
sbb eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
jmp 0x1001fd02
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
test eax, eax
ja 0x1001fe1f
jb 0x1001fd14
cmp edx, ecx
jae 0x1001fe1f
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xc
jmp 0x1001fd77
cmp byte [edi + 1], 0
je 0x1001fd39
mov eax, dword [esp + 0x24]
push dword [eax]
call ebx
add esp, 4
push edi
call ebx
mov edi, dword [esp + 0x58]
add esp, 4
push dword [esp + 0x34]
call edi
mov esi, eax
add esp, 4
test esi, esi
je 0x1001fd65
push 0x18
call edi
mov edi, eax
add esp, 4
test edi, edi
jne 0x1001fd95
push esi
call ebx
add esp, 4
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 0xe
mov dword [ebp + 4], 0
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10045f1d
add esp, 0xa8
ret
mov eax, dword [esp + 0x34]
mov edx, esi
mov dword [edi + 4], esi
mov esi, dword [esp + 0x50]
mov ecx, esi
push 0
push eax
mov word [edi], 0x101
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.1001bdc0
add esp, 8
test edx, edx
jg 0x1001fe23
jl 0x1001fdd6
test eax, eax
jae 0x1001fde8
test ebp, ebp
je 0x1001fe06
mov eax, dword [esi + 0xc]
mov dword [ebp], eax
mov eax, dword [esi + 0x10]
mov dword [ebp + 4], eax
jmp 0x1001fe06
test edx, edx
jg 0x1001fe23
jl 0x1001fdf4
cmp eax, dword [esp + 0x34]
jae 0x1001fe23
test ebp, ebp
je 0x1001fe06
mov dword [ebp], 0x11
mov dword [ebp + 4], 0
cmp byte [edi + 1], 0
je 0x1001fe14
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
test ax, ax
je 0x1001ffd6
push ebp
push 1
push eax
mov edx, esi
mov ecx, edi
call fcn.1001d830
mov esi, dword [esp + 0x34]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x24], edx
mov dword [esi + 0x38], edx
test edx, edx
jne 0x1001fe91
cmp dword [ebp], 0x11
jne 0x1001fe65
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xc
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x1001fe86
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov eax, 0x800
test word [esi + 0xc], ax
je 0x1001ffda
mov ecx, dword [edx + 8]
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
test ecx, ecx
jne 0x1001ff70
movzx ebx, word [edx + 4]
xor eax, eax
mov ecx, 1
mov dword [esp + 0x30], ebx
test ebx, ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [sym.imp.msvcrt.dll_free]
mov dword [esp + 0x44], eax
je 0x1001ff70
mov ecx, dword [esp + 0x4c]
add ecx, eax
mov dword [esp + 0x38], ecx
mov cl, byte [ecx]
cmp cl, 0x1f
jbe 0x1001feec
cmp cl, 0x80
jb 0x1001ff59
cmp cl, 0xd
je 0x1001ff59
cmp cl, 0xa
je 0x1001ff59
cmp cl, 9
je 0x1001ff59
mov al, cl
mov dword [esp + 0x14], 3
and al, 0xe0
cmp al, 0xc0
jne 0x1001ff12
mov edx, 1
jmp 0x1001ff2e
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x1001ff21
mov edx, 2
jmp 0x1001ff2e
and cl, 0xf8
cmp cl, 0xf0
jne 0x1001ff81
mov edx, 3
mov eax, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x30]
jae 0x1001ff81
mov ecx, 1
mov eax, dword [esp + 0x38]
mov al, byte [eax + ecx]
and al, 0xc0
cmp al, 0x80
jne 0x1001ff81
inc ecx
cmp ecx, edx
jbe 0x1001ff43
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x30]
jb 0x1001fed6
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [edx + 8], ecx
cmp ecx, 3
jne 0x1001ff8e
mov dword [edx + 8], 2
jmp 0x1001ffda
mov eax, dword [esp + 0x24]
mov dword [eax + 8], 4
jmp 0x1001ff98
cmp ecx, 2
je 0x1001ffda
cmp ecx, 1
je 0x1001ffda
test ebp, ebp
je 0x1001ffaa
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xd
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x1001ffcb
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov esi, dword [esp + 0x28]
cmp word [esp + 0x58], 0
je 0x1002019f
push dword [esp + 0x1c]
call dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
jne 0x10020010
test ebp, ebp
je 0x10020163
mov dword [ebp], 0xe
mov dword [ebp + 4], eax
jmp 0x10020163
test edi, edi
je 0x100200fc
cmp byte [edi], 0
je 0x100200e4
mov ecx, dword [edi + 0x10]
add ecx, dword [esp + 0x1c]
mov edx, dword [edi + 0x14]
adc edx, 0
test edx, edx
jb 0x100200e4
ja 0x10020042
cmp ecx, dword [esp + 0x1c]
jb 0x100200e4
cmp edx, dword [edi + 0xc]
ja 0x100200e4
jb 0x10020056
cmp ecx, dword [edi + 8]
ja 0x100200e4
mov ebx, dword [edi + 4]
add ebx, dword [edi + 0x10]
mov dword [esp + 0x38], ebx
mov ebx, dword [sym.imp.msvcrt.dll_free]
je 0x100200e7
push dword [esp + 0x1c]
mov dword [edi + 0x10], ecx
push dword [esp + 0x3c]
mov dword [edi + 0x14], edx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x1b], 0
lea eax, [esi + 0x3c]
mov edx, dword [esp + 0x58]
mov ecx, 0x100
push ebp
push eax
mov eax, 0x200
cmovne eax, ecx
mov ecx, dword [esp + 0x4c]
push eax
call fcn.10022670
add esp, 0xc
push dword [esp + 0x44]
test al, al
jne 0x1002018f
call ebx
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x100200d9
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov byte [edi], 0
test ebp, ebp
je 0x100200f9
mov dword [ebp], 0xe
mov dword [ebp + 4], 0
push eax
jmp 0x1002015e
mov ecx, dword [esp + 0x50]
mov edx, eax
push 0
push dword [esp + 0x20]
call fcn.1001bdc0
add esp, 8
test edx, edx
jg 0x1002007f
jl 0x1002011e
test eax, eax
jae 0x10020134
test ebp, ebp
je 0x1002015a
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0xc]
mov dword [ebp], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp + 4], eax
jmp 0x1002015a
test edx, edx
jg 0x1002007f
jl 0x10020148
cmp eax, dword [esp + 0x1c]
jae 0x1002007f
test ebp, ebp
je 0x1002015a
mov dword [ebp], 0x11
mov dword [ebp + 4], 0
push dword [esp + 0x44]
call ebx
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x10020184
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
call ebx
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x1002019f
mov byte [esi + 4], 1
mov eax, dword [esp + 0x20]
test ax, ax
je 0x100202d8
mov edx, dword [esp + 0x50]
mov ecx, edi
push ebp
push 0
push eax
call fcn.1001d830
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
mov dword [esi + 0x40], edx
test edx, edx
jne 0x100201f5
cmp dword [esp + 0x48], eax
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], al
je 0x100201ea
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov eax, 0x800
test word [esi + 0xc], ax
je 0x100202d8
mov eax, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 8]
test eax, eax
jne 0x100202c9
movzx ecx, word [edx + 4]
mov eax, 1
xor esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x100202c5
mov eax, dword [esp + 0x38]
add eax, esi
mov dword [esp + 0x4c], eax
mov cl, byte [eax]
cmp cl, 0x1f
jbe 0x10020246
cmp cl, 0x80
jb 0x100202b2
cmp cl, 0xd
je 0x100202b2
cmp cl, 0xa
je 0x100202b2
cmp cl, 9
je 0x100202b2
mov al, cl
mov dword [esp + 0x30], 3
and al, 0xe0
cmp al, 0xc0
jne 0x1002026c
mov edx, 1
jmp 0x1002028c
mov al, cl
and al, 0xf0
cmp al, 0xe0
jne 0x1002027b
mov edx, 2
jmp 0x1002028c
and cl, 0xf8
cmp cl, 0xf0
jne 0x10020310
mov edx, 3
add esi, edx
cmp esi, dword [esp + 0x14]
jae 0x10020310
mov ecx, 1
nop dword [eax]
mov eax, dword [esp + 0x4c]
mov al, byte [eax + ecx]
and al, 0xc0
cmp al, 0x80
jne 0x10020310
inc ecx
cmp ecx, edx
jbe 0x100202a0
inc esi
cmp esi, dword [esp + 0x14]
jb 0x10020230
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [edx + 8], eax
cmp eax, 3
jne 0x1002031d
mov dword [edx + 8], 2
mov eax, dword [esi + 0x38]
mov edx, 0x7075
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x20], eax
xor eax, eax
test ecx, ecx
je 0x10020490
cmp word [ecx + 8], dx
jne 0x10020305
test dword [ecx + 4], 0x300
je 0x10020305
test eax, eax
jns 0x10020365
inc eax
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100202f1
jmp 0x10020490
mov eax, dword [esp + 0x20]
mov dword [eax + 8], 4
jmp 0x10020327
cmp eax, 2
je 0x100202d8
cmp eax, 1
je 0x100202d8
test ebp, ebp
je 0x10020339
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xd
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x1002035a
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
movzx eax, word [ecx + 0xa]
mov edx, eax
test dx, dx
je 0x10020490
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x10020490
cmp eax, 5
jb 0x10020490
cmp byte [ecx], 1
jne 0x10020490
cdq
push 0x18
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], edx
call dword [esp + 0x58]
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10020490
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov word [ecx], 1
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100220e0
call fcn.10021fb0
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10020410
mov edx, dword [eax]
movzx ecx, word [eax + 4]
test edx, edx
jne 0x10020403
xor ecx, ecx
jmp 0x10020410
push ecx
xor ecx, ecx
call fcn.10023880
add esp, 4
mov ecx, eax
cmp ecx, dword [esp + 0x38]
jne 0x10020474
mov ecx, dword [esp + 0x30]
call fcn.10022120
mov si, ax
push 0
movzx eax, si
cdq
push 0x800
push edx
push eax
call fcn.10021f10
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.1001d060
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x10020470
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1002046c
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cmp byte [eax + 1], 0
je 0x1002048a
push dword [eax + 4]
call ebx
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, 0x6375
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x20], eax
xor eax, eax
test ecx, ecx
je 0x100205fa
cmp word [ecx + 8], dx
jne 0x100204c4
test dword [ecx + 4], 0x300
je 0x100204c4
test eax, eax
jns 0x100204cf
inc eax
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100204b0
jmp 0x100205fa
movzx eax, word [ecx + 0xa]
mov edx, eax
test dx, dx
je 0x100205fa
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x100205fa
cmp eax, 5
jb 0x100205fa
cmp byte [ecx], 1
jne 0x100205fa
cdq
push 0x18
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], edx
call dword [esp + 0x58]
mov ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x100205fa
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
mov word [ecx], 1
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100220e0
call fcn.10021fb0
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002057a
mov edx, dword [eax]
movzx ecx, word [eax + 4]
test edx, edx
jne 0x1002056d
xor ecx, ecx
jmp 0x1002057a
push ecx
xor ecx, ecx
call fcn.10023880
add esp, 4
mov ecx, eax
cmp ecx, dword [esp + 0x38]
jne 0x100205de
mov ecx, dword [esp + 0x30]
call fcn.10022120
mov si, ax
push 0
movzx eax, si
cdq
push 0x800
push edx
push eax
call fcn.10021f10
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.1001d060
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x100205da
mov esi, dword [esp + 0x20]
test esi, esi
je 0x100205d6
push dword [esi]
call ebx
add esp, 4
push dword [esi + 0xc]
call ebx
add esp, 4
push esi
call ebx
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cmp byte [eax + 1], 0
je 0x100205f4
push dword [eax + 4]
call ebx
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call ebx
add esp, 4
cmp dword [esi + 0x30], 0xffffffff
mov eax, dword [esp + 0x20]
mov dword [esi + 0x40], eax
jne 0x1002060d
cmp dword [esi + 0x34], 0
je 0x1002062d
cmp dword [esi + 0x28], 0xffffffff
jne 0x10020619
cmp dword [esi + 0x2c], 0
je 0x1002062d
cmp dword [esi + 0x50], 0xffffffff
jne 0x10020917
cmp dword [esi + 0x54], 0
jne 0x10020917
mov eax, dword [esp + 0x2c]
xor edx, edx
mov ecx, dword [eax]
test ecx, ecx
je 0x10020664
mov esi, 0x100
nop
cmp word [ecx + 8], 1
jne 0x1002065e
cmp byte [esp + 0x1b], 0
mov eax, 0x200
cmovne eax, esi
test dword [ecx + 4], eax
je 0x1002065e
test edx, edx
jns 0x100206a2
inc edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10020640
test ebp, ebp
je 0x10020676
mov dword [ebp], 9
mov dword [ebp + 4], 0
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x10020697
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
movzx eax, word [ecx + 0xa]
mov edx, eax
mov esi, edx
test ax, ax
je 0x100206bc
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x100206c5
jmp 0x10020676
mov ecx, 0x1005a449
mov dword [esp + 0x14], ecx
movzx eax, dx
test ecx, ecx
mov dword [esp + 0x20], eax
movzx eax, ax
sete byte [esp + 0x1a]
cdq
push 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], edx
call dword [esp + 0x58]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10020728
test ebp, ebp
je 0x100206fc
mov dword [ebp], 0xe
mov dword [ebp + 4], eax
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x1002071d
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
mov cl, byte [esp + 0x1a]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov byte [esi + 1], cl
mov ecx, dword [esp + 0x28]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x4c]
mov byte [esi], 1
cmp dword [ecx + 0x30], 0xffffffff
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
jne 0x10020778
cmp dword [ecx + 0x34], 0
jne 0x10020778
mov ecx, esi
call fcn.10022010
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
jmp 0x100207b0
cmp byte [esp + 0x1b], 0
je 0x100207b0
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], 8
cmp dword [esp + 0x38], eax
jb 0x100207a2
ja 0x1002079d
cmp dword [esp + 0x4c], edx
jbe 0x100207a2
mov byte [esi], 0
jmp 0x100207b0
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], 0
cmp dword [ecx + 0x28], 0xffffffff
jne 0x100207cd
cmp dword [ecx + 0x2c], 0
jne 0x100207cd
mov ecx, esi
call fcn.10022010
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
cmp byte [esp + 0x1b], 0
jne 0x10020808
cmp dword [ecx + 0x50], 0xffffffff
jne 0x100207f1
cmp dword [ecx + 0x54], 0
jne 0x100207f1
mov ecx, esi
call fcn.10022010
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x50], eax
mov dword [ecx + 0x54], edx
cmp dword [ecx + 0x44], 0xffff
jne 0x10020808
mov ecx, esi
call fcn.10021fb0
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x44], eax
mov ecx, esi
call fcn.10021ef0
test al, al
jne 0x100208ff
mov eax, dword [esp + 0x20]
mov byte [esp + 0x30], 1
cmp ax, 0x18
je 0x1002085b
cmp ax, 0x1c
jne 0x100208ad
push 0
push 0x18
call fcn.10022410
add esp, 8
call fcn.10021fb0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
movzx edx, dl
cmp dword [ecx + 0x44], eax
mov eax, 0
cmovne edx, eax
mov dword [esp + 0x30], edx
push 0
push 0
mov ecx, esi
call fcn.10022410
add esp, 8
call fcn.10022010
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x30], eax
jne 0x100208ad
cmp dword [ecx + 0x34], edx
jne 0x100208ad
mov ecx, esi
call fcn.10022010
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x28], eax
jne 0x100208ad
cmp dword [ecx + 0x2c], edx
jne 0x100208ad
mov ecx, esi
call fcn.10022010
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x50], eax
jne 0x100208ad
cmp dword [ecx + 0x54], edx
jne 0x100208ad
cmp byte [esp + 0x30], 0
jne 0x100208ff
test ebp, ebp
je 0x100208bf
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xe
cmp byte [esi + 1], 0
je 0x100208cd
push dword [esi + 4]
call ebx
add esp, 4
push esi
call ebx
add esp, 4
cmp dword [esp + 0x48], 0
jne 0x1001fd77
test edi, edi
je 0x1001fd77
cmp byte [edi + 1], 0
je 0x100208f4
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
cmp byte [esi + 1], 0
je 0x1002090d
push dword [esi + 4]
call ebx
add esp, 4
push esi
call ebx
mov esi, dword [esp + 0x2c]
add esp, 4
cmp byte [edi], 0
jne 0x10020952
test ebp, ebp
je 0x1002092e
mov dword [ebp], 0x14
mov dword [ebp + 4], 0
cmp dword [esp + 0x48], 0
jne 0x1001fd77
cmp byte [edi + 1], 0
je 0x10020947
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
jmp 0x1001fd77
cmp dword [esp + 0x48], 0
jne 0x1002096d
cmp byte [edi + 1], 0
je 0x10020967
push dword [edi + 4]
call ebx
add esp, 4
push edi
call ebx
add esp, 4
cmp dword [esi + 0x54], 0x7fffffff
jb 0x10020999
ja 0x1002097e
cmp dword [esi + 0x50], 0xffffffff
jbe 0x10020999
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 4
mov dword [ebp + 4], 0x1b
jmp 0x1001fd77
cmp dword [esi + 0x10], 0x63
mov edx, 0x9901
jne 0x10020b33
mov ecx, dword [esi + 0x3c]
xor eax, eax
test ecx, ecx
je 0x100209cb
cmp word [ecx + 8], dx
jne 0x100209c5
test dword [ecx + 4], 0x300
je 0x100209c5
test eax, eax
jns 0x100209e6
inc eax
mov ecx, dword [ecx]
test ecx, ecx
jne 0x100209b1
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xe
jmp 0x1001fd77
movzx eax, word [ecx + 0xa]
mov edx, eax
test dx, dx
je 0x100209cb
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
test edi, edi
je 0x100209cb
cmp eax, 7
jb 0x100209cb
cdq
push 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], edx
call dword [esp + 0x58]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10020a2d
test ebp, ebp
je 0x1001fd77
mov dword [ebp], 0x14
jmp 0x1001fd70
mov eax, dword [esp + 0x38]
mov ecx, esi
mov dword [esi + 8], eax
mov eax, dword [esp + 0x4c]
mov word [esi], 1
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [esp + 0x1a], 1
call fcn.10021f60
movzx eax, ax
sub eax, 1
je 0x10020a87
sub eax, 1
je 0x10020a82
test ebp, ebp
je 0x10020ae5
mov dword [ebp], 0x18
mov dword [ebp + 4], 0
jmp 0x10020ae5
mov byte [esp + 0x1a], 0
push 0
push 2
mov ecx, esi
call fcn.10021f10
mov ecx, 0x4541
add esp, 8
cmp word [eax], cx
jne 0x10020a6a
mov ecx, esi
call fcn.100220e0
movzx eax, al
sub eax, 1
je 0x10020ac6
sub eax, 1
je 0x10020abf
sub eax, 1
jne 0x10020a6a
mov eax, 0x103
jmp 0x10020acb
mov eax, 0x102
jmp 0x10020acb
mov eax, 0x101
cmp word [esp + 0x14], 7
je 0x10020afe
test ebp, ebp
je 0x10020ae5
mov dword [ebp], 0x15
mov dword [ebp + 4], 0xe
cmp byte [esi + 1], 0
je 0x10020af3
push dword [esi + 4]
call ebx
add esp, 4
push esi
call ebx
add esp, 4
jmp 0x1001fd77
mov ebp, dword [esp + 0x28]
mov cl, byte [esp + 0x1a]
mov byte [ebp + 6], cl
mov ecx, esi
mov word [ebp + 0x5a], ax
call fcn.10021f60
cmp byte [esi + 1], 0
movzx eax, ax
mov dword [ebp + 0x10], eax
je 0x10020b28
push dword [esi + 4]
call ebx
add esp, 4
push esi
call ebx
add esp, 4
mov edx, 0x9901
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
mov esi, dword [eax]
mov ebp, esi
test esi, esi
je 0x10020bc1
nop dword [eax + eax]
movzx eax, word [esi + 8]
mov ecx, 0x6375
cmp ax, cx
je 0x10020b7a
mov ecx, 0x7075
cmp ax, cx
je 0x10020b7a
cmp ax, dx
je 0x10020b7a
cmp eax, 1
je 0x10020b7a
mov dword [esp + 0x14], esi
mov esi, dword [esi]
jmp 0x10020bb9
mov eax, dword [esi]
cmp ebp, esi
mov dword [esp + 0x30], eax
cmove ebp, eax
mov dword [esi], 0
nop dword [eax + eax]
push dword [esi + 0xc]
mov edi, dword [esi]
call ebx
add esp, 4
push esi
call ebx
add esp, 4
mov esi, edi
test edi, edi
jne 0x10020b90
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
test ecx, ecx
je 0x10020bb4
mov dword [ecx], esi
mov edx, 0x9901
test esi, esi
jne 0x10020b50
mov eax, dword [esp + 0x2c]
mov dword [eax], ebp
xor edx, edx
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
adc edx, edx
jmp 0x1001fd7c