Function at 0x409f93
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [0x6d94a0]
add ebx, 0x50
mov dword [ebp - 0x14], ebx
push str.datamain_flashRole_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 2
call fcn.0040117e
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x409ff9
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x6d94a0]
add ebx, 0x50
mov dword [ebp - 0x14], ebx
push str.datamain.dds
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 2
call fcn.0040117e
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push dword [ebp - 0x18]
mov eax, 0
call fcn.0045e370
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a051
push ebx
call fcn.00458c7d
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a065
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.004026d0
and eax, 1
xor eax, 1
test eax, eax
je 0x40a089
lea eax, [ebp - 4]
push eax
call fcn.00408fa4
push 0x4812d5
push dword [ebp - 8]
call fcn.00401dd6
add esp, 8
cmp eax, 0
je 0x40a215
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040117e
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00402618
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a0d4
push ebx
call fcn.00458c7d
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x40a17c
mov ebx, dword [0x6d94a0]
add ebx, 0x50
mov dword [ebp - 0x14], ebx
push dword [ebp - 8]
push str.datamain_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 3
call fcn.0040117e
add esp, 0xc
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040117e
add esp, 8
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40a130
mov eax, 0x4812d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40a144
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x240
call fcn.0045ea90
add esp, 0x1c
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a167
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40a177
push ebx
call fcn.00458c7d
add esp, 4
jmp 0x40a1db
mov ebx, dword [0x6d94a0]
add ebx, 0x50
mov dword [ebp - 0x14], ebx
push dword [ebp - 8]
push str.datamain_
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 3
call fcn.0040117e
add esp, 0xc
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40a1b8
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d960
add esp, 0x10
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a1db
push ebx
call fcn.00458c7d
add esp, 4
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0
mov eax, 0
call fcn.0045e370
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a20c
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x40a089
mov eax, str.C:Program_FilesProtect.sys
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a22b
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.C:Program_FilesProtect.sysCON1.._
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a245
push ebx
call fcn.00458c7d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00402618
test eax, eax
je 0x40a2b2
push 0x80000301
push 0
push 0x20
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40a279
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x260
call fcn.0045e4e0
add esp, 0x1c
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40a29f
mov eax, 0x4812d5
push eax
push 1
mov ebx, 0x244
call fcn.0045d960
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.004026d0
and eax, 1
xor eax, 1
test eax, eax
je 0x40a3c9
push 0x80000101
push 0
push 0x5c
push 1
mov ebx, 0x140
call fcn.0045d450
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040117e
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40a310
push ebx
call fcn.00458c7d
add esp, 4
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40a337
push 6
call fcn.00458c83
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40a347
push ebx
call fcn.00458c7d
add esp, 4
mov dword [ebp - 0x14], esp
push 0
push str.C:Program_FilesProtect.sysCON_
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40a370
push 6
call fcn.00458c83
add esp, 4
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40a397
push 6
call fcn.00458c83
add esp, 4
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40a3b6
mov eax, 0x4812d5
push eax
push 2
mov ebx, 0x260
call fcn.0045e4e0
add esp, 0x1c
push dword [ebp - 0x20]
mov eax, 1
call fcn.0045e4c0
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40a3e9
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40a3f9
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40a409
push ebx
call fcn.00458c7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40a419
push ebx
call fcn.00458c7d
add esp, 4
mov esp, ebp
pop ebp
ret