Function at 0x4129f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov bl, 1
mov byte [ebp - 0x661], bl
lea esi, [edi + 0x14]
push esi
push str._sBloc
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412a50
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412a6b
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
and bl, al
mov byte [ebp - 0x661], bl
push esi
push str._sBlocCode
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412aa7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412ac2
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
and bl, al
mov byte [ebp - 0x661], bl
push esi
push str._sBlocDll
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412afe
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412b19
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
and bl, al
mov byte [ebp - 0x661], bl
push esi
push str._sWork
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412b55
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412b70
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
and bl, al
mov byte [ebp - 0x661], bl
push esi
push str._sBusDetect
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
add esp, 0x10
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x412bac
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x412bc7
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
and al, bl
mov byte [ebp - 0x661], al
lea eax, [edi + 0x119]
push eax
push esi
push str._s_s
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
push 0x45b9d4
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.0043f4a5
add esp, 0x20
test eax, eax
jne 0x412f70
push 0x3f8
push eax
lea eax, [ebp - 0x644]
push eax
call fcn.0043d400
movaps xmm0, xmmword [0x45bd00]
add esp, 0xc
movups xmmword [ebp - 0x660], xmm0
mov dword [ebp - 0x650], 0xc800
mov dword [ebp - 0x648], 0x1400
push 0x19000
push 8
push dword [0x47ceb0]
mov dword [ebp - 0x64c], 0x17c00
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp - 0x668]
mov esi, eax
lea eax, [ebp - 0x660]
push 1
push 0x414
push eax
call fcn.0044ad23
push dword [ebp - 0x668]
movzx ecx, byte [ebp - 0x661]
xor ebx, ebx
cmp eax, 1
lea eax, [edi + 0x7c7c]
push 1
push 0x60
push eax
cmove ebx, ecx
call fcn.0044ad23
push dword [ebp - 0x668]
xor edx, edx
movzx ecx, bl
cmp eax, 1
mov eax, dword [ebp - 0x660]
push 1
cmove edx, ecx
add eax, 0xffffffa0
push eax
push esi
mov dword [ebp - 0x66c], edx
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
cmp eax, 1
movzx ecx, cl
push 1
lea eax, [edi + 0x7cdc]
cmove ebx, ecx
push 0x14
push eax
call fcn.0044ad23
add esp, 0x40
movzx ecx, bl
xor edx, edx
cmp eax, 1
mov eax, dword [ebp - 0x65c]
cmove edx, ecx
add eax, 0xffffffec
push dword [ebp - 0x668]
mov dword [ebp - 0x66c], edx
push 1
push eax
push esi
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
cmp eax, 1
movzx ecx, cl
push 1
lea eax, [edi + 0x7cf0]
cmove ebx, ecx
push 0x7850
push eax
call fcn.0044ad23
xor edx, edx
movzx ecx, bl
push dword [ebp - 0x668]
cmp eax, 1
mov eax, dword [ebp - 0x658]
push 1
cmove edx, ecx
add eax, 0xffff87b0
push eax
push esi
mov dword [ebp - 0x66c], edx
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
cmp eax, 1
movzx ecx, cl
push 1
lea eax, [edi + 0xf540]
cmove ebx, ecx
push 0x24
push eax
call fcn.0044ad23
add esp, 0x40
movzx ecx, bl
xor edx, edx
cmp eax, 1
mov eax, dword [ebp - 0x654]
cmove edx, ecx
add eax, 0xffffffdc
push dword [ebp - 0x668]
mov dword [ebp - 0x66c], edx
push 1
push eax
push esi
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
cmp eax, 1
movzx ecx, cl
push 1
lea eax, [edi + 0xf564]
cmove ebx, ecx
push 0x1930
push eax
call fcn.0044ad23
push dword [ebp - 0x668]
xor edx, edx
movzx ecx, bl
cmp eax, 1
mov eax, dword [ebp - 0x650]
push 1
cmove edx, ecx
add eax, 0xffffe6d0
push eax
push esi
mov dword [ebp - 0x66c], edx
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
cmp eax, 1
movzx ecx, cl
push 1
lea eax, [edi + 0x10e94]
cmove ebx, ecx
push 0x25c
push eax
call fcn.0044ad23
add esp, 0x40
movzx ecx, bl
xor edx, edx
cmp eax, 1
mov eax, dword [ebp - 0x648]
cmove edx, ecx
add eax, 0xfffffda4
push dword [ebp - 0x668]
mov dword [ebp - 0x66c], edx
push 1
push eax
push esi
call fcn.0044ad23
push dword [ebp - 0x668]
mov ecx, dword [ebp - 0x66c]
xor ebx, ebx
push 1
push dword [ebp - 0x64c]
cmp eax, 1
movzx ecx, cl
push esi
cmove ebx, ecx
call fcn.0044ad23
add esp, 0x20
movzx ecx, bl
cmp eax, 1
mov ebx, 0
cmove ebx, ecx
push esi
push 0
push dword [0x47ceb0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [edi + 0xf55c], 0
mov dword [ebp - 0x66c], 0
jle 0x412f4f
xor esi, esi
nop dword [eax + eax]
cmp bl, 1
jne 0x412f4f
push dword [ebp - 0x668]
mov eax, dword [edi + 0xf560]
push 1
add eax, esi
push 0x8c
push eax
call fcn.0044ad23
add esp, 0x10
cmp eax, 1
je 0x412efc
xor bl, bl
jmp 0x412f34
mov eax, dword [edi + 0xf560]
push dword [ebp - 0x668]
push dword [esi + eax + 4]
push 0x88
push dword [esi + eax + 0x88]
call fcn.0044ad23
mov ecx, dword [edi + 0xf560]
add esp, 0x10
movzx edx, bl
xor ebx, ebx
cmp eax, dword [esi + ecx + 4]
cmovne edx, ebx
mov bl, dl
mov eax, dword [ebp - 0x66c]
add esi, 0x8c
inc eax
mov dword [ebp - 0x66c], eax
cmp eax, dword [edi + 0xf55c]
jl 0x412ed0
push dword [ebp - 0x668]
call fcn.0043f6f8
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b572
mov esp, ebp
pop ebp
ret