Function at 0x10005cbc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
je 0x10005ce5
cmp dword [ebp + 8], 2
je 0x10005ce5
or eax, 0xffffffff
jmp 0x10005ed2
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
call fcn.1000d2ee
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x10005d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.E.2dYoc0ha2CLaF_xFM6Bwa3epL4g8MXrs0qfPycMQpzuwXb.j_4oc5yHjRNy35mCTKLu9UK_Ahuxiqm0ng4f7N2eEGL0oHTaf_cg_kAS3n2Gx7A5APbYyFwUaniCUWMN_NVEmTqrRl4oFYn.tXnb_0EClpfx5M_oi_QZDZ3_pzOScVDw4uUFvYc7d9lPbd_KfXljKTOvMAKS5nfrQNh62xG.y_cWe6ltY2ErU0rRL2Eg_JktMOiKoW5z_MLYYyd6
call fcn.1000acd6
pop ecx
push 0xf
pop esi
cmp eax, esi
ja 0x10005d15
mov esi, eax
mov byte [ebp - 0x21], bl
mov dword [ebp + 8], ebx
cmp esi, ebx
jbe 0x10005d48
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x42]
push 0x20
mov byte [ebp + eax - 0x30], cl
lea eax, [ebp - 0xf0]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
jb 0x10005d1f
push 0xfffffffffffffffe
pop eax
jmp 0x10005ed1
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xb0]
call fcn.10005c56
mov eax, dword [0x10039720]
push ebx
add eax, 0x438
push 0x1002cdb4
push eax
call fcn.1000b60a
push ebx
lea ecx, [ebp - 0xb0]
push ecx
mov edi, 0x10022ad0
push edi
push eax
mov dword [ebp - 0x1c], eax
call fcn.1000b60a
push ebx
mov dword [ebp - 0x14], eax
call fcn.1000cef9
add esp, 0x24
cmp edx, ebx
jg 0x10005db3
jl 0x10005da5
cmp eax, 0x2bcf
jae 0x10005db3
push ebx
push ebx
push str.ZJzdBgDp_0bdY4_Tyjn0HnEl_zWU_pZvsrqKXeJcvvcbCW0Gae3lu03DncW6oM9cv70ZjJejfOv49JtLld.Iyrtn_VLFTZY73mLqFFs1YqP5DiQwnbPI8eWmsE85Ll7FH5__DTH6_7ZJFtTp_0E_PG80_u4d8EUFmq_PnX.pvX__3LPCLUHvnZTn57lKJVt3XFsbiMOwn5W40Wes5SvnK3C3ral6RyjLlo7E8voz4rou2_vv.urjqx82JiSZsKNvp4PhRRMDfaON_3kCAHz_Tm.4RP78WnaYHmL5QJDHiBlPpX8MGEFqZj_GBfyr8zE_PVQXuwzK31S65a3s1E_p.f7n_8x3GvkchriBxeFBUtRJ5u9KCgv_h8pEWygunn4_JudZpNLsuX5XLg3Cq5m5t8T5MNCODCI0c_7aV9U3vWdHf.3Lkq9GI7n___OE8ZB6teq_P7I.Oo2eX6sMHtjE3ryCFyGXqrqpbJvY246OwlYQlt9I9ibBM19HKG6fq73Fwwf3v1._n_p_TE1l_P4KXVVoDzTfFy2zqu9nWdE5o.eYB69__kX1fWj7jJKGPZy3uKrZkmFrqZqPOUJg6yRCUEnk9XW_UJ_aSbV6CmtGoY_cWymOEXYD54EfF.x8WtEeY_rsWNGwacELl_l2vEgJlQguu4H7EUmO5q5AGMlYOcGvy.MU0H00MPcsR_4hbMCcMmGEYr7hyEpEOw1Gh.VeY0Ea0S4QF43CGH91oKx.Fd2KfvQ6OgRQ_lDpS7T6wvoGoYbK.GVtaAqC_0YdhXfK5_MDL8W4T4_fPkXANPRNh7_a78Z5wRcsQI4V2XRFdvahx5FV.xKgWSZNxGuWxtoRu_H6WfPkUk9OkwXzHNz07rmiXcHK3mwxvpT17cfaRl.upUavxMY2_qA3Lh.K_zk80zz_POo_AIUHaCIH3DIeuju7nYXcfF_5pFT01MUZCf.wFkzLZVe7m.XGeIdY7DALvT__8icG38B1BsL77UYf_tdYMRxLzzg0kBWc_x4zLpD0f0
push ebx
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileA]
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.100117e7
pop ecx
mov dword [ebp - 8], eax
cmp eax, ebx
jg 0x10005de0
mov dword [ebp - 4], 0xfffffffd
jmp 0x10005e94
mov eax, dword [0x10039720]
add eax, 0xb0
push 2
push eax
push dword [ebp - 0x14]
mov al, 2
call fcn.10011f51
mov esi, eax
add esp, 0xc
mov dword [ebp + 8], esi
cmp esi, ebx
jne 0x10005e0f
mov dword [ebp - 4], 0xfffffffc
jmp 0x10005e94
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10011d7b
pop ecx
pop ecx
test eax, eax
jns 0x10005e29
mov dword [ebp - 4], 0xfffffffb
jmp 0x10005e87
lea esi, [ebp + 8]
call fcn.10011cd2
push ebx
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [0x10039720]
add eax, 0x438
push edi
push eax
call fcn.1000b60a
push dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x20], edi
call fcn.1000b214
add esp, 0x14
test eax, eax
jns 0x10005e65
mov dword [ebp - 4], 0xfffffff9
lea eax, [ebp - 0x20]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
pop ecx
pop ecx
cmp dword [ebp - 4], ebx
jne 0x10005e85
push 0x2deb8b96
call fcn.1000776f
cmp dword [ebp - 4], ebx
pop ecx
jge 0x10005e94
cmp dword [ebp + 8], ebx
je 0x10005e94
lea esi, [ebp + 8]
call fcn.10011cd2
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.1000ab81
pop ecx
pop ecx
pop edi
cmp dword [ebp - 8], ebx
jle 0x10005eab
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.1000ab81
lea eax, [ebp - 0x1c]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
lea eax, [ebp - 0x14]
push 0xfffffffffffffffe
push eax
call fcn.1000ab81
mov eax, dword [ebp - 4]
add esp, 0x18
pop esi
pop ebx
leave
ret