Function at 0x1004a4ff
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 1
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x28], 0x68108531
mov dword [ebp - 0x19c], 0x598aaf0a
mov dword [ebp - 0x198], 0x598aaf0a
mov dword [ebp - 0x194], 0x598aaf0a
mov dword [ebp - 0x190], 0x598aaf0a
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x138]
cmp dword [ebp + eax - 0x138], ecx
jne 0x1004a588
mov dword [ebp - 0x98], 1
jmp 0x1004a58f
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x138], 0x4320e32c
jge 0x1004a5ae
mov dword [ebp - 0x118], 1
jmp 0x1004a5b5
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x118]
jl 0x1004a5cf
mov dword [ebp - 0xf4], 1
jmp 0x1004a5d6
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x138]
cmp eax, dword [ebp - 0xf4]
jg 0x1004a5f3
mov dword [ebp - 0x7c], 1
jmp 0x1004a5f7
and dword [ebp - 0x7c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x138]
cmp dword [ebp - 0x7c], eax
jge 0x1004a615
mov dword [ebp - 0xd0], 1
jmp 0x1004a61c
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xb963
jl 0x1004a640
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x138], 0
jne 0x1004a640
and dword [ebp - 0x84], 0
jmp 0x1004a64a
mov dword [ebp - 0x84], 1
cmp dword [ebp - 0x84], 0xec3203b
jle 0x1004a662
mov dword [ebp - 0xd4], 1
jmp 0x1004a669
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x28], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp + eax - 0x19c], ecx
mov dword [ebp - 0x28], 0xffffffe3
jmp 0x1004a692
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1b
jl 0x1004a6cc
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x13c], 0xf4039ee4
mov dword [ebp - 0x34], 0
jmp 0x1004a6b9
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xfffffffc
jg 0x1004a6ca
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x13c], eax
jmp 0x1004a6b2
jmp 0x1004a68b
mov dword [ebp - 0x5c], 0xe0a8eac8
mov byte [ebp - 0x14], 0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x1004a6e5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x5c], 0
jmp 0x1004a6f5
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffeb
je 0x1004a71d
mov dword [ebp - 0x174], 0xffffffff
push 0
push 0xed7
lea eax, [ebp - 0x174]
push eax
call fcn.10046e2b
add esp, 0xc
jmp 0x1004a6ee
mov dword [ebp - 4], 4
mov dword [ebp - 0xdc], 0xffffffff
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1004a744
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffef
jmp 0x1004a754
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc
jge 0x1004a879
mov dword [ebp - 0x2c], 0xffff
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x94], 0xee91b76e
mov dword [ebp - 0x44], 0
jmp 0x1004a786
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1004a79c
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x164], 0x2c9bf5e4
jmp 0x1004a77f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x30], eax
jge 0x1004a7e9
mov dword [ebp - 0x170], 1
jmp 0x1004a7f0
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x30]
sub eax, 0x3ca3691f
imul eax, dword [ebp - 4]
cmp eax, 5
jne 0x1004a816
mov dword [ebp - 0x8c], 1
jmp 0x1004a81d
and dword [ebp - 0x8c], 0
imul eax, dword [ebp - 0x8c], 0xdd97
cmp eax, dword [ebp - 4]
jle 0x1004a838
mov dword [ebp - 0x114], 1
jmp 0x1004a83f
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x2c]
neg eax
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xdc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp + eax - 0x164], ecx
jmp 0x1004a74d
push 1
lea eax, [ebp - 0x208]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.100466ae
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x1fc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x1fc]
lea edi, [ebp - 0x184]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], 0xffff
mov dword [ebp - 0x10c], 0xfffffffd
mov dword [ebp - 0xec], 0xfffffffb
mov dword [ebp - 0x148], 0xa2ca335c
mov dword [ebp - 8], 0
jmp 0x1004a8dd
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1004a8f3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18c], 0xcf8
jmp 0x1004a8d6
mov dword [ebp - 8], 0
jmp 0x1004a903
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x1004a919
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c8], 0x95e0e2bf
jmp 0x1004a8fc
cmp dword [ebp - 0x3c], 0
je 0x1004aa49
cmp dword [ebp - 0x3c], 0x60a421e0
je 0x1004a938
mov dword [ebp - 0x9c], 1
jmp 0x1004a93f
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x9c]
jne 0x1004a956
mov dword [ebp - 0xfc], 1
jmp 0x1004a95d
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0xfc], eax
jle 0x1004a974
mov dword [ebp - 0xa4], 1
jmp 0x1004a97b
and dword [ebp - 0xa4], 0
imul eax, dword [ebp - 0xa4], 0x4d39
test eax, eax
jne 0x1004a995
mov dword [ebp - 0xe4], 1
jmp 0x1004a99c
and dword [ebp - 0xe4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18c]
cmp dword [ebp - 0xe4], eax
je 0x1004a9bd
mov dword [ebp - 0xac], 1
jmp 0x1004a9c4
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x63069be5
jle 0x1004a9dc
mov dword [ebp - 0xb4], 1
jmp 0x1004a9e3
and dword [ebp - 0xb4], 0
mov dword [ebp - 0x10c], 0x5059b8bc
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb4]
add eax, 0x4cbed562
cmp dword [ebp - 0xec], eax
jl 0x1004aa21
cmp dword [ebp - 0x148], 0
je 0x1004aa21
mov dword [ebp - 0xbc], 1
jmp 0x1004aa28
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp + eax - 0x18c]
je 0x1004aa49
mov dword [ebp - 0x104], 1
jmp 0x1004aa50
and dword [ebp - 0x104], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + eax - 0x1c8], ecx
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x178], 0x89afca86
mov dword [ebp - 0x1a0], 4
mov dword [ebp - 0x4c], 0
jmp 0x1004aa8e
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1004aaa1
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x74], 0xaf11
jmp 0x1004aa87
mov dword [ebp - 0xc], 0
jmp 0x1004aab1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x1004ac8e
mov dword [ebp - 0x10], 0xe0091df8
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x60], 0x2e6c0b33
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1d4], eax
push 0xfffffffffffffff6
pop eax
add eax, 0x7cdedfc4
je 0x1004ab03
mov eax, 0xfc2e
test eax, eax
je 0x1004ab03
and dword [ebp - 0xc4], 0
jmp 0x1004ab0d
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xc], eax
jge 0x1004ab24
mov dword [ebp - 0x168], 1
jmp 0x1004ab2b
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jle 0x1004ab6d
mov dword [ebp - 0xcc], 1
jmp 0x1004ab74
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xcc]
je 0x1004ab8f
mov dword [ebp - 0x150], 1
jmp 0x1004ab96
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x178], 0xf47f28a9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1cc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x74], 1
je 0x1004ac62
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x16c], 0x10b42b8f
mov dword [ebp - 0x38], 0
jmp 0x1004abf7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1004ac0b
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x16c], eax
jmp 0x1004abf0
mov dword [ebp - 0x10], 0
jmp 0x1004ac1b
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004ac60
mov dword [ebp - 0x24], 0
jmp 0x1004ac31
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x1004ac5e
mov byte [ebp - 0x15], 0
push 1
lea eax, [ebp - 0x15]
push eax
push 0x243f
call fcn.10046e2b
add esp, 0xc
mov byte [ebp - 0x12], 0
lea eax, [ebp - 0x12]
push eax
call fcn.100497b6
pop ecx
jmp 0x1004ac2a
jmp 0x1004ac14
jmp 0x1004ac7c
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1004ac7c
push 0
push 0x5f22
call fcn.10049aff
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x78]
push eax
call fcn.10049aff
pop ecx
pop ecx
jmp 0x1004aaaa
mov dword [ebp - 0x48], 0x34bf8f0a
mov dword [ebp - 0x68], 0x307d7c11
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x1c], 0x320e32cf
mov dword [ebp - 0x40], 0x49aaed6b
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0xe8], 0x47c914a3
mov dword [ebp - 0x154], 5
mov dword [ebp - 0x58], 0
jmp 0x1004ad12
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x1004ad28
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x15c], 1
jmp 0x1004ad0b
cmp dword [ebp - 0x64], 0
jne 0x1004adbf
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1e4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x128]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x40], eax
jg 0x1004ad5c
mov dword [ebp - 0x80], 1
jmp 0x1004ad60
and dword [ebp - 0x80], 0
imul eax, dword [ebp - 0x80], 0x5bb0
imul eax, dword [ebp - 0x1c]
test eax, eax
je 0x1004ad80
or eax, 0xffffffff
je 0x1004ad80
mov dword [ebp - 0x88], 1
jmp 0x1004ad87
and dword [ebp - 0x88], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x128]
cmp dword [ebp - 0x88], eax
jl 0x1004ada7
mov dword [ebp - 0x90], 1
jmp 0x1004adae
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x90]
jle 0x1004adbf
and dword [ebp - 0x6c], 0
jmp 0x1004adc6
mov dword [ebp - 0x6c], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x6c], eax
jne 0x1004adda
mov dword [ebp - 0xa0], 1
jmp 0x1004ade1
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0xffffffff
je 0x1004adf9
cmp dword [ebp - 0x50], 0
jne 0x1004adf9
and dword [ebp - 0xa8], 0
jmp 0x1004ae03
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x140]
jge 0x1004ae39
mov dword [ebp - 0x144], 1
jmp 0x1004ae40
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x48], 0
jne 0x1004ae6d
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x128], 0
jne 0x1004ae6d
cmp dword [ebp - 0x40], 0
jne 0x1004ae6d
and dword [ebp - 0xb0], 0
jmp 0x1004ae77
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xb0], eax
jle 0x1004ae91
mov dword [ebp - 0xb8], 1
jmp 0x1004ae98
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
sub eax, 6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1004aec8
cmp dword [ebp - 0x20], 0
je 0x1004aec8
mov dword [ebp - 0xc0], 1
jmp 0x1004aecf
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xc0]
jl 0x1004aee6
mov dword [ebp - 0xc8], 1
jmp 0x1004aeed
and dword [ebp - 0xc8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x128]
add eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x20]
cmp eax, 0x9afff74b
jae 0x1004af15
mov dword [ebp - 0xd8], 1
jmp 0x1004af1c
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x54], eax
jl 0x1004af39
mov dword [ebp - 0xe0], 1
jmp 0x1004af40
and dword [ebp - 0xe0], 0
imul eax, dword [ebp - 0xe0], 6
cmp eax, dword [ebp - 0x1c]
jl 0x1004af58
mov dword [ebp - 0x14c], 1
jmp 0x1004af5f
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1ac], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x128]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x154]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x15c]
xor ecx, ecx
sub ecx, eax
cmp ecx, 8
jge 0x1004afa5
mov dword [ebp - 0xf0], 1
jmp 0x1004afac
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x1c]
imul eax, eax, 0x963e
cmp eax, 0xb100
jle 0x1004afce
mov dword [ebp - 0xf8], 1
jmp 0x1004afd5
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xcc425f8e
jae 0x1004afed
mov dword [ebp - 0x100], 1
jmp 0x1004aff4
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x108], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax - 0x128], ecx
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x50]
jg 0x1004b032
cmp dword [ebp - 0x48], 0
jne 0x1004b032
and dword [ebp - 0x110], 0
jmp 0x1004b03c
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0x110]
sub eax, 0xc660
cmp eax, dword [ebp - 0x50]
jl 0x1004b055
mov dword [ebp - 0x70], 1
jmp 0x1004b059
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x184], 0
je 0x1004b07c
push 1
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
call dword [ebp - 0x184]
pop edi
pop esi
mov esp, ebp
pop ebp
ret