Function at 0x17cada6e
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp dword [ebp + 0x18], edi
je 0x17cadac0
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.17cb6743
cmp eax, edi
jge 0x17cadac0
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cadac0
test byte [ecx + 0x1c], 1
je 0x17cadac0
push eax
push 0x17c925fc
push 0x45
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
mov eax, dword [esi + 0x38]
test byte [eax + 0xb4], 2
mov ebx, 0x4006
jne 0x17cadadd
cmp dword [ebp + 0xc], ebx
jne 0x17cadadd
xor esi, esi
jmp 0x17cae27c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
cmp dword [ebp + 0xc], ebx
jne 0x17cadb11
mov edx, dword [esi + 0x38]
mov edx, dword [edx + 0xb8]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [edx + 0x48]
mov eax, dword [ebp - 0xc]
mov esi, dword [edx + 0x4c]
sbb eax, esi
cmp eax, edi
ja 0x17cadb11
jb 0x17cadad6
cmp ecx, 0x493e0
jbe 0x17cadad6
push 0x18
call fcn.17d06be2
mov ebx, eax
mov dword [ebp + 0x18], ebx
cmp ebx, edi
jne 0x17cadb5c
mov esi, 0x8007000e
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae215
test byte [eax + 0x1c], 1
je 0x17cae215
push 0x17c925fc
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
mov eax, dword [0x17d26008]
jmp 0x17cae215
push 6
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 0x10], 3
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x10]
push 0x68
mov dword [ebx + 8], eax
call fcn.17d06be2
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x17cadbbb
mov esi, 0x8007000e
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae215
test byte [eax + 0x1c], 1
je 0x17cae215
push 0x17c925fc
push 0x47
jmp 0x17cadb47
push 0x68
push 0
push esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax]
add esp, 0xc
mov dword [esi], eax
cmp edi, 0x4006
je 0x17cae100
cmp edi, 0x4007
je 0x17cae100
cmp edi, 0x4008
je 0x17cae100
cmp edi, 0x400a
jne 0x17cadcda
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x17cadca3
mov eax, dword [eax + 4]
test eax, eax
je 0x17cadca3
mov edi, dword [ebp - 4]
add edi, 8
push edi
push eax
call fcn.17ca641f
mov esi, eax
test esi, esi
jge 0x17cadc63
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x4d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cae209
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
push edi
push dword [eax + 0xb8]
call fcn.17cac8ed
mov esi, eax
test esi, esi
jge 0x17cae06c
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x4e
jmp 0x17cadc53
mov esi, 0x80070057
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae264
test byte [eax + 0x1c], 1
je 0x17cae264
push esi
push 0x17c925fc
push 0x4c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cae264
cmp edi, 0x4005
jne 0x17cae06c
cmp dword [ebp + 0x10], 0
jne 0x17cae06c
mov esi, 0x90
push esi
call fcn.17d07b64
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
jne 0x17cadd97
mov esi, 0x8007000e
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cadd37
test byte [eax + 0x1c], 1
je 0x17cadd37
push esi
push 0x17c925fc
push 0x4f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov eax, dword [0x17d26008]
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x17cae22a
mov eax, dword [ebp + 8]
mov dword [ebx + 4], esi
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0xb8]
push ebx
add eax, 4
push eax
call fcn.17d0928d
mov esi, eax
test esi, esi
jge 0x17cae223
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae22a
test byte [eax + 0x1c], 1
je 0x17cae22a
push esi
push 0x17c925fc
push 0x5d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cae225
push esi
push 0
push edi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [eax + 0x28]
mov eax, dword [eax + 0x38]
push edi
push dword [eax + 0xc]
mov dword [ebp + 0x10], ecx
push ecx
call fcn.17cacb80
mov esi, eax
test esi, esi
jge 0x17cadde6
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x50
jmp 0x17cadc53
mov ebx, dword [ebp - 4]
lea eax, [ebx + 0x50]
push eax
lea eax, [edi + 0x28]
push eax
call fcn.17ca64a4
mov esi, eax
test esi, esi
jge 0x17cade23
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x51
jmp 0x17cadc53
lea eax, [edi + 0x40]
add ebx, 8
push ebx
push eax
mov dword [ebp + 0x14], eax
call fcn.17ca6485
mov esi, eax
test esi, esi
jge 0x17cade60
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x52
jmp 0x17cadc53
mov edi, dword [edi]
cmp edi, 3
je 0x17cae06c
push edi
push 0x17c926e8
mov edi, 0x17c91f84
push edi
call fcn.17ca24d8
mov esi, eax
test esi, esi
jge 0x17cadea9
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x53
jmp 0x17cadc53
mov ebx, dword [ebp - 8]
lea eax, [ebx + 0x18]
push eax
push 8
push 4
push 0x17c926d0
push edi
call fcn.17ca27d1
mov esi, eax
test esi, esi
jge 0x17cadeec
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x54
jmp 0x17cadc53
mov ebx, dword [ebx]
cmp ebx, 1
jne 0x17cadfb5
push dword [ebp + 0x14]
call fcn.17cac342
push dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push ebx
mov dword [ebp - 0x14], edx
call fcn.17cdae1a
mov esi, eax
test esi, esi
jge 0x17cadf3a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], bl
je 0x17cae20e
push esi
push 0x17c925fc
push 0x55
jmp 0x17cadc53
lea eax, [ebp - 0x18]
push eax
push 8
push 4
push 0x17c92698
push edi
call fcn.17ca27d1
mov esi, eax
test esi, esi
jge 0x17cadf7a
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x56
jmp 0x17cadc53
push 0x80
call fcn.17cdac83
test eax, eax
jge 0x17cae06c
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cae06c
test byte [ecx + 0x1c], 1
je 0x17cae06c
push eax
push 0x17c925fc
push 0x57
jmp 0x17cae061
cmp ebx, 2
jne 0x17cae06c
push dword [ebp + 0x10]
push ebx
call fcn.17cdae1a
mov esi, eax
test esi, esi
jge 0x17cadff4
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x58
jmp 0x17cadc53
mov eax, dword [ebp - 8]
add eax, 0x58
push eax
push 8
push 4
push 0x17c92668
push edi
call fcn.17ca27d1
mov esi, eax
test esi, esi
jge 0x17cae037
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x59
jmp 0x17cadc53
push 0x180
call fcn.17cdac83
test eax, eax
jge 0x17cae06c
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cae06c
test byte [ecx + 0x1c], 1
je 0x17cae06c
push eax
push 0x17c925fc
push 0x5a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
mov eax, dword [ebp - 4]
mov esi, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 0x14], eax
cmp dword [edi + 0x24], 2
mov dword [ebp - 4], ebx
jne 0x17cae0bc
cmp dword [eax], 3
je 0x17cae0bc
push esi
push 1
push ebx
call fcn.17cabb2d
cmp eax, ebx
jge 0x17cae0bc
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cae0bc
test byte [ecx + 0x1c], 1
je 0x17cae0bc
push eax
push 0x17c925fc
push 0x5b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0xb8]
push esi
add eax, 4
push eax
call fcn.17d0928d
mov esi, eax
cmp esi, ebx
jge 0x17cae1e8
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x5c
jmp 0x17cadc53
mov edi, dword [ebp + 0x14]
test edi, edi
jne 0x17cae13e
mov esi, 0x80070057
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae215
test byte [eax + 0x1c], 1
je 0x17cae215
push esi
push 0x17c925fc
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17cadb52
mov eax, dword [ebp - 4]
add eax, 4
push eax
push dword [edi]
call fcn.17ca6cee
mov esi, eax
test esi, esi
jge 0x17cae179
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x49
jmp 0x17cadc53
mov ebx, dword [ebp - 4]
add ebx, 8
push ebx
push dword [edi + 8]
call fcn.17ca641f
mov esi, eax
test esi, esi
jge 0x17cae1ad
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x4a
jmp 0x17cadc53
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
push ebx
push dword [eax + 0xb8]
call fcn.17cac8ed
mov esi, eax
test esi, esi
jge 0x17cae06c
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cae20e
test byte [eax + 0x1c], 1
je 0x17cae20e
push esi
push 0x17c925fc
push 0x4b
jmp 0x17cadc53
cmp dword [ebp + 0xc], 0x4006
mov dword [ebp + 0x18], ebx
jne 0x17cae209
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 0xb8]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x4c], ecx
mov eax, dword [0x17d26008]
mov ebx, dword [ebp + 0x18]
test esi, esi
jge 0x17cae256
cmp dword [ebp + 0xc], 0x4005
jne 0x17cae256
jmp 0x17cadd3a
xor ebx, ebx
mov eax, dword [0x17d26008]
test esi, esi
jge 0x17cae256
cmp eax, 0x17d26008
je 0x17cae24d
test byte [eax + 0x1c], 1
je 0x17cae24d
push 0x17c925fc
push 0x5e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
push esi
push dword [ebp + 8]
call fcn.17cad9ef
cmp dword [ebp - 8], 0
je 0x17cae264
push dword [ebp - 8]
call fcn.17cab4b2
cmp dword [ebp - 4], 0
je 0x17cae272
push dword [ebp - 4]
call fcn.17cab43c
test ebx, ebx
je 0x17cae27c
push ebx
call fcn.17cab4f6
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14