Function at 0x403b20
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x41a638
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x4201f4]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4201f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0xc0]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x403fd0
mov esi, 0xf
lea eax, [esp + 0xbc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403b94
sub eax, edx
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401dc0
push 2
push 0xffffffffffffffff
push 0x41b7d0
lea ecx, [esp + 0x20]
call fcn.00402dc0
mov edi, 0x10
mov ebp, eax
cmp dword [esp + 0x2c], edi
jb 0x403bdb
mov edx, dword [esp + 0x18]
push edx
call fcn.0040a718
add esp, 4
lea eax, [esp + 0xbc]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403bf1
sub eax, edx
push eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401dc0
inc ebp
push ebp
push ebx
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1d8], ebx
call fcn.004032e0
mov byte [esp + 0x1cc], 2
cmp dword [esp + 0x2c], edi
jb 0x403c42
mov edx, dword [esp + 0x18]
push edx
call fcn.0040a718
add esp, 4
push 1
push 0x41b7d4
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401dc0
lea eax, [esp + 0x4c]
push 6
push eax
mov byte [esp + 0x1d4], 3
call fcn.00403a00
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x1e0], 4
call fcn.00403320
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x1ec], 5
call fcn.00403320
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x42006c
mov byte [esp + 0x1d8], 6
call fcn.00401ce0
cmp dword [esp + 0x80], edi
jb 0x403ce6
mov eax, dword [esp + 0x6c]
push eax
call fcn.0040a718
add esp, 4
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x9c], edi
jb 0x403d0e
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040a718
add esp, 4
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0x64], edi
jb 0x403d36
mov edx, dword [esp + 0x50]
push edx
call fcn.0040a718
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x1cc], 2
cmp dword [esp + 0x48], edi
jb 0x403d5d
mov eax, dword [esp + 0x34]
push eax
call fcn.0040a718
add esp, 4
push 0xb
push str.morning.wav
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401dc0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push 0x42006c
push edx
mov byte [esp + 0x1d8], 7
call fcn.00403320
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x420088
mov byte [esp + 0x1d8], 8
call fcn.00401ce0
cmp dword [esp + 0x64], edi
jb 0x403dc1
mov eax, dword [esp + 0x50]
push eax
call fcn.0040a718
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x1cc], 2
cmp dword [esp + 0x48], edi
jb 0x403de8
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040a718
add esp, 4
mov eax, dword [0x420070]
cmp dword [0x420084], edi
jae 0x403dfa
mov eax, 0x420070
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x42008c]
cmp dword [0x4200a0], edi
jae 0x403e14
mov eax, 0x42008c
push 0x81
push eax
call fcn.00403740
add esp, 8
test al, al
je 0x403fb7
mov eax, dword [0x421544]
push 1
push eax
call fcn.004067a0
mov ecx, dword [0x421544]
push 3
push ecx
mov dword [0x421594], eax
call fcn.004067a0
mov edx, dword [0x421544]
push 0xa
push edx
mov dword [0x421568], eax
call fcn.004067a0
mov dword [0x421598], eax
mov eax, dword [0x421544]
push 2
push eax
call fcn.004067a0
mov ecx, dword [0x421544]
push 7
push ecx
mov dword [0x42157c], eax
call fcn.004067a0
mov edx, dword [0x421544]
push 0x12
push edx
mov dword [0x421578], eax
call fcn.004067a0
mov dword [0x421560], eax
mov eax, dword [0x421544]
push 0xc
push eax
call fcn.004067a0
mov ecx, dword [0x421544]
push 6
push ecx
mov dword [0x421570], eax
call fcn.004067a0
mov edx, dword [0x421544]
add esp, 0x40
push 4
push edx
mov dword [0x42154c], eax
call fcn.004067a0
mov dword [0x421548], eax
mov eax, dword [0x421544]
push edi
push eax
call fcn.004067a0
mov ecx, dword [0x421544]
push 5
push ecx
mov dword [0x42159c], eax
call fcn.004067a0
mov edx, dword [0x421544]
push 0x11
push edx
mov dword [0x42156c], eax
call fcn.004067a0
mov dword [0x421550], eax
mov eax, dword [0x421544]
push 0x14
push eax
call fcn.004067a0
add esp, 0x28
mov dword [0x421590], eax
cmp dword [0x421594], ebx
je 0x403f8d
cmp dword [0x421568], ebx
je 0x403f8d
cmp dword [0x421598], ebx
je 0x403f8d
cmp dword [0x421578], ebx
je 0x403f8d
cmp dword [0x421570], ebx
je 0x403f8d
cmp dword [0x42154c], ebx
je 0x403f8d
cmp dword [0x42157c], ebx
je 0x403f8d
cmp dword [0x421548], ebx
je 0x403f8d
cmp dword [0x42159c], ebx
je 0x403f8d
cmp dword [0x42156c], ebx
je 0x403f8d
cmp dword [0x421550], ebx
je 0x403f8d
cmp eax, ebx
je 0x403f8d
lea ecx, [esp + 0xa0]
call fcn.00401b40
mov al, 1
jmp 0x403fd2
mov eax, dword [0x421544]
cmp eax, ebx
je 0x403fb7
push eax
call fcn.004068e0
mov ecx, dword [0x421564]
push ecx
mov dword [0x421544], ebx
call fcn.0040ac35
add esp, 8
mov dword [0x421574], ebx
cmp dword [esp + 0xb8], edi
jb 0x403fd0
mov edx, dword [esp + 0xa4]
push edx
call fcn.0040a718
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.0040b213
add esp, 0x1bc
ret