Function at 0x411c50
Capabilities:
Create directory
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449c48
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x468bd6], 1
jne 0x41205a
lea ecx, [ebp - 0x148]
call fcn.00410fd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x46605c
call fcn.00423030
lea ecx, [ebp - 0x1a0]
call fcn.004061f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 2
mov ecx, closesocket
mov edx, dword [ebp - 0x138]
sub ecx, edx
cmp ecx, 1
jb 0x412076
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push 1
cmovae eax, dword [ebp - 0x148]
push 0x45cc98
push edx
push eax
push ecx
push dword [ebp - 0x150]
lea ecx, [ebp - 0x188]
call fcn.00425610
push esi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x150]
lea ecx, [ebp - 0x170]
call fcn.00425430
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x130]
call fcn.00422f70
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x411d97
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411d8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41207b
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x174]
cmp edx, 0x10
jb 0x411dd5
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411dcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41207b
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x411e13
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41207b
push edx
push ecx
call fcn.00429d26
add esp, 8
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x160], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x15c], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411e50
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.00423f40
cmp dword [ebp - 0x15c], 0x10
lea eax, [ebp - 0x170]
mov edi, dword [ebp - 0x170]
lea ecx, [ebp - 0x130]
mov ebx, dword [ebp - 0x11c]
cmovae eax, edi
push dword [ebp - 0x160]
mov esi, dword [ebp - 0x130]
cmp ebx, 0x10
mov edx, dword [ebp - 0x120]
cmovae ecx, esi
push eax
call fcn.004258c0
mov byte [ebp - 0x149], al
add esp, 8
mov eax, dword [ebp - 0x15c]
cmp eax, 0x10
jb 0x411ef7
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x411ee1
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4120dc
push ecx
push edi
call fcn.00429d26
mov ebx, dword [ebp - 0x11c]
add esp, 8
mov esi, dword [ebp - 0x130]
cmp byte [ebp - 0x149], 0
jne 0x411fd5
cmp ebx, 0x10
lea eax, [ebp - 0x130]
push 0x45cc8c
cmovae eax, esi
push eax
call fcn.0042ded0
add esp, 8
test eax, eax
jne 0x412080
lea ecx, [ebp - 0x148]
call fcn.00409ed0
test al, al
jne 0x411f49
push 0
lea ecx, [ebp - 0x148]
call fcn.00422ea0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x148]
call fcn.00409ed0
test al, al
je 0x411f89
sub esp, 0x18
lea eax, [ebp - 0x130]
mov ecx, esp
mov dword [ebp - 0x158], esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
call fcn.0040a8c0
mov byte [ebp - 4], 1
call fcn.00410e40
add esp, 0x30
lea ecx, [ebp - 0x130]
call fcn.00409ea0
test al, al
je 0x4120d5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x45be8b
call fcn.00422ff0
sub esp, 0x18
mov byte [ebp - 4], 7
lea eax, [ebp - 0x130]
mov dword [ebp - 0x154], esp
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 8
jmp 0x4120ba
cmp ebx, 0x10
jb 0x412005
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x411ffb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4120dc
push ecx
push esi
call fcn.00429d26
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x41205a
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412050
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4120dc
push edx
push ecx
call fcn.00429d26
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004296b0
mov esp, ebp
pop ebp
ret
call fcn.004026a0
call fcn.0042ea38
push eax
call fcn.0042e4b9
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x45be8b
call fcn.00422ff0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x130]
mov dword [ebp - 0x154], esp
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
push str.0123456789
call fcn.00422ff0
mov byte [ebp - 4], 1
call fcn.00408700
add esp, 0x48
push 0
call fcn.0042dc4e
call fcn.0042ea38
int3