Function at 0x479a60
Capabilities:
Create directory
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x566c8a
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], esi
call fcn.00402a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x479ac2
push 0x80004005
call fcn.004027b0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov dword [esp + 0x100], 1
mov edx, str.clpflog
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.004820b0
mov eax, dword [esi + 0xcc]
add esp, 8
dec eax
or edi, 0xffffffff
cmp eax, 3
ja case.default.0x479b05
jmp dword [eax*4 + 0x47ae6c]
push 0
push 1
mov edx, str.clplog
lea ecx, [esp + 0x48]
call fcn.004820b0
mov edi, dword [esp + 0x48]
add esp, 8
cmp dword [edi - 0xc], 0
jle 0x47ae20
lea ecx, [esp + 0xc]
call fcn.00482350
mov byte [esp + 0x100], 2
mov eax, dword [0x5ba1dc]
test eax, eax
je 0x479b68
cmp dword [eax + 0x180], 0
je 0x479b68
mov eax, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x54]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
push 0
push dword [esp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 2
push dword [esp + 0x10]
call esi
push 0x584384
lea eax, [esp + 0x10]
push 0x58b238
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x10]
call esi
lea ecx, [esp + 0x38]
call fcn.00402b10
mov byte [esp + 0x100], 3
lea eax, [esp + 0x38]
push edi
push dword [esp + 0x10]
push 0x58ae70
push eax
call fcn.00415d20
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0x19
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x479db7
mov eax, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
call fcn.004023a0
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x24]
call fcn.00524120
add esp, 0x10
test eax, eax
jne 0x479c88
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x34], 1
jmp 0x479c94
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 0
add dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push 0
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xe0]
push eax
mov eax, dword [esi]
lea ecx, [esi + 0x14]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004783f0
movdqu xmm0, xmmword [eax]
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xa8]
push eax
push 0
movdqu xmmword [esp + 0xb0], xmm0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 0
push eax
push 0x10
lea eax, [esp + 0xa0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x20]
mov byte [esp + 0x1b], 5
push eax
push 1
lea eax, [esp + 0x23]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x34], 0
push 0
je 0x479d64
lea eax, [esp + 0x20]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x38]
push dword [esp + 0x24]
jmp 0x479d9b
mov ecx, dword [esp + 0x30]
call fcn.004023a0
mov edx, dword [esp + 0x28]
mov ecx, eax
call fcn.004fb8d0
mov ecx, dword [esp + 0x30]
add esp, 4
push 0xffffffffffffffff
call fcn.004023c0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push 0
push eax
push dword [esp + 0x2c]
call fcn.004023a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x479dbb
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x38]
call fcn.00402750
mov byte [esp + 0x100], 1
lea ecx, [esp + 0xc]
call fcn.00402750
jmp 0x47ae20
lea ecx, [esp + 0x1c]
call fcn.00482350
mov byte [esp + 0x100], 4
lea eax, [esp + 0x1c]
push 0x58437c
push 0x58b3a0
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x20]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x90], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x30], 0
jbe 0x47a328
mov dword [esp + 0x34], 0
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x28], 0xa
lea ecx, [ecx - 0x10]
call fcn.004022c0
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x100], 6
mov eax, dword [esp + 0x30]
cmp eax, dword [esi + 0x90]
jae 0x47a32d
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x58]
add ecx, 4
add ecx, dword [esp + 0x34]
push eax
call fcn.00436c90
mov byte [esp + 0x100], 7
push str.clpflog
push dword [eax]
lea eax, [esp + 0x34]
push dword [esp + 0x24]
push 0x58d7e8
push eax
call fcn.00415d20
add esp, 0x14
mov byte [esp + 0x100], 6
or ecx, 0xffffffff
mov edx, dword [esp + 0x58]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479eed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_GetEnhMetaFileW]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x47a2e8
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov dword [esp + 0x10], eax
test eax, eax
je 0x479f60
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x479f60
push edi
push dword [esp + 0x14]
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0xc]
push edi
push 0
mov dword [esp + 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
push 0
push 1
mov edx, str.clplog
lea ecx, [esp + 0x48]
call fcn.004820b0
mov edi, dword [esp + 0x48]
add esp, 8
cmp dword [edi - 0xc], 0
jle 0x47a2e8
lea ecx, [esp + 0x18]
call fcn.00482350
mov byte [esp + 0x100], 9
mov eax, dword [0x5ba1dc]
test eax, eax
je 0x479fca
cmp dword [eax + 0x180], 0
je 0x479fca
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x54]
lea ecx, [esp + 0x18]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
push 0
push dword [esp + 0x1c]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x584384
lea eax, [esp + 0x1c]
push 0x58b238
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x1c]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x44]
call fcn.00402b10
mov byte [esp + 0x100], 0xa
lea eax, [esp + 0x44]
push edi
push dword [esp + 0x1c]
push 0x58ae70
push eax
call fcn.00415d20
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x24], 0x19
mov ecx, dword [esi - 0xc]
lea eax, [ecx + ecx]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0xc]
add eax, 0x1b
mov dword [esp + 0x24], eax
call fcn.00402b10
mov byte [esp + 0x100], 0xb
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x90]
jae 0x47a32d
mov ecx, dword [eax + 0x8c]
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
cdq
xor eax, edx
push dword [ecx + 0x1c]
sub eax, edx
push dword [ecx + 0x18]
push eax
mov eax, dword [esp + 0x34]
cdq
xor eax, edx
sub eax, edx
push eax
lea eax, [esp + 0x1c]
push str.EMF___dx_d___db
push eax
call fcn.00415d20
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [eax - 0xc]
mov eax, dword [esp + 0x24]
push 0
lea eax, [eax + ecx*2]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add eax, 0x14
add eax, ecx
je 0x47a11d
add eax, 4
jmp 0x47a11f
xor eax, eax
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movdqa xmm0, xmmword [esp + 0xc4]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x98]
movdqa xmmword [esp + 0x98], xmm0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
mov byte [esp + 0x1b], 2
push eax
push 1
lea eax, [esp + 0x23]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x4c], 0
push eax
push 4
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
push eax
push 2
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi - 4], 1
jle 0x47a1de
push dword [esi - 0xc]
lea ecx, [esp + 0x30]
call fcn.004024c0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
call fcn.004fb8d0
add esp, 4
lea eax, [esp + 0x20]
push 0
push eax
push dword [esp + 0x40]
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x28], eax
jle 0x47a227
push eax
lea ecx, [esp + 0x10]
call fcn.004024c0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
push 0
lea edx, [eax + eax]
call fcn.004fb8d0
mov eax, dword [esp + 0x10]
add esp, 4
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x28], ecx
jle 0x47a257
push ecx
lea ecx, [esp + 0x10]
call fcn.004024c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
push 0
lea edx, [esp + 0x24]
add ecx, ecx
push edx
push ecx
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x100], 0xa
or ecx, 0xffffffff
mov edx, dword [esp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a29c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 9
or ecx, 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a2c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 6
or ecx, 0xffffffff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a2e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 4
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a30a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
inc eax
add dword [esp + 0x34], 0x50
mov dword [esp + 0x30], eax
cmp eax, dword [esi + 0x90]
jb 0x479e50
jmp 0x47a836
push 0x80070057
call fcn.004027b0
lea ecx, [esp + 0x1c]
call fcn.00482350
mov byte [esp + 0x100], 0x11
lea eax, [esp + 0x1c]
push 0x58437c
push 0x58b3a0
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x20]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x90], 0
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], 0
jbe 0x47a836
mov dword [esp + 0x2c], 0
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004022c0
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x100], 0x13
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x90]
jae 0x47a32d
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x5c]
add ecx, 4
add ecx, dword [esp + 0x2c]
push eax
call fcn.00436c90
mov byte [esp + 0x100], 0x14
push str.clpflog
push dword [eax]
lea eax, [esp + 0x38]
push dword [esp + 0x24]
push 0x58d7e8
push eax
call fcn.00415d20
add esp, 0x14
mov byte [esp + 0x100], 0x13
or ecx, 0xffffffff
mov edx, dword [esp + 0x5c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a42d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x60]
call fcn.004786d0
mov byte [esp + 0x100], 0x16
lea ecx, [esp + 0x60]
mov esi, dword [esp + 0x30]
push esi
call fcn.00478b90
test eax, eax
jne 0x47a7e5
cmp dword [esp + 0x64], eax
setne al
test eax, eax
je 0x479ab8
mov ecx, dword [esp + 0x70]
mov edx, str.clplog
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x40]
push 0
push 1
mov dword [esp + 0x50], eax
call fcn.004820b0
mov edi, dword [esp + 0x48]
add esp, 8
cmp dword [edi - 0xc], 0
jle 0x47a7e5
lea ecx, [esp + 0x10]
call fcn.00482350
mov byte [esp + 0x100], 0x17
mov eax, dword [0x5ba1dc]
test eax, eax
je 0x47a4d3
cmp dword [eax + 0x180], 0
je 0x47a4d3
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x54]
lea ecx, [esp + 0x10]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
push 0
push dword [esp + 0x14]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x584384
lea eax, [esp + 0x14]
push 0x58b238
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x14]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x38]
call fcn.00402b10
mov byte [esp + 0x100], 0x18
lea eax, [esp + 0x38]
push edi
push dword [esp + 0x14]
push 0x58ae70
push eax
call fcn.00415d20
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x34], 0x19
mov ecx, dword [esi - 0xc]
lea eax, [ecx + ecx]
mov dword [esp + 0x44], eax
lea ecx, [esp + 0xc]
add eax, 0x1b
mov dword [esp + 0x34], eax
call fcn.00402b10
mov byte [esp + 0x100], 0x19
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x90]
jae 0x47a32d
mov eax, dword [eax + 0x8c]
add eax, dword [esp + 0x2c]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [esp + 0x14]
push dword [esp + 0x50]
push dword [esp + 0x34]
push str.BMP___dx_d___db
push eax
call fcn.00415d20
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [eax - 0xc]
mov eax, dword [esp + 0x34]
push 0
lea eax, [eax + ecx*2]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add eax, 0x14
add eax, ecx
je 0x47a61a
add eax, 4
jmp 0x47a61c
xor eax, eax
lea ecx, [esp + 0xb4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movdqa xmm0, xmmword [esp + 0xb4]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x98]
movdqa xmmword [esp + 0x98], xmm0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
lea eax, [esp + 0x24]
push eax
push 0x10
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
mov byte [esp + 0x1b], 1
push eax
push 1
lea eax, [esp + 0x23]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x50], 0
push eax
push 4
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x24]
push eax
push 2
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi - 4], 1
jle 0x47a6db
push dword [esi - 0xc]
lea ecx, [esp + 0x34]
call fcn.004024c0
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov ecx, esi
push 0
call fcn.004fb8d0
add esp, 4
lea eax, [esp + 0x20]
push 0
push eax
push dword [esp + 0x4c]
push esi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x48], eax
jle 0x47a724
push eax
lea ecx, [esp + 0x10]
call fcn.004024c0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
push 0
lea edx, [eax + eax]
call fcn.004fb8d0
mov eax, dword [esp + 0x10]
add esp, 4
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x48], ecx
jle 0x47a754
push ecx
lea ecx, [esp + 0x10]
call fcn.004024c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
push 0
lea edx, [esp + 0x24]
add ecx, ecx
push edx
push ecx
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x100], 0x18
or ecx, 0xffffffff
mov edx, dword [esp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a799
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0x17
or ecx, 0xffffffff
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a7bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0x16
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a7e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0x13
lea ecx, [esp + 0x60]
call fcn.004787e0
mov byte [esp + 0x100], 0x11
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a818
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
inc eax
add dword [esp + 0x2c], 0x50
mov dword [esp + 0x24], eax
cmp eax, dword [esi + 0x90]
jb 0x47a3a0
mov byte [esp + 0x100], 1
or ecx, 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ae20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47ae20
lea ecx, [esp + 0x24]
call fcn.00482350
mov byte [esp + 0x100], 0x1f
lea eax, [esp + 0x24]
push 0x58437c
push 0x58b3a0
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x28]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 2
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esi + 0x90], 0
mov dword [esp + 0x1c], 0
jbe 0x47adf7
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x24]
lea ecx, [ecx - 0x10]
call fcn.004022c0
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x100], 0x21
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x90]
jae 0x47a32d
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x54]
add ecx, 4
add ecx, dword [esp + 0x20]
push eax
call fcn.00436c90
mov byte [esp + 0x100], 0x22
push str.clpflog
push dword [eax]
lea eax, [esp + 0x14]
push dword [esp + 0x2c]
push 0x58d7e8
push eax
call fcn.00415d20
add esp, 0x14
mov byte [esp + 0x100], 0x21
mov ecx, edi
mov edx, dword [esp + 0x54]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a950
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00402a00
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x479ab8
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x100], 0x25
mov edx, str.clplog
push 0
push 1
lea ecx, [esp + 0x3c]
call fcn.004820b0
mov edi, dword [esp + 0x3c]
add esp, 8
cmp dword [edi - 0xc], 0
jle 0x47ad90
lea ecx, [esp + 0x10]
call fcn.00482350
mov byte [esp + 0x100], 0x26
mov eax, dword [0x5ba1dc]
test eax, eax
je 0x47a9da
cmp dword [eax + 0x180], 0
je 0x47a9da
mov eax, dword [esi]
lea ecx, [esp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x54]
push dword [eax - 0xc]
push eax
call fcn.00443ec0
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push dword [esp + 0x14]
push 0
call esi
push 2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x584384
lea eax, [esp + 0x14]
push 0x58b238
push eax
call fcn.00443ea0
add esp, 0xc
push 0
push dword [esp + 0x14]
push 0
call esi
push 2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x4c]
call fcn.00402b10
mov byte [esp + 0x100], 0x27
lea eax, [esp + 0x4c]
push edi
push dword [esp + 0x14]
push 0x58ae70
push eax
call fcn.00415d20
add esp, 0x10
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x44], 0x19
mov ecx, dword [esi - 0xc]
add ecx, ecx
mov dword [esp + 0x38], ecx
add ecx, 0x1b
mov dword [esp + 0x44], ecx
cmp edx, dword [eax + 0x90]
jae 0x47a32d
mov eax, dword [eax + 0x8c]
add eax, dword [esp + 0x20]
push 0
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 0xc]
add eax, eax
add ecx, eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x48], ecx
push eax
push 4
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x98]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
lea eax, [esp + 0x30]
push eax
push 0x10
lea eax, [esp + 0xb0]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x30]
mov byte [esp + 0x1b], 3
push eax
push 1
lea eax, [esp + 0x23]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x4c], 0
push eax
push 4
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x30]
push eax
push 2
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi - 4], 1
jle 0x47ab88
push dword [esi - 0xc]
lea ecx, [esp + 0x10]
call fcn.004024c0
mov esi, dword [esp + 0xc]
cmp dword [esi - 4], 1
mov dword [esp + 0x30], esi
jle 0x47aba2
push dword [esi - 0xc]
lea ecx, [esp + 0x10]
call fcn.004024c0
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
or ecx, 0xffffffff
xor edx, edx
mov dword [esp + 0x28], eax
test eax, eax
je 0x47abcd
cmp ecx, 4
jl 0x47abbc
xor ecx, ecx
jmp 0x47abbd
inc ecx
mov al, byte [ecx + 0x5898b8]
xor byte [edx + esi], al
inc edx
cmp edx, dword [esp + 0x28]
jb 0x47abb3
push dword [esi - 8]
push esi
call fcn.00529878
add esp, 8
test eax, eax
js 0x47a32d
cmp eax, dword [esi - 8]
jg 0x47a32d
mov dword [esi - 0xc], eax
xor ecx, ecx
push ecx
mov word [esi + eax*2], cx
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0x90]
jae 0x47a32d
mov ecx, dword [edx + 0x8c]
add ecx, 0x14
add ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
cmp dword [eax - 4], 1
jle 0x47ac48
push dword [eax - 0xc]
call fcn.004024c0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
or ecx, 0xffffffff
cmp dword [esp + 0x50], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
jbe 0x47ac86
mov esi, eax
cmp ecx, 4
jl 0x47ac6b
xor ecx, ecx
jmp 0x47ac6c
inc ecx
mov edi, dword [esp + 0x30]
mov al, byte [ecx + 0x5898b8]
xor byte [edi + esi], al
mov eax, edi
inc eax
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x50]
jb 0x47ac62
mov eax, dword [esp + 0x1c]
cmp eax, dword [edx + 0x90]
jae 0x47a32d
mov eax, dword [edx + 0x8c]
add eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x47acc9
push dword [ecx - 8]
push ecx
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x47a32d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x14]
cmp ecx, dword [edi - 8]
mov edi, dword [esp + 0x34]
jg 0x47a32d
mov esi, dword [eax + 0x14]
mov dword [esi - 0xc], ecx
xor esi, esi
mov eax, dword [eax + 0x14]
mov word [eax + ecx*2], si
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
cmp eax, dword [edx + 0x90]
jae 0x47a32d
mov ecx, dword [edx + 0x8c]
add ecx, 0x14
add ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov eax, dword [ecx]
cmp dword [eax - 4], 1
jle 0x47ad21
push dword [eax - 0xc]
call fcn.004024c0
mov ecx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x58]
push dword [ecx]
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x100], 0x26
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ad68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0x25
or ecx, 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ad94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47ad94
mov esi, dword [esp + 0xc]
mov byte [esp + 0x100], 0x21
lea edx, [edi - 0x10]
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47adb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x100], 0x1f
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47add9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
inc eax
add dword [esp + 0x20], 0x50
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x90]
jb 0x47a8c4
mov byte [esp + 0x100], 1
mov ecx, edi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg case.default.0x479b05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x100], 0xffffffff
add edi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ae45
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret 4