Function at 0x1003c6a0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create thread
Get file size
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044c8c
mov eax, dword fs:[0]
push eax
mov eax, 0x1b1c
call fcn.10038cc0
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x17ac], edi
mov dword [ebp - 0x17b4], edi
lea eax, [edi + 0x30]
mov dword [ebp - 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x1003c70d
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], ecx
lea esi, [edi + 0x407c]
mov byte [ebp - 4], 4
push 8
mov dword [ebp - 0x17ac], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
call fcn.10006f67
xor ecx, ecx
mov dword [esi], eax
xor edx, edx
mov dword [ebp - 0x17c8], ecx
add esp, 4
mov dword [ebp - 0x17c4], edx
test eax, eax
je 0x1003c770
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x4090]
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x17ac], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10006f67
xor ecx, ecx
mov dword [esi], eax
xor edx, edx
mov dword [ebp - 0x17c0], ecx
add esp, 4
mov dword [ebp - 0x17bc], edx
test eax, eax
je 0x1003c7cb
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x40a8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x1003c7f9
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0x40d0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x17ac], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.10003c20
mov dword [esi], eax
lea eax, [edi + 0x40e0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x1003c846
mov ecx, dword [eax]
jmp 0x1003c848
mov ecx, eax
add eax, 0x2c
xor edx, edx
mov word [ecx], dx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], edx
jb 0x1003c862
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0x4124], ecx
mov dword [edi + 0x4128], ecx
mov dword [edi + 0x412c], ecx
mov dword [edi + 0x4130], ecx
mov dword [edi + 0x4134], ecx
mov dword [edi + 0x4138], ecx
mov dword [edi + 0x413c], ecx
mov dword [edi + 0x4140], ecx
mov dword [edi + 0x4144], ecx
lea eax, [edi + 0x4180]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], ecx
jb 0x1003c8bb
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 0xd
call fcn.10005110
mov ecx, eax
test ecx, ecx
jne 0x1003c8d9
push 0x80004005
call fcn.10005930
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x1004db28
jne 0x1003c8ee
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1003c8f0
call edx
add eax, 0x10
mov dword [edi + 0x4198], eax
lea eax, [edi + 0x419c]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x1003c923
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 0xf
push ecx
mov dword [edi + 0x4178], ecx
mov dword [edi + 0x417c], ecx
lea ecx, [edi + 0x4198]
push 0x1004db40
call fcn.10005730
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [edi + 0x4170], eax
lea ecx, [edi + 0x407c]
mov dword [0x10058a1c], 0
mov dword [edi + 0x416c], 0
mov byte [edi], 0
mov byte [edi + 0x14], 1
mov byte [0x10058a1b], 0
mov dword [edi + 0x28], 0x1000000
mov word [edi + 0x24], 1
mov dword [edi + 0x40d8], 0
mov dword [edi + 0x40dc], 0
mov word [edi + 0x415c], 0
mov byte [edi + 0x415e], 0
mov byte [edi + 0x27], 0
mov dword [0x10058c20], 0
mov dword [edi + 0x4160], 0xffffffff
mov dword [edi + 0x4164], 0xffffffff
mov byte [edi + 0x2c], 0
mov dword [edi + 0x40a4], 0
call fcn.10002020
lea ecx, [edi + 0x4090]
call fcn.10002020
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000000
push 0x4000000
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 8], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xc], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x10], eax
call esi
mov edx, 0x65
mov dword [edi + 4], eax
mov eax, 0x63
mov dword [ebp - 0x14c], 0x740061
mov dword [ebp - 0x150], 0x720065
mov dword [ebp - 0x156], 0x650063
mov dword [ebp - 0x148], 0x500065
lea ecx, [edx - 4]
mov dword [ebp - 0x130], 0x740075
mov dword [ebp - 0x160], 0x50005c
mov dword [ebp - 0x134], 0x4d0072
mov dword [ebp - 0x12a], 0x78
mov dword [ebp - 0x16a], 0x6f006c
mov dword [ebp - 0x15c], 0x410043
mov dword [ebp - 0x166], 0x610062
mov word [ebp - 0x158], ax
mov dword [ebp - 0x13a], 0x6e006e
mov dword [ebp - 0x140], 0x630053
mov word [ebp - 0x12c], dx
mov eax, 0x47
mov word [ebp - 0x13c], cx
mov word [ebp - 0x16c], ax
mov eax, 0x6c
mov word [ebp - 0x162], ax
mov word [ebp - 0x152], ax
lea eax, [ebp - 0x16c]
push eax
push 0
push 0x1f0001
mov dword [ebp - 0x144], 0x6f0072
mov word [ebp - 0x136], dx
call dword [0x10058c50]
mov dword [0x10058c24], eax
cmp dword [0x10058c24], 0
je 0x1003cb41
mov byte [0x10058a1a], 0
jmp 0x1003cbc7
push 1
lea eax, [ebp - 0x177c]
mov byte [ebp - 0x177c], 0
xorps xmm0, xmm0
mov word [ebp - 0x176b], 0
push eax
movups xmmword [ebp - 0x177b], xmm0
mov byte [ebp - 0x1769], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x177c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xorps xmm0, xmm0
mov dword [ebp - 0x17a8], 0xc
lea eax, [ebp - 0x177c]
movq qword [ebp - 0x17a4], xmm0
mov dword [ebp - 0x17a4], eax
lea eax, [ebp - 0x16c]
push eax
push 0
lea eax, [ebp - 0x17a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x10058c24], eax
mov byte [0x10058a1a], 1
push 0x208
lea eax, [ebp - 0xf50]
push 0
push eax
call fcn.10020430
add esp, 0xc
lea eax, [ebp - 0xf50]
push 0x104
push eax
push 0
call dword [0x10058c60]
lea eax, [ebp - 0xf50]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003cc00
sub eax, edx
lea ecx, [ebp - 0xf50]
sar eax, 1
dec eax
cmp word [ecx + eax*2], 0x5c
lea ecx, [ecx + eax*2]
je 0x1003cc38
xor edx, edx
lea eax, [eax - 1]
mov word [ecx], dx
lea ecx, [ebp - 0xf50]
cmp word [ecx + eax*2], 0x5c
lea ecx, [ecx + eax*2]
jne 0x1003cc20
cmp word [ebp - 0xf50], 0
jne 0x1003cc46
xor ecx, ecx
jmp 0x1003cc5f
lea ecx, [ebp - 0xf50]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003cc50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xf50]
push eax
lea ecx, [edi + 0x30]
call fcn.10002560
push 0x208
lea eax, [ebp - 0x548]
push 0
push eax
call fcn.10020430
add esp, 0xc
mov ecx, 0x23
cmp byte [ebp + 0x20], 0
mov eax, 0x1c
cmovne eax, ecx
push 0
push eax
lea eax, [ebp - 0x548]
push eax
push 0
call dword [0x10058c4c]
lea ecx, [ebp - 0x17b0]
call fcn.1003a8b0
mov byte [ebp - 4], 0x10
push dword [eax]
lea eax, [ebp - 0x548]
push eax
call dword [0x10058c48]
mov byte [ebp - 4], 0xf
or eax, 0xffffffff
mov ecx, dword [ebp - 0x17b0]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003cd03
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x1004db28
jne 0x1003ccff
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003cd03
mov ecx, edx
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x548]
push eax
call esi
test eax, eax
jne 0x1003cd21
lea ecx, [ebp - 0x548]
call fcn.1003e6e0
lea eax, [ebp - 0x548]
push eax
push 0x100
push 0x10058a20
call fcn.100265fa
add esp, 0xc
mov dword [ebp - 0x2ae], 0x65
mov eax, 0x62
mov dword [ebp - 0x2b2], 0x730061
mov word [ebp - 0x2b4], ax
lea eax, [ebp - 0x2bc]
mov dword [ebp - 0x2bc], 0x610064
push eax
lea eax, [ebp - 0x548]
mov dword [ebp - 0x2b8], 0x610074
push eax
call dword [0x10058c48]
lea eax, [ebp - 0x548]
push eax
call esi
test eax, eax
jne 0x1003cd9a
lea ecx, [ebp - 0x548]
call fcn.1003e6e0
mov eax, 0x5c
mov dword [ebp - 0x262], 0x500052
mov ecx, 0x50
mov word [ebp - 0x264], ax
lea eax, [ebp - 0x264]
mov word [ebp - 0x25a], cx
push eax
lea ecx, [ebp - 0x1a98]
mov dword [ebp - 0x254], 0x63002e
mov dword [ebp - 0x25e], 0x410043
mov dword [ebp - 0x258], 0x6f0072
mov dword [ebp - 0x24c], 0x66
mov dword [ebp - 0x250], 0x6e006f
call fcn.10001970
mov esi, eax
push 0x10058a20
lea ecx, [ebp - 0x1a38]
mov byte [ebp - 4], 0x11
call fcn.10001970
push esi
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1a50]
call fcn.10004070
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1003ce33
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x1a50]
mov esi, eax
call fcn.10001830
lea ecx, [ebp - 0x1a38]
call fcn.10001830
lea ecx, [ebp - 0x1a98]
mov byte [ebp - 4], 0xf
call fcn.10001830
cmp esi, 0xffffffff
je 0x1003d468
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0x800
lea eax, [ebp - 0xd48]
push 0
push eax
call fcn.10020430
lea eax, [ebp - 0x104]
mov dword [ebp - 0x104], 0x46646950
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0xfc], 0x22
push 0x800
push eax
mov word [ebp - 0xff], 0x656c
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xfd], 0x20
call fcn.100272e2
mov ecx, esp
push 0x10058a20
call fcn.10001970
lea ecx, [ebp - 0x19f0]
call fcn.10041ca0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1003cf07
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
add esp, 0xc
lea ecx, [ebp - 0x19f0]
call fcn.10001a40
lea eax, [ebp - 0xc4]
mov word [ebp - 0xb9], 0x64
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0xc3], 0x5052
push 0x800
push eax
mov byte [ebp - 0xc4], 0x5c
mov dword [ebp - 0xc0], 0x6f725041
mov word [ebp - 0xbc], 0x702e
mov byte [ebp - 0xc1], 0x43
mov byte [ebp - 0xba], 0x69
call fcn.1002733c
push 0x1004da58
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0x124]
mov dword [ebp - 0x121], 0x656c6946
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x124], 0x6f4c
push 0x800
push eax
mov byte [ebp - 0x122], 0x67
mov word [ebp - 0x11d], 0x2220
mov byte [ebp - 0x11b], 0
call fcn.1002733c
add esp, 0xc
mov ecx, esp
push 0x10058a20
call fcn.10001970
lea ecx, [ebp - 0x1918]
call fcn.10041ca0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1003cff6
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0xd48]
call fcn.10004100
lea ecx, [ebp - 0x1918]
call fcn.10001a40
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xcb], 0x676f6c
push eax
lea eax, [ebp - 0xd48]
mov dword [ebp - 0xd3], 0x41435052
push 0x800
push eax
mov dword [ebp - 0xcf], 0x2e6f7250
mov byte [ebp - 0xd4], 0x5c
call fcn.1002733c
push 0x1004da58
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0x5c]
mov word [ebp - 0x4a], 0x22
push eax
lea eax, [ebp - 0xd48]
mov dword [ebp - 0x56], 0x69446573
push 0x800
push eax
mov dword [ebp - 0x4f], 0x79726f74
mov dword [ebp - 0x5a], 0x61626174
mov word [ebp - 0x51], 0x6365
mov byte [ebp - 0x4b], 0x20
mov word [ebp - 0x5c], 0x6144
mov byte [ebp - 0x52], 0x72
call fcn.1002733c
add esp, 0xc
mov ecx, esp
push 0x10058a20
call fcn.10001970
lea ecx, [ebp - 0x1a20]
call fcn.10041ca0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1003d0ca
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0xd48]
call fcn.10004100
lea ecx, [ebp - 0x1a20]
call fcn.10001a40
lea eax, [ebp - 0x114]
mov dword [ebp - 0x113], 0x61746164
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x10f], 0x6162
push 0x800
push eax
mov byte [ebp - 0x114], 0x5c
mov word [ebp - 0x10c], 0x65
mov byte [ebp - 0x10d], 0x73
call fcn.1002733c
push 0x1004da58
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0xa0]
mov word [ebp - 0x93], 0x30
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x9b], 0x6b63
push 0x800
push eax
mov dword [ebp - 0x98], 0x33332074
mov dword [ebp - 0x9f], 0x6f535043
mov byte [ebp - 0x94], 0x31
mov byte [ebp - 0xa0], 0x54
mov byte [ebp - 0x99], 0x65
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0x8c]
mov word [ebp - 0x7f], 0x302e
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x7c], 0x31
push 0x800
push eax
mov word [ebp - 0x84], 0x3231
mov dword [ebp - 0x8b], 0x64415043
mov word [ebp - 0x87], 0x7264
mov word [ebp - 0x82], 0x2e37
mov byte [ebp - 0x85], 0x20
mov byte [ebp - 0x7d], 0x2e
mov byte [ebp - 0x8c], 0x54
mov byte [ebp - 0x80], 0x30
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
add esp, 0x48
mov dword [ebp - 0xe4], 0x666c6553
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xde], 0x206b6365
mov word [ebp - 0xda], 0x30
mov word [ebp - 0xe0], 0x6843
push eax
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
mov dword [ebp - 0x35], 0x6579206b
mov word [ebp - 0x3a], 0x4374
mov dword [ebp - 0x44], 0x61736944
mov word [ebp - 0x37], 0x6365
mov byte [ebp - 0x38], 0x68
lea eax, [ebp - 0x44]
mov dword [ebp - 0x3e], 0x72654365
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x40], 0x6c62
push 0x800
push eax
mov word [ebp - 0x31], 0x73
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb1], 0x6f546563
push eax
lea eax, [ebp - 0xd48]
mov dword [ebp - 0xab], 0x6e206b73
push 0x800
push eax
mov word [ebp - 0xb4], 0x6f46
mov word [ebp - 0xad], 0x6944
mov word [ebp - 0xa7], 0x6f
mov byte [ebp - 0xb2], 0x72
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
add esp, 0x48
mov word [ebp - 0xf4], 0x6353
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf1], 0x464c456e
mov dword [ebp - 0xed], 0x6f6e20
mov byte [ebp - 0xf2], 0x61
push eax
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x22], 0x74616e67
push eax
lea eax, [ebp - 0xd48]
mov dword [ebp - 0x1a], 0x6f6e20
push 0x800
push eax
mov dword [ebp - 0x2a], 0x69687369
mov dword [ebp - 0x26], 0x6953676e
mov word [ebp - 0x2c], 0x6850
mov dword [ebp - 0x1e], 0x73657275
call fcn.1002733c
push 0x1004da5c
lea eax, [ebp - 0xd48]
push 0x800
push eax
call fcn.1002733c
lea eax, [ebp - 0x74]
mov dword [ebp - 0x6e], 0x6353676e
push eax
lea eax, [ebp - 0xd48]
mov word [ebp - 0x6a], 0x6e61
push 0x800
push eax
mov word [ebp - 0x62], 0x6f
mov dword [ebp - 0x67], 0x20734c52
mov dword [ebp - 0x74], 0x73696850
mov word [ebp - 0x70], 0x6968
mov byte [ebp - 0x63], 0x6e
mov byte [ebp - 0x68], 0x55
call fcn.1002733c
push 0x1004da5c
push 0x800
lea eax, [ebp - 0xd48]
push eax
call fcn.1002733c
lea ecx, [ebp - 0xd48]
add esp, 0x48
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d440
push 0
lea eax, [ebp - 0x1798]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0xd48]
push eax
push esi
call dword [0x10058c44]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x43
mov dword [ebp - 0x2e2], 0x500041
mov word [ebp - 0x2e4], ax
lea ecx, [ebp - 0x1a80]
mov eax, 0x63
mov dword [ebp - 0x2ce], 0x2e0072
mov word [ebp - 0x2ca], ax
lea eax, [ebp - 0x2e8]
push eax
mov dword [ebp - 0x2d6], 0x610064
mov dword [ebp - 0x2c4], 0x66
mov dword [ebp - 0x2e8], 0x50005c
mov dword [ebp - 0x2c8], 0x6e006f
mov dword [ebp - 0x2da], 0x700055
mov dword [ebp - 0x2d2], 0x650074
mov dword [ebp - 0x2de], 0x6f0072
call fcn.10001970
mov esi, eax
push 0x10058a20
lea ecx, [ebp - 0x1a68]
mov byte [ebp - 4], 0x13
call fcn.10001970
push esi
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x1a08]
call fcn.10004070
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x1003d51f
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea ecx, [ebp - 0x1a08]
mov dword [ebp - 0x17ac], esi
call fcn.10001830
lea ecx, [ebp - 0x1a68]
call fcn.10001830
lea ecx, [ebp - 0x1a80]
mov byte [ebp - 4], 0xf
call fcn.10001830
cmp esi, 0xffffffff
je 0x1003d83f
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp + 0x18], 0
mov esi, 0x61
jne 0x1003d62d
mov eax, 0x64
mov dword [ebp - 0x274], 0x2e0076
mov word [ebp - 0x290], ax
lea ecx, [ebp - 0x1ab0]
mov eax, 0x73
mov dword [ebp - 0x288], 0x610062
mov word [ebp - 0x284], ax
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 0x27e], 0x6c0063
mov dword [ebp - 0x278], 0x61006d
mov dword [ebp - 0x28e], 0x740061
mov dword [ebp - 0x282], 0x2e0065
mov dword [ebp - 0x270], 0x65006e
mov word [ebp - 0x28a], si
mov dword [ebp - 0x26c], 0x74
mov word [ebp - 0x27a], si
call fcn.10001970
push eax
lea ecx, [ebp + 8]
call fcn.10001870
lea ecx, [ebp - 0x1ab0]
call fcn.10001830
xor eax, eax
mov word [ebp - 0x21e], si
mov word [ebp - 0x20a], ax
mov ecx, 0x74
mov eax, 0x72
mov word [ebp - 0x224], cx
mov word [ebp - 0x214], ax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x228], 0x610044
mov word [ebp - 0x1ba], ax
lea ecx, [ebp - 0x17e0]
mov eax, 0x53
mov dword [ebp - 0x20e], 0x200072
mov word [ebp - 0x1e0], ax
mov eax, 0x79
mov word [ebp - 0x1c0], ax
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 0x212], 0x6f0072
mov dword [ebp - 0x21c], 0x650073
mov dword [ebp - 0x222], 0x620061
mov dword [ebp - 0x218], 0x69004d
mov dword [ebp - 0x1cc], 0x610064
mov dword [ebp - 0x1da], 0x700069
mov dword [ebp - 0x1c4], 0x200073
mov dword [ebp - 0x1c8], 0x650074
mov dword [ebp - 0x1de], 0x720063
mov dword [ebp - 0x1d0], 0x700055
mov dword [ebp - 0x1be], 0x730065
mov dword [ebp - 0x1d4], 0x640065
mov word [ebp - 0x1d6], si
call fcn.10001970
mov esi, eax
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x1b10]
call fcn.10001970
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x16
push ecx
mov edx, eax
lea ecx, [ebp - 0x1af8]
call fcn.100040d0
push 0x1004da60
mov edx, eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1ae0]
call fcn.10003de0
push esi
mov edx, eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1ac8]
call fcn.10004070
add esp, 0xc
lea ecx, [ebp + 8]
push eax
call fcn.10001870
lea ecx, [ebp - 0x1ac8]
call fcn.10001830
lea ecx, [ebp - 0x1ae0]
call fcn.10001830
lea ecx, [ebp - 0x1af8]
call fcn.10001830
lea ecx, [ebp - 0x1b10]
call fcn.10001830
lea ecx, [ebp - 0x17e0]
mov byte [ebp - 4], 0xf
call fcn.10001830
push 0x800
lea eax, [ebp - 0x1750]
push 0
push eax
call fcn.10020430
sub esp, 0xc
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.100019d0
lea ecx, [ebp - 0x17f8]
call fcn.10041ca0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x1003d7f0
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x1750]
call fcn.10004100
lea ecx, [ebp - 0x17f8]
call fcn.10001a40
lea ecx, [ebp - 0x1750]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d811
mov esi, dword [ebp - 0x17ac]
lea eax, [ebp - 0x179c]
push 0
push eax
sub ecx, edx
lea eax, [ebp - 0x1750]
push ecx
push eax
push esi
call dword [0x10058c44]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1004d9f4
push 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
call fcn.10026c55
xor eax, eax
add esp, 8
mov word [ebp - 0x1768], ax
xorps xmm0, xmm0
mov dword [ebp - 0x175e], eax
mov word [ebp - 0x175a], ax
mov dword [ebp - 0x1758], eax
mov dword [ebp - 0x1754], eax
lea eax, [ebp - 0x1768]
push eax
movq qword [ebp - 0x1766], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x1758]
push eax
lea eax, [ebp - 0x1768]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 0x1754]
xor eax, eax
or eax, dword [ebp - 0x1758]
and ecx, 0x7fffffff
mov dword [edi + 0x70], eax
lea eax, [ebp - 0x29c]
mov dword [edi + 0x74], ecx
lea ecx, [ebp - 0x1810]
push eax
mov dword [ebp - 0x298], 0x45
mov dword [ebp - 0x29c], 0x580045
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x19
call fcn.100016d0
lea ecx, [ebp - 0x1810]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x4c0044
push eax
lea ecx, [ebp - 0x1828]
mov dword [ebp - 0x2a4], 0x4c
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1a
call fcn.100016d0
lea ecx, [ebp - 0x1828]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2f4], 0x4f0043
push eax
lea ecx, [ebp - 0x1840]
mov dword [ebp - 0x2f0], 0x4d
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1b
call fcn.100016d0
lea ecx, [ebp - 0x1840]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x300]
mov dword [ebp - 0x2fc], 0x4c
push eax
lea ecx, [ebp - 0x1858]
mov dword [ebp - 0x300], 0x500043
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1c
call fcn.100016d0
lea ecx, [ebp - 0x1858]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x30c], 0x43004f
push eax
lea ecx, [ebp - 0x1870]
mov dword [ebp - 0x308], 0x58
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1d
call fcn.100016d0
lea ecx, [ebp - 0x1870]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x318]
mov dword [ebp - 0x318], 0x580056
push eax
lea ecx, [ebp - 0x1888]
mov dword [ebp - 0x314], 0x44
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1e
call fcn.100016d0
lea ecx, [ebp - 0x1888]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x590053
push eax
lea ecx, [ebp - 0x18a0]
mov dword [ebp - 0x174], 0x53
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x1f
call fcn.100016d0
lea ecx, [ebp - 0x18a0]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x184]
mov dword [ebp - 0x180], 0x52
push eax
lea ecx, [ebp - 0x18b8]
mov dword [ebp - 0x184], 0x430053
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x20
call fcn.100016d0
lea ecx, [ebp - 0x18b8]
mov byte [ebp - 4], 0xf
call fcn.10001830
mov eax, 0x56
mov dword [ebp - 0x18e], 0x410042
mov word [ebp - 0x190], ax
lea ecx, [ebp - 0x18d0]
xor eax, eax
mov word [ebp - 0x18a], ax
lea eax, [ebp - 0x190]
push eax
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x21
call fcn.100016d0
lea ecx, [ebp - 0x18d0]
mov byte [ebp - 4], 0xf
call fcn.10001830
xor eax, eax
mov dword [ebp - 0x19a], 0x450042
mov word [ebp - 0x196], ax
mov eax, 0x56
mov word [ebp - 0x19c], ax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x18e8]
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x22
call fcn.100016d0
lea ecx, [ebp - 0x18e8]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a4], 0x53
push eax
lea ecx, [ebp - 0x1900]
mov dword [ebp - 0x1a8], 0x420056
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x23
call fcn.100016d0
lea ecx, [ebp - 0x1900]
mov byte [ebp - 4], 0xf
call fcn.10001830
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 0x420056
push eax
lea ecx, [ebp - 0x1b28]
mov dword [ebp - 0x1b0], 0x58
call fcn.10001970
push eax
lea ecx, [edi + 0x48]
mov byte [ebp - 4], 0x24
call fcn.100016d0
lea ecx, [ebp - 0x1b28]
mov byte [ebp - 4], 0xf
call fcn.10001830
mov ecx, 0x61
mov dword [ebp - 0x33c], 0x740061
xor eax, eax
mov word [ebp - 0x334], cx
mov word [ebp - 0x31c], ax
lea eax, [ebp - 0x340]
push eax
lea esi, [ecx - 5]
mov dword [ebp - 0x32c], 0x61006d
lea ecx, [ebp - 0x1948]
mov dword [ebp - 0x340], 0x64005c
mov dword [ebp - 0x324], 0x63002e
mov dword [ebp - 0x332], 0x650073
mov dword [ebp - 0x320], 0x640076
mov dword [ebp - 0x328], 0x6e0069
mov dword [ebp - 0x338], 0x620061
mov word [ebp - 0x32e], si
call fcn.10001970
mov esi, eax
push 0x10058a20
lea ecx, [ebp - 0x1930]
mov byte [ebp - 4], 0x25
call fcn.10001970
push esi
mov edx, eax
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x1794]
call fcn.10004070
add esp, 4
lea ecx, [ebp - 0x1930]
call fcn.10001830
lea ecx, [ebp - 0x1948]
mov byte [ebp - 4], 0x29
call fcn.10001830
cmp dword [ebp - 0x1780], 8
lea eax, [ebp - 0x1794]
cmovae eax, dword [ebp - 0x1794]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003dd24
cmp dword [ebp - 0x1780], 8
lea eax, [ebp - 0x1794]
push 0
cmovae eax, dword [ebp - 0x1794]
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003dd24
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x1003dd1b
mov byte [edi + 0x2b], al
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1003dd28
mov byte [edi + 0x2b], 0
cmp byte [edi + 0x2b], 0
je 0x1003dd35
mov ecx, edi
call fcn.1003bd90
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], 0x52005c
push eax
lea ecx, [ebp - 0x1990]
mov dword [ebp - 0x234], 0x74002e
mov dword [ebp - 0x230], 0x6d
mov dword [ebp - 0x238], 0x6f0072
mov dword [ebp - 0x240], 0x430050
mov dword [ebp - 0x23c], 0x500041
call fcn.10001970
mov esi, eax
push 0x10058a20
lea ecx, [ebp - 0x1978]
mov byte [ebp - 4], 0x2a
call fcn.10001970
push esi
mov edx, eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x1960]
call fcn.10004070
add esp, 4
lea ecx, [edi + 0x4180]
push eax
call fcn.10001870
lea ecx, [ebp - 0x1960]
call fcn.10001830
lea ecx, [ebp - 0x1978]
call fcn.10001830
lea ecx, [ebp - 0x1990]
mov byte [ebp - 4], 0x29
call fcn.10001830
mov ecx, 0x43
mov dword [ebp - 0x1f8], 0x6f0072
lea eax, [ebp - 0x204]
mov word [ebp - 0x1f4], cx
push eax
lea ecx, [ebp - 0x19d8]
mov dword [ebp - 0x1e6], 0x6d
mov dword [ebp - 0x200], 0x430050
mov dword [ebp - 0x1f2], 0x650068
mov dword [ebp - 0x1ea], 0x74002e
mov dword [ebp - 0x1ee], 0x6b0063
mov dword [ebp - 0x1fc], 0x500041
mov dword [ebp - 0x204], 0x52005c
call fcn.10001970
mov esi, eax
push 0x10058a20
lea ecx, [ebp - 0x19c0]
mov byte [ebp - 4], 0x2c
call fcn.10001970
push esi
mov edx, eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x19a8]
call fcn.10004070
add esp, 4
lea ecx, [edi + 0x419c]
push eax
call fcn.10001870
lea ecx, [ebp - 0x19a8]
call fcn.10001830
lea ecx, [ebp - 0x19c0]
call fcn.10001830
lea ecx, [ebp - 0x19d8]
mov byte [ebp - 4], 0x29
call fcn.10001830
call fcn.1003df50
test eax, eax
setg al
cmp dword [0x10058c30], 0
jne 0x1003dedb
test al, al
jne 0x1003dedb
push 0
push 0
push edi
push 0x1003e860
push 0
push 0
call fcn.10026aa0
add esp, 0x18
mov dword [0x10058c30], eax
cmp byte [edi + 0x2b], 0
jne 0x1003df03
cmp dword [0x10058c28], 0
jne 0x1003df03
push 0x7d0
mov byte [0x10058a1a], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1003aae0
lea ecx, [ebp - 0x1794]
call fcn.10001830
lea ecx, [ebp + 8]
call fcn.10001830
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10006f48
mov esp, ebp
pop ebp
ret 0x1c