Function at 0x10046354
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006aa01
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 + 0x1c]
test eax, eax
je 0x100466b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x10046411
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x1004640c
push 0x7a1d
push 0x14d9
push 0x6055
push 0x3300
push 0x729a
push 0
push 1
push 1
push 0x5c0d
push 0x1f3f
call fcn.100452f4
add esp, 0x28
jmp 0x100466ad
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x38], 0xfc3
mov dword [ebp - 0x88], 0x10008cd0
cmp dword [ebp - 0x38], 0x119b
jle 0x100464a0
and dword [ebp - 0x28], 0
jmp 0x10046453
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3f40
jge 0x100464a0
and dword [ebp - 0x30], 0
jmp 0x10046469
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5dd7
jge 0x1004649e
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
mov ecx, 0x10612038
call fcn.1000c022
jmp 0x10046462
jmp 0x1004644c
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x6c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0xc8c
jge 0x100464c6
mov edx, dword [ebp - 0x88]
mov ecx, 0x10612038
call fcn.1000e0f4
jmp 0x100464e2
or dword [ebp - 4], 0xffffffff
jmp 0x100464ec
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10046654
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10046654
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jne 0x10046536
mov dword [ebp - 0x34], 1
jmp 0x1004653a
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jl 0x10046555
mov dword [ebp - 0x5c], 1
jmp 0x10046559
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x5c]
add ecx, 0x11b55e97
imul ecx, ecx, 0x74b6
cmp ecx, dword [eax]
jl 0x1004657d
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x1004657d
and dword [ebp - 0x44], 0
jmp 0x10046584
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov esi, dword [esi]
imul esi, dword [ebp - 0x44]
imul esi, dword [edx]
add esi, dword [ecx]
cmp esi, dword [eax]
jg 0x100465a8
mov dword [ebp - 0x54], 1
jmp 0x100465ac
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
jle 0x100465c7
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100465c7
mov dword [ebp - 0x4c], 1
jmp 0x100465cb
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfffffff8
je 0x100465da
mov dword [ebp - 0x74], 1
jmp 0x100465de
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jl 0x1004660d
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1004660d
mov dword [ebp - 0x3c], 1
jmp 0x10046611
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jl 0x1004662c
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x1004662c
mov dword [ebp - 0x40], 1
jmp 0x10046630
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jg 0x10046643
mov dword [ebp - 0x50], 1
jmp 0x10046647
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10046678
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10046678
mov dword [ebp - 0x7c], 1
jmp 0x1004667c
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1004669e
mov eax, 0x19ac4e69
test eax, eax
je 0x1004669e
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1004669e
mov dword [ebp - 0x58], 1
jmp 0x100466a2
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
jmp 0x100467c6
lea eax, [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x100467bc
mov dword [ebp - 0x60], 0x1242
mov dword [ebp - 0x94], 0x10008d20
cmp dword [ebp - 0x60], 0x12bd
jle 0x1004675a
and dword [ebp - 0x20], 0
jmp 0x100466f3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x716c
jge 0x1004675a
and dword [ebp - 0x24], 0
jmp 0x10046709
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x463f
jge 0x10046758
and dword [ebp - 0x2c], 0
jmp 0x1004671f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x7ee4
jge 0x10046756
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
mov ecx, 0x10612038
call fcn.1000c022
jmp 0x10046718
jmp 0x10046702
jmp 0x100466ec
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10046774
push 0
push 0x4152
call fcn.10044523
pop ecx
pop ecx
mov dword [ebp - 4], 2
cmp dword [ebp - 0x60], 0xf74
jge 0x10046794
mov edx, dword [ebp - 0x94]
mov ecx, 0x10612038
call fcn.1000e0f4
jmp 0x100467b0
or dword [ebp - 4], 0xffffffff
jmp 0x100467ba
jmp 0x100467c6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret