Function at 0x4371d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3e
push 0
push 0
dec ecx
jne 0x4371d8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x188]
mov edx, dword [0x407c54]
call fcn.00405474
xor eax, eax
push ebp
push 0x437b5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x14], 0
jne 0x437b19
mov eax, dword [ebp - 4]
cmp byte [eax + 0x15], 0
jne 0x437b19
xor eax, eax
push ebp
push 0x437b0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x437b74
mov dl, 1
mov eax, dword [0x435fd4]
call fcn.0043603c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x437afe
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x2710
mov eax, dword [ebp - 8]
call fcn.004361bc
test al, al
jne 0x437271
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437b19
mov eax, dword [ebp - 4]
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd]
mov edx, dword [eax]
call dword [edx + 8]
mov dl, 1
mov eax, dword [0x436230]
call fcn.00403a6c
mov ebx, eax
lea eax, [ebx + 0x10]
mov edx, 0x437b90
call fcn.004049d4
mov byte [ebx + 0x14], 0
lea eax, [ebx + 8]
mov edx, 0x437ba0
call fcn.004049d4
lea eax, [ebx + 0xc]
mov edx, 0x437bb0
call fcn.004049d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd]
mov edx, ebx
call fcn.00427990
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32]
call fcn.00404c50
test eax, eax
je 0x43733f
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32]
call fcn.004088d8
mov eax, dword [ebp - 0x18c]
push eax
lea edx, [ebp - 0x198]
xor eax, eax
call fcn.00402ae0
mov eax, dword [ebp - 0x198]
lea edx, [ebp - 0x194]
call fcn.004096c8
mov eax, dword [ebp - 0x194]
lea edx, [ebp - 0x190]
call fcn.004088d8
mov edx, dword [ebp - 0x190]
pop eax
call fcn.00404d9c
je 0x43733f
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437b19
push 0xa
push 0x437bb4
mov eax, dword [0x47c668]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x43738b
push 0x437bcc
push 0xa
mov ecx, dword [0x47c668]
mov dl, 1
mov eax, dword [0x41a880]
call fcn.0041da78
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [ebp - 4]
mov byte [eax + 0x13], 1
mov eax, ebx
call fcn.00403a9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26]
call fcn.00409220
test al, al
jne 0x4373c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x13], 0
je 0x4373c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26]
call fcn.00409244
test al, al
jne 0x4373c4
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437b19
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x26]
mov eax, dword [ebp - 4]
call fcn.00437004
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x437544
inc ebx
xor esi, esi
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e]
mov edx, esi
call fcn.0041bfcc
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x36]
lea eax, [ebp - 0x19c]
mov ecx, 0x437be4
call fcn.00404c9c
mov eax, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x10]
call fcn.00404f38
dec eax
jne 0x43753c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404a18
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e]
mov edx, dword [ebp - 0xc]
call fcn.0041c1ac
cmp dword [ebp - 0x30], 0
jne 0x437455
lea eax, [ebp - 0x30]
mov edx, 0x437b90
call fcn.00404a18
mov al, byte [0x437be8]
push eax
lea eax, [ebp - 0x1a0]
push eax
xor ecx, ecx
mov edx, 0x437bf4
mov eax, dword [ebp - 0x10]
call fcn.0040ddf0
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x10]
call fcn.00404a18
lea eax, [ebp - 0x1c]
mov ecx, 0x437c04
mov edx, dword [ebp - 0x10]
call fcn.00404c9c
mov eax, dword [ebp - 0x1c]
call fcn.0043701c
test al, al
je 0x4374d0
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x1c]
call fcn.004370c4
mov edx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x1c]
call fcn.00404a18
mov al, byte [0x437be8]
push eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 0x437c04
mov eax, dword [ebp - 0x1c]
call fcn.0040ddf0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x26]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
call fcn.00404c9c
push 0
lea eax, [ebp - 0x18]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c24
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1a8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004367f8
mov eax, dword [ebp - 0x20]
call fcn.00409210
test al, al
je 0x43752d
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
call fcn.00404d9c
je 0x43753c
push 0
mov cl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0042a5b4
inc esi
dec ebx
jne 0x4373eb
mov eax, dword [ebp - 4]
push dword [eax + 0x26]
mov eax, dword [ebp - 4]
push dword [eax + 0x36]
push 0x437c38
lea eax, [ebp - 0x1ac]
mov edx, 3
call fcn.00404d10
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x188]
mov edx, 0x3f
call fcn.004093cc
test eax, eax
je 0x437591
call fcn.00404380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437b19
xor eax, eax
push ebp
push 0x437aa9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x437a73
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x17c]
call fcn.00409518
lea ecx, [ebp - 0xc]
mov edx, 0x437bf4
mov eax, dword [ebp - 0x1c]
call fcn.00409518
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x17c]
call fcn.00404a18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x26]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
call fcn.00404c9c
push 0
lea eax, [ebp - 0x14]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c48
lea eax, [ebp - 0x1b0]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1b0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004367f8
push 0
lea eax, [ebp - 0x24]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c5c
lea eax, [ebp - 0x1b4]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1b4]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004367f8
push 0
lea eax, [ebp - 0x1b8]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c70
lea eax, [ebp - 0x1bc]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1bc]
mov ecx, 0x437c80
mov eax, dword [ebp - 4]
call fcn.004367f8
mov eax, dword [ebp - 0x1b8]
mov edx, 0x437c8c
call fcn.00404d9c
setne byte [ebp - 0x25]
push 0
lea eax, [ebp - 0x18]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c24
lea eax, [ebp - 0x1c0]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1c0]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004367f8
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e]
mov edx, dword [ebp - 0xc]
call fcn.0041c1ac
cmp dword [ebp - 0x14], 0
je 0x437700
cmp dword [ebp - 0x24], 0
je 0x437700
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
call fcn.00404d9c
je 0x4379d3
xor eax, eax
push ebp
push 0x4379c9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4379b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a]
mov dl, 1
call fcn.0042a488
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a]
call fcn.00404e50
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3a]
mov eax, dword [ebp - 4]
call fcn.00437004
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3a]
lea eax, [ebp - 0x1c4]
mov ecx, dword [ebp - 0x10]
call fcn.00404c9c
mov eax, dword [ebp - 0x1c4]
call fcn.00404e50
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3a]
lea eax, [ebp - 0x1c8]
mov ecx, dword [ebp - 0x10]
call fcn.00404c9c
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 4]
call fcn.00437004
mov eax, dword [ebp - 4]
push dword [eax + 0x3a]
push dword [ebp - 0x10]
push 0x437c98
lea eax, [ebp - 0x1cc]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x20]
call fcn.0042a040
test al, al
je 0x43796a
xor eax, eax
push ebp
push 0x437963
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push dword [eax + 0x3a]
push dword [ebp - 0x10]
push 0x437ca4
lea eax, [ebp - 0x1d0]
mov edx, 3
call fcn.00404d10
mov ecx, dword [ebp - 0x1d0]
mov dl, 1
mov eax, dword [0x423288]
call fcn.00423338
mov dword [ebp - 0x2c], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x437cb8
mov edx, 0x437ccc
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx]
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x437cdc
mov edx, 0x437ccc
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx]
push 1
mov ecx, 0x437cf0
mov edx, 0x437ccc
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx + 8]
test eax, eax
setne byte [ebp - 0x25]
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x437d00
mov edx, 0x437ccc
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
call dword [ebx]
cmp dword [ebp - 0x30], 0
je 0x437878
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
call fcn.00404a18
push 0
push 0x437c14
push dword [ebp - 0x10]
push 0x437c48
lea eax, [ebp - 0x1d4]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00436888
push 0
push 0x437c14
push dword [ebp - 0x10]
push 0x437c5c
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00436888
push 0
push 0x437c14
push dword [ebp - 0x10]
push 0x437c24
lea eax, [ebp - 0x1dc]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00436888
push 0
lea edx, [ebp - 0x1e0]
xor eax, eax
mov al, byte [ebp - 0x25]
call fcn.00408be8
mov eax, dword [ebp - 0x1e0]
push eax
push 0x437c14
push dword [ebp - 0x10]
push 0x437c70
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404d10
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00436888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43796a
mov eax, dword [ebp - 0x2c]
call fcn.00403a9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4379bf
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3a]
lea eax, [ebp - 0x1e8]
mov ecx, dword [ebp - 0x10]
call fcn.00404c9c
mov eax, dword [ebp - 0x1e8]
mov dl, 1
call fcn.0042a488
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3a]
lea eax, [ebp - 0x1ec]
mov ecx, dword [ebp - 0x10]
call fcn.00404c9c
mov eax, dword [ebp - 0x1ec]
call fcn.00409870
ret
cmp dword [ebp - 0x14], 0
je 0x437a69
cmp dword [ebp - 0x24], 0
je 0x437a69
cmp dword [ebp - 0x18], 0
je 0x437a69
mov eax, dword [ebp - 0x14]
mov edx, 0x437bb0
call fcn.00404d9c
jne 0x437a0d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd]
xor edx, edx
call fcn.00427a18
mov ebx, eax
jmp 0x437a1b
mov dl, 1
mov eax, dword [0x436230]
call fcn.00403a6c
mov ebx, eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x1c]
call fcn.004049d4
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x24]
call fcn.004049d4
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004049d4
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004049d4
mov al, byte [ebp - 0x25]
mov byte [ebx + 0x14], al
mov eax, dword [ebp - 0x14]
mov edx, 0x437bb0
call fcn.00404d9c
je 0x437a69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xd]
mov edx, ebx
call fcn.00427990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437a7d
lea eax, [ebp - 0x188]
call fcn.0040941c
test eax, eax
je 0x43759f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437ab0
lea eax, [ebp - 0x188]
call fcn.00409440
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437b64
lea eax, [ebp - 0x1f0]
mov edx, 0x1a
call fcn.004049a4
lea eax, [ebp - 0x188]
mov edx, dword [0x407c54]
call fcn.00405544
lea eax, [ebp - 0x30]
call fcn.00404980
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.004049a4
ret