Function at 0x10019a59
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fa7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10019ae4
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x10019ab1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x10019adf
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10019adf
push 0
push 0x1e0b
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
jmp 0x10019f07
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
push 2
lea ecx, [ebp - 0x78]
call fcn.1002e184
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x1c], 0x2a67f8b4
mov dword [ebp - 0x34], 0
jmp 0x10019b1f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10019b35
push dword [ebp - 0x34]
lea ecx, [ebp - 0x78]
call fcn.1002e222
or dword [eax], 0xffffffff
jmp 0x10019b18
mov dword [ebp - 0x14], 1
jmp 0x10019b45
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10019df5
mov dword [ebp - 0x48], 0x4421
mov dword [ebp - 0x90], 0x10008520
cmp dword [ebp - 0x48], 0x46b7
jle 0x10019bee
and dword [ebp - 0x20], 0
jmp 0x10019b7a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7b39
jge 0x10019bee
and dword [ebp - 0x2c], 0
jmp 0x10019b90
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3d74
jge 0x10019bec
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sar eax, cl
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xc4]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0xc4]
call fcn.1002e045
jmp 0x10019b89
jmp 0x10019b73
push 3
lea ecx, [ebp - 0x40]
call fcn.1002e184
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 0x43ad
jge 0x10019c15
push dword [ebp - 0x90]
call fcn.1004a056
pop ecx
jmp 0x10019c31
mov dword [ebp - 4], 1
jmp 0x10019c41
mov dword [ebp - 0x24], 0
jmp 0x10019c51
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10019c6a
push dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
call fcn.1002e222
mov dword [eax], 0xfffffffb
jmp 0x10019c4a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.1002e222
cmp dword [eax], 1
ja 0x10019d90
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
cmp dword [eax], 0
jne 0x10019cb3
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x10019cb3
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
cmp dword [eax], 0
jne 0x10019cb3
and dword [ebp - 0x50], 0
jmp 0x10019cba
mov dword [ebp - 0x50], 1
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
jge 0x10019cd4
mov dword [ebp - 0x6c], 1
jmp 0x10019cd8
and dword [ebp - 0x6c], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.1002e222
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax]
jle 0x10019cf2
mov dword [ebp - 0x4c], 1
jmp 0x10019cf6
and dword [ebp - 0x4c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.1002e222
mov dword [eax], 0x1c03
mov esi, dword [ebp - 0x4c]
add esi, 0x1c03
imul esi, dword [ebp - 0x14]
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
cmp esi, dword [eax]
jl 0x10019d2b
mov dword [ebp - 0x60], 1
jmp 0x10019d2f
and dword [ebp - 0x60], 0
push 2
lea ecx, [ebp - 0x40]
call fcn.1002e222
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [eax]
jge 0x10019d49
mov dword [ebp - 0x58], 1
jmp 0x10019d4d
and dword [ebp - 0x58], 0
cmp dword [ebp - 0x58], 0xd34caa8e
ja 0x10019d5f
mov dword [ebp - 0x68], 1
jmp 0x10019d63
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xfffffffe
jge 0x10019d72
mov dword [ebp - 0x44], 1
jmp 0x10019d76
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10019d90
xor eax, eax
inc eax
je 0x10019d90
mov dword [ebp - 0x54], 1
jmp 0x10019d94
and dword [ebp - 0x54], 0
push 1
lea ecx, [ebp - 0x40]
call fcn.1002e222
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov dword [ebp - 0x1c], 1
jmp 0x10019db3
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10019de4
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10019dd0
push 0x1af8
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x78]
call fcn.1002e222
cmp dword [eax], 0
je 0x10019de2
jmp 0x10019de4
jmp 0x10019dac
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.1002e206
jmp 0x10019b3e
mov dword [ebp - 0x64], 0x1221
mov dword [ebp - 0xa4], 0x10008588
cmp dword [ebp - 0x64], 0x1471
jle 0x10019e77
push 0
push 0x20b0
call dword [sym.imp.GDI32.dll_SetTextColor]
and dword [ebp - 0x28], 0
jmp 0x10019e29
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x78cb
jge 0x10019e77
and dword [ebp - 0x30], 0
jmp 0x10019e3f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x8037
jge 0x10019e75
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
shl eax, cl
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x106092f8
call fcn.1002e06f
jmp 0x10019e38
jmp 0x10019e22
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x78]
call fcn.1002e222
cmp dword [eax], esi
jle 0x10019e91
mov dword [ebp - 0x5c], 1
jmp 0x10019e95
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x64], 0x1021
jge 0x10019eb8
mov edx, dword [ebp - 0xa4]
mov ecx, 0x106092f8
call fcn.1002fb19
jmp 0x10019ed4
and dword [ebp - 4], 0
jmp 0x10019ede
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.1002e206
push dword [ebp - 0x9c]
push 0
push 0x2a49
push 0x744c
push dword [ebp - 0x80]
call fcn.10025bf7
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret