Function at 0x417c20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9b4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x4d3804]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x1c4]
call fcn.0046b000
mov dword [ebp - 0x10], eax
jmp 0x417c72
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x1c4]
call fcn.0046afe0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x417fc4
mov ecx, dword [ebp - 0x74]
call fcn.00404300
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x417c9b
mov ecx, dword [ebp - 0x74]
call fcn.00406d50
test eax, eax
jne 0x417ca2
xor eax, eax
jmp 0x417fc9
mov ecx, dword [ebp - 0x74]
call fcn.00417ff0
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
cmp edx, 2
je 0x417cc4
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 1
jne 0x417fbf
mov edx, dword [ebp - 0x10]
cmp dword [edx + 1], 0
jne 0x417ccf
jmp 0x417c5d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 1]
movzx edx, word [ecx]
and edx, 4
je 0x417ced
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 1]
movzx edx, word [ecx]
and edx, 1
je 0x417ced
jmp 0x417cf2
jmp 0x417c5d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020a0
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040be70
mov dword [ebp - 0x78], eax
push 0x4b21d8
mov edx, dword [ebp - 0x78]
push edx
call fcn.00401c20
add esp, 8
mov byte [ebp - 0x65], al
lea ecx, [ebp - 0x6c]
call fcn.004020c0
movzx eax, byte [ebp - 0x65]
test eax, eax
je 0x417d47
push 0x4b21dc
lea ecx, [ebp - 0x14]
call fcn.00418210
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 1]
mov eax, dword [edx + 2]
push eax
lea ecx, [ebp - 0x14]
call fcn.00418210
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 1]
movzx eax, word [edx + 0x1e]
and eax, 0x10
je 0x417e81
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xd], 0
je 0x417e7c
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.004020a0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x417d9b
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x64
jge 0x417e3c
lea ecx, [ebp - 0x38]
call fcn.00472aae
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00429470
push eax
lea ecx, [ebp - 0x38]
call fcn.00472b41
test eax, eax
je 0x417dde
mov dword [ebp - 0x20], 1
lea ecx, [ebp - 0x38]
call fcn.00472877
cmp dword [ebp - 0x20], 0
jne 0x417e0f
push 0
lea ecx, [ebp - 0x18]
call fcn.00429470
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004020e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00472ad2
jmp 0x417e3c
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x4b21e0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00406c90
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00472ad2
jmp 0x417d92
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00417c20
test eax, eax
jne 0x417e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004020c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004020c0
jmp 0x417fc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004020c0
jmp 0x417fb0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 1]
movzx eax, word [edx]
and eax, 2
je 0x417fb0
lea ecx, [ebp - 0x14]
call fcn.00429470
push eax
lea ecx, [ebp - 0x58]
call fcn.00408620
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 1]
mov eax, dword [edx + 2]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x1d0
call fcn.00403700
push 0
mov ecx, dword [ebp - 0x74]
call fcn.0048f5aa
mov dword [ebp - 0x5c], 0
jmp 0x417edc
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0x64
jge 0x417f82
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 1]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x1c8]
mov ecx, dword [ebp - 0x74]
mov ecx, dword [ecx + 0x1c8]
mov edx, dword [eax]
call dword [edx + 0x38]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x50
jne 0x417f5e
lea ecx, [ebp - 0x64]
call fcn.00402080
mov byte [ebp - 4], 4
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 1
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x14]
push edx
call fcn.004020a0
mov dword [ebp - 0x7c], eax
call fcn.004180d0
lea ecx, [ebp - 0x64]
call fcn.00429470
push eax
lea ecx, [ebp - 0x58]
call fcn.0040c010
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004020c0
jmp 0x417f7d
cmp dword [ebp - 0x60], 0
jne 0x417f7b
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x11c]
add ecx, 1
mov edx, dword [ebp - 0x74]
mov dword [edx + 0x11c], ecx
jmp 0x417f82
jmp 0x417f82
jmp 0x417ed3
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x11c]
push ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0x120
call fcn.00406df0
push 0
mov ecx, dword [ebp - 0x74]
call fcn.0048f5aa
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401c70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004020c0
jmp 0x417c5d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0047bda9
mov esp, ebp
pop ebp
ret 8