Function at 0x10066840
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e86c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x378
xor eax, eax
mov dword [ebp - 0xc0], 0
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0xa8], eax
push edi
mov dword [ebp - 0x10], ecx
movlpd qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], al
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov eax, ebx
or eax, esi
jne 0x100668da
mov esi, dword [ebp + 8]
mov dword [esi], 0xc00000ef
mov byte [esi + 0x48], al
jmp 0x10066b5d
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor edi, edi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edi
push 0x40
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 1
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x280]
push 0x108
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x178]
push eax
push 0x40
push esi
push ebx
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
call fcn.10077450
mov eax, 0x5a4d
cmp word [ebp - 0x178], ax
je 0x1006694e
mov esi, dword [ebp + 8]
mov dword [esi], 0xc000012f
mov byte [esi + 0x48], 0
jmp 0x10066b5d
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x280]
push eax
mov eax, dword [ebp - 0x13c]
cdq
add eax, dword [ecx]
push 0x108
adc edx, dword [ecx + 4]
mov ecx, dword [ebx + 4]
push edx
push eax
call fcn.10077450
cmp dword [ebp - 0x280], 0x4550
je 0x10066992
mov esi, dword [ebp + 8]
mov dword [esi], 0xc000007b
mov byte [esi + 0x48], 0
jmp 0x10066b5d
mov eax, dword [ebp - 0x268]
mov ecx, 0x10b
mov ebx, dword [ebp - 0x1f8]
cmp ax, cx
cmove ebx, dword [ebp - 0x208]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x10066b3e
mov esi, dword [ebp - 0x1f4]
cmp ax, cx
cmove esi, dword [ebp - 0x204]
push esi
mov dword [ebp - 0x6c], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
mov byte [ebp - 4], 1
mov edx, ebx
mov ecx, dword [ebp + 0xc]
mov eax, 0
push edi
push esi
mov dword [ebp - 0xd4], edi
add edx, dword [ecx]
adc eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x10]
push eax
push edx
mov ecx, dword [ecx + 4]
call fcn.10077450
test eax, eax
jns 0x10066a12
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 5
jmp 0x10066b4f
mov ebx, edi
cmp esi, 0x28
ja 0x10066a96
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0x18]
cmovbe ecx, dword [edi + 0x18]
imul esi, ecx, 0xff
add esi, dword [edi + 0x24]
sub esi, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x6c], esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov ebx, eax
mov eax, edi
mov byte [ebp - 4], 6
mov edi, ebx
mov dword [ebp - 0xd4], edi
test eax, eax
je 0x10066a5a
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov edx, dword [ebp - 0x14]
mov eax, 0
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ebx
push esi
add edx, dword [ecx]
adc eax, dword [ecx + 4]
push eax
mov eax, dword [ebp - 0x10]
push edx
mov ecx, dword [eax + 4]
call fcn.10077450
test eax, eax
jns 0x10066a96
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 7
test ebx, ebx
jmp 0x10066b51
mov edx, dword [ebp - 0x14]
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x24]
sub esi, edx
mov ecx, dword [ebx + 0x20]
add esi, ebx
sub eax, edx
mov dword [ebp - 0x48], esi
sub ecx, edx
add eax, ebx
add ecx, ebx
mov dword [ebp - 0xcc], eax
xor esi, esi
mov dword [ebp - 0xd0], ecx
cmp dword [ebx + 0x14], esi
jbe 0x10066b3e
cmp dword [ebp + 0x10], 0xffff
ja 0x10066ae2
mov ecx, dword [ebx + 0x10]
movzx eax, si
add ecx, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
movzx eax, ax
cmp eax, ecx
jmp 0x10066b2a
cmp esi, dword [ebx + 0x18]
jae 0x1006741f
mov ecx, dword [ecx + esi*4]
movzx eax, word [eax + esi*2]
sub ecx, edx
mov dword [ebp - 0x68], eax
add ecx, ebx
mov eax, dword [ebp + 0x10]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10066b20
test dl, dl
je 0x10066b1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10066b20
add ecx, 2
add eax, 2
test dl, dl
jne 0x10066b00
xor eax, eax
jmp 0x10066b25
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x14]
test eax, eax
je 0x10066b7d
mov eax, dword [ebp - 0xcc]
inc esi
mov ecx, dword [ebp - 0xd0]
cmp esi, dword [ebx + 0x14]
jb 0x10066ac4
mov esi, dword [ebp + 8]
mov dword [esi], 0xc0000225
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 0x15
test edi, edi
je 0x10066b5d
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.10062d20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x68]
mov eax, dword [ecx]
mov esi, dword [ebx + esi*4]
xor ebx, ebx
add esi, eax
mov dword [ebp - 0xc8], esi
adc ebx, dword [ecx + 4]
mov ecx, edx
mov edx, dword [ebp + 0xc]
add ecx, eax
mov eax, 0
mov dword [ebp - 0xc4], ebx
adc eax, dword [edx + 4]
mov edx, dword [ebp - 0x14]
cmp ebx, eax
jb 0x100673dd
ja 0x10066bc2
cmp esi, ecx
jb 0x100673dd
mov ecx, dword [ebp - 0x6c]
xor eax, eax
add ecx, edx
mov edx, dword [ebp + 0xc]
adc eax, eax
add ecx, dword [edx]
adc eax, dword [edx + 4]
cmp ebx, eax
ja 0x100673dd
jb 0x10066be5
cmp esi, ecx
ja 0x100673dd
push 0xff
lea eax, [ebp - 0x380]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x380]
push eax
mov eax, dword [ebp - 0x10]
push 0xff
push ebx
push esi
mov ecx, dword [eax + 4]
call fcn.10077450
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x18], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10066c32
sub ecx, edx
lea eax, [ebp - 0x380]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100485f0
mov byte [ebp - 4], 9
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 0x1c]
cmovae esi, dword [ebp - 0x2c]
cmp ebx, 1
jb 0x10066ca5
push ebx
push 0x2e
push esi
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
je 0x10066ca5
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x10066c80
xor eax, eax
jmp 0x10066c85
sbb eax, eax
or eax, 1
test eax, eax
je 0x10066d36
inc edx
lea eax, [esi + ebx]
sub eax, edx
push eax
push 0x2e
push edx
call sub.VCRUNTIME140.dll_memchr
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x10066c74
or edx, 0xffffffff
cmp ebx, edx
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xe0], 0
cmovb edx, ebx
mov dword [ebp - 0xdc], 0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0xf0]
push edx
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.100485f0
push str..dll
lea edx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
call fcn.10049490
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xdc]
cmp ecx, 0x10
jb 0x10066d47
mov edx, dword [ebp - 0xf0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10066d3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10066d3d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub edx, esi
jmp 0x10066ca8
push ecx
push edx
call fcn.1013b151
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
mov edx, ebx
cmovae ecx, dword [ebp - 0x2c]
push 1
push 0x10195198
push ecx
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
call fcn.10051350
add esp, 0xc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea edx, [eax + 1]
cmp ebx, edx
jb 0x10067435
sub ebx, edx
lea eax, [ebp - 0x2c]
or esi, 0xffffffff
cmp ebx, esi
mov ecx, esi
cmovb ecx, ebx
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
add eax, edx
push eax
call fcn.100485f0
push ecx
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
call fcn.100656e0
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0xc0]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
mov byte [ebp - 0x8e], 1
call fcn.10050370
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x34]
cmp ebx, 0x10
push 1
cmovae ecx, dword [ebp - 0x44]
push 0x10195194
push ecx
call fcn.10051350
add esp, 0xc
test eax, eax
sete byte [ebp - 0x8d]
test eax, eax
lea eax, [ebp - 0x44]
jne 0x10066e4e
cmp ebx, 0x10
cmovae eax, dword [ebp - 0x44]
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov bx, ax
add esp, 4
mov word [ebp - 0x90], bx
jmp 0x10066e6b
push dword [ebp - 0x34]
cmp ebx, 0x10
lea ecx, [ebp - 0xa8]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.10050480
mov bx, word [ebp - 0x90]
push dword [ebp + 0x14]
xor eax, eax
mov ecx, 0x10b
cmp word [ebp - 0x268], cx
mov ecx, dword [ebp - 0x10]
setne al
push eax
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10066190
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x4c], 0
jne 0x100670c4
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0x138]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x134], ecx
lea ecx, [ebp - 0x130]
push eax
call fcn.1004fd90
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x118]
call fcn.10049340
mov ax, word [ebp - 0x90]
mov word [ebp - 0x100], ax
movzx eax, byte [ebp - 0x8e]
mov byte [ebp - 0xfe], al
movzx eax, byte [ebp - 0x8d]
mov byte [ebp - 0xfd], al
mov eax, dword [ebp + 8]
mov dword [eax], 0x107
lea ecx, [eax + 8]
lea eax, [ebp - 0x138]
push eax
call fcn.10063ae0
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x138]
call fcn.10062d20
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10066f5d
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x10066f5d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x10066f5d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x10066f9b
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10066f91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006706f
push ecx
push edx
call fcn.1013b151
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 0x10
jb 0x10066fe7
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10066fdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006706f
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x10067030
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067026
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006706f
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x1006707f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067075
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10067075
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x100670a3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.10062d20
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp - 0x8d], 0
je 0x10067254
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
cmovae eax, dword [ebp - 0x64]
push eax
movzx eax, bx
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.10066810
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10067115
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x10067115
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x10067115
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x10067153
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10067149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 0x10
jb 0x1006719f
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067195
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x100671ec
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100671e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x10067239
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006722f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x12
jmp 0x10067095
cmp dword [ebp - 0x50], 8
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.10066810
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x100672a0
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x100672a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x100672a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x50]
cmp ecx, 8
jb 0x100672de
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100672d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp ecx, 0x10
jb 0x1006732a
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067320
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x10067373
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100673b2
push ecx
push edx
call fcn.1013b151
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x100673c2
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100673b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100673b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1013b151
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x13
jmp 0x10067095
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x138]
call fcn.10063ae0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x138]
push eax
lea ecx, [esi + 8]
mov dword [esi], 0
call fcn.10063ae0
mov byte [ecx + 0x40], 1
lea ecx, [ebp - 0x138]
call fcn.10062d20
mov byte [ebp - 4], 0x14
jmp 0x10066b4f
mov esi, dword [ebp + 8]
mov dword [esi], 0xc0000225
mov byte [esi + 0x48], 0
mov byte [ebp - 4], 8
jmp 0x10066b4f
call fcn.100505c0
int3