Function at 0x10049319
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov dword [ebp - 8], 0xf34111d0
xor esi, esi
mov dword [ebp - 0x10], 0x56cef3cf
inc esi
push edi
mov dword [ebp - 0xc], esi
xor edi, edi
mov dword [ebp - 0x14], 0x83e731e7
mov ebx, ecx
mov dword [ebp - 0x10], edi
jmp 0x10049354
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1c], 0x935db5a2
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jl 0x10049346
mov eax, dword [ebp - 8]
sub eax, 5
je 0x10049372
cmp dword [ebp - 8], edi
jne 0x1004936f
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
xor edx, edx
imul ecx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
cmp edx, 0x811
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
dec edx
cmp edx, eax
setne cl
imul eax, ecx, 0x6baf
test eax, eax
jne 0x100493b4
mov ecx, edi
cmp dword [ebp - 8], edi
je 0x100493b6
mov ecx, esi
xor eax, eax
cmp ecx, 0x6a6c
setl al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], edi
jne 0x100493d0
mov ecx, edi
cmp dword [ebp - 0xc], edi
je 0x100493d2
mov ecx, esi
mov eax, dword [ebp - 8]
add ecx, 0xffffc95b
xor edx, edx
cmp ecx, eax
setge dl
xor eax, eax
test edx, edx
setg al
add eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x10049410
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x1004940d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jle 0x100493fa
push 0x7f35
push esi
push 0x4e79
push ebx
call fcn.10042bbd
add esp, 0x10
xor edi, edi
push 4
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edi
jmp 0x10049447
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x50], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x10049439
cmp dword [ebp - 8], edi
je 0x10049465
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 8]
cmp ecx, eax
setl dl
cmp dword [ebp - 8], edx
mov edx, esi
je 0x10049467
mov edx, edi
mov eax, dword [ebp - 8]
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 8]
cmp eax, edx
push 0xfffffffffffffff6
setne cl
sub ecx, dword [ebp - 8]
neg ecx
pop eax
sbb ecx, ecx
inc ecx
cmp dword [ebp - 8], ecx
je 0x10049563
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
jmp 0x100494a7
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x30], 9
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x10049499
mov dword [ebp - 8], edi
jmp 0x10049557
mov dword [ebp - 0x10], 0xfffffffa
mov edi, dword [ebp - 0xc]
neg edi
sbb edi, edi
neg edi
cmp dword [ebp - 0x44], 0
jne 0x10049500
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0x18]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
sub edx, eax
mov eax, dword [ebp - 0xc]
cmp edx, eax
setne cl
cmp ecx, 0x4898
jl 0x10049500
xor eax, eax
jmp 0x10049502
mov eax, esi
cmp eax, dword [ebp - 0xc]
jge 0x10049511
cmp dword [ebp - 0x10], 0
jne 0x10049511
xor edx, edx
jmp 0x10049513
mov edx, esi
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp edx, eax
setl cl
xor edx, edx
cmp edi, ecx
sete dl
xor eax, eax
add edx, 0x10ef7d59
cmp edx, 0x4f75
setge al
cmp eax, 0xc54c9751
sbb edx, edx
xor ecx, ecx
neg edx
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, eax
setge cl
add ecx, 0x4c6710ac
mov dword [ebp - 0x2c], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x100494b5
jmp 0x10049569
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], edi
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x1004957b
push 0
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push ebx
call fcn.1002ea71
mov dword [ebp - 0x10], 0xbf68593f
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov edi, eax
mov dword [ebp - 0x14], 0x68906353
mov dword [ebp - 0x18], 0xfffffffd
mov dword [ebp - 0x18], 0xfffffff9
pop ecx
mov dword [ebp - 8], ebx
jmp 0x100495b8
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 0xfffffffa
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x100495aa
mov dword [ebp - 8], ebx
jmp 0x100495d1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x24], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x100495c3
cmp dword [ebp - 0x3c], ebx
jne 0x10049614
mov dword [ebp - 0x10], 0xfffb
xor edx, edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
cmp eax, ecx
setle dl
cmp edx, dword [ebp - 0x3c]
jle 0x100495fe
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
neg eax
add eax, 0xbc6c8951
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x10049616
mov esi, ebx
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x34]
cmp esi, eax
mov eax, dword [ebp - 0x38]
sete dl
xor ecx, ecx
cmp edx, eax
push 0xfffffffffffffff6
setge cl
pop eax
cmp eax, ecx
mov eax, dword [ebp - 0x3c]
sbb ecx, ecx
xor edx, edx
neg ecx
add ecx, eax
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
setl dl
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov eax, edi
mov dword [ebp - 0x18], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret