Function at 0x102a3210
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x234], ebx
push edi
cmp dword [ebx + 4], 0
mov dword [ebp - 0x250], esi
lea edi, [esi + 0x78]
mov dword [ebp - 0x218], edi
jne 0x102a32eb
mov ecx, dword [ebx + 0x14]
sub ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 8]
imul ecx, eax
mov eax, dword [edi]
mov esi, eax
lea ecx, [ecx*8 + 0x2c50]
mov dword [ebp - 0x21c], ecx
test eax, eax
je 0x102a328a
cmp dword [eax + 0xc], ecx
jae 0x102a328a
push eax
call fcn.10450877
mov ecx, dword [ebp - 0x21c]
add esp, 4
mov dword [edi], 0
jmp 0x102a328e
test esi, esi
jne 0x102a32cc
push ecx
call fcn.10450898
mov esi, eax
add esp, 4
test esi, esi
je 0x102a3523
push 0x1e4
push 0
push esi
call fcn.10425c00
push 0x2a68
lea eax, [esi + 0x1e8]
push 0
push eax
call fcn.10425c00
mov ecx, dword [ebp - 0x21c]
add esp, 0x18
mov dword [edi], esi
mov dword [esi + 0x1e4], 0x2c50
mov eax, dword [edi]
mov esi, dword [ebp - 0x250]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
mov dword [eax], 2
jmp 0x102a32f1
mov dword [ebp - 0x218], edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x248], edi
test edi, edi
jne 0x102a330c
mov edi, dword [ebp - 0x218]
mov edi, dword [edi]
mov dword [ebp - 0x248], edi
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 8]
mov dword [ebp - 0x254], ecx
cmp eax, 0x3432564e
jne 0x102a3538
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
mov esi, dword [ecx + 8]
sub esi, dword [ecx]
mov edx, dword [ecx + 0xc]
inc esi
sub edx, dword [ecx + 4]
and esi, 0xfffffffe
mov dword [ebp - 0x228], eax
xor ecx, ecx
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x258], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x244], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebx + 0x48]
mov ebx, 2
mov dword [ebp - 0x23c], eax
lea eax, [edi + 0x2c]
mov dword [ebp - 0x24c], edx
movlpd qword [ebp - 0x274], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x21c], eax
nop word [eax + eax]
inc ecx
mov eax, edx
xor edx, edx
mov dword [ebp - 0x264], ecx
div ecx
mov ecx, dword [edi + 0x1e4]
mov edx, eax
imul eax, esi
add ecx, eax
mov dword [ebp - 0x260], eax
cmp ecx, dword [edi + 0xc]
ja 0x102a351d
mov ecx, dword [ebp - 0x21c]
mov dword [ecx - 0x14], eax
mov eax, dword [ecx - 4]
and eax, 0xfffffff9
mov dword [ecx - 0xc], edx
or eax, 1
mov dword [ecx - 0x10], 0x3432564e
mov dword [ecx - 4], eax
xor edx, edx
mov dword [ecx], esi
mov dword [ecx - 8], esi
mov eax, dword [edi + 0x1e4]
add eax, edi
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x214], eax
mov eax, dword [ecx + 4]
div ebx
xor edx, edx
imul eax, dword [ebp - 0x228]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov ebx, dword [ebp + ecx*8 - 0x274]
mov ecx, dword [ebp + ecx*8 - 0x244]
add ebx, eax
add ecx, eax
add ebx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x24c]
div dword [ebp - 0x230]
add ecx, dword [ebp - 0x258]
mov edx, eax
mov dword [ebp - 0x25c], ecx
mov ecx, dword [ebp - 0x214]
imul eax, esi
mov dword [ebp - 0x220], edx
add eax, ecx
mov dword [ebp - 0x22c], eax
test edx, edx
je 0x102a34c5
mov edi, dword [ebp - 0x25c]
nop
push esi
push ebx
push ecx
call fcn.10425d60
add ebx, dword [ebp - 0x228]
add dword [ebp - 0x214], esi
push esi
push edi
push dword [ebp - 0x22c]
call fcn.10425d60
add edi, dword [ebp - 0x228]
add esp, 0x18
add dword [ebp - 0x22c], esi
sub dword [ebp - 0x220], 1
mov ecx, dword [ebp - 0x214]
jne 0x102a3480
mov edi, dword [ebp - 0x248]
mov ebx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x260]
add ebx, 2
add dword [edi + 0x1e4], eax
inc dword [edi + 0x14]
add dword [ebp - 0x21c], 0x38
mov ecx, dword [ebp - 0x264]
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x230], ebx
cmp ebx, 6
jl 0x102a33b0
mov ebx, dword [ebp - 0x234]
mov esi, dword [ebp - 0x250]
mov byte [ebp - 0x20d], 1
jmp 0x102a3647
mov dword [edi], 5
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
push ecx
push dword [ebx + 0x24]
mov ecx, esi
push eax
push dword [ebx + 0x20]
push 0
push 0
push dword [ebx + 0x18]
push edi
call fcn.102a4320
mov byte [ebp - 0x20d], al
test al, al
je 0x102a37fe
cmp dword [ebx + 0x40], 0
je 0x102a3647
movups xmm0, xmmword [ebx + 0x30]
mov eax, dword [ebx + 0x54]
xor edx, edx
mov dword [ebp - 0x214], eax
movd eax, xmm0
movups xmmword [ebp - 0x244], xmm0
div dword [ebx + 0x58]
xor edx, edx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x23c]
div dword [ebx + 0x58]
xor edx, edx
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x240]
div dword [ebx + 0x5c]
xor edx, edx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x238]
div dword [ebx + 0x5c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x214]
cmp eax, 0x3231564e
jne 0x102a35d1
mov eax, 0x56555655
jmp 0x102a35de
cmp eax, 0x30313050
mov ecx, 0x36315655
cmove eax, ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x214], eax
push ecx
push dword [ebx + 0x50]
mov ecx, esi
push eax
push dword [ebx + 0x4c]
push 0
push dword [ebx + 0x44]
push dword [ebx + 0x40]
push edi
call fcn.102a4320
mov byte [ebp - 0x20d], al
test al, al
je 0x102a37fe
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x102a3647
lea eax, [ebp - 0x244]
push eax
push dword [ebx + 0x50]
mov eax, dword [ebp - 0x214]
push eax
push dword [ebx + 0x4c]
push 0
push ecx
push dword [ebx + 0x40]
mov ecx, esi
push edi
call fcn.102a4320
mov byte [ebp - 0x20d], al
test al, al
je 0x102a37fe
mov eax, dword [edi + 0x20c]
and eax, 0xffff0000
cmp eax, 0x20000
jb 0x102a3679
push 0x2a30
lea eax, [edi + 0x220]
push 0
push eax
call fcn.10425c00
add esp, 0xc
mov dword [edi + 0x20c], 0x22c50
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x60]
mov dword [edi + 0x1e0], eax
movzx ecx, byte [ebx + 0x64]
mov eax, dword [edi + 0x1d8]
and eax, 0xfffffc03
shl ecx, 2
or ecx, eax
mov dword [edi], 4
mov eax, dword [ebp - 0x218]
mov dword [edi + 0x1d8], ecx
mov eax, dword [eax]
test eax, eax
je 0x102a37f8
cmp eax, edi
jne 0x102a37f8
cmp byte [esi + 0x84], 0
je 0x102a37d9
mov ebx, dword [esi + 0x7c]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10425c00
mov ecx, dword [0x11cd7310]
add esp, 0xc
cmp ecx, dword [esi + 0x80]
ja 0x102a37e7
cmp byte [esi + 0x70], 0
jne 0x102a370c
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1474], 0
je 0x102a3720
mov ecx, dword [esi + 4]
push ebx
mov ecx, dword [ecx + 0x1c]
call fcn.102a1a50
mov ecx, dword [0x11cd7310]
mov ebx, eax
push ecx
push ebx
lea eax, [ebp - 0x20c]
push 0x10456530
push eax
call fcn.101bde90
inc dword [0x11cd7310]
add esp, 0x10
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x102a375c
call esi
cmp eax, 0xb7
jne 0x102a37e7
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x218], eax
cmp eax, 0xffffffff
jne 0x102a3787
call esi
jmp 0x102a37e7
xor ebx, ebx
mov dword [ebp - 0x234], 0
cmp dword [edi + 0x14], ebx
jbe 0x102a37c4
lea esi, [edi + 0x38]
nop dword [eax + eax]
push 0
lea ecx, [ebp - 0x234]
push ecx
push dword [esi - 0x20]
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x218]
lea esi, [esi + 0x38]
inc ebx
cmp ebx, dword [edi + 0x14]
jb 0x102a37a0
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x102a37e7
push dword [ebx + 0x28]
mov ecx, esi
push dword [esi + 0x7c]
push edi
call fcn.102a4650
mov dword [edi + 0x1e4], 0x2c50
mov dword [edi + 0x14], 0
mov al, byte [ebp - 0x20d]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4