Function at 0x48126c
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, dword [0x5657c0]
test ebx, ebx
je 0x48158b
mov eax, dword [ebx]
mov esi, 0x57c9f8
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x56585a
push 0x57c9f8
call fcn.0054e5a0
add esp, 8
mov esi, eax
push 0x565863
push 0x57c9f8
call fcn.0054e5a0
add esp, 8
mov edi, eax
push 0x56586c
push 0x57c9f8
call fcn.0054e5a0
add esp, 8
mov ebp, eax
push 0x565875
push 0x57c9f8
call fcn.0054e5a0
add esp, 8
mov dword [esp], eax
test esi, esi
je 0x481580
mov byte [esi], 0
add esi, 7
push 0x20
push 0x57c9f8
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x48131a
mov byte [eax], 0
test edi, edi
je 0x48132b
mov byte [edi], 0
add edi, 7
cmp byte [edi], 0
jne 0x48132b
xor edi, edi
test ebp, ebp
je 0x48133e
mov byte [ebp], 0
add ebp, 7
cmp byte [ebp], 0
jne 0x48133e
xor ebp, ebp
cmp dword [esp], 0
je 0x48135b
mov eax, dword [esp]
mov byte [eax], 0
add dword [esp], 7
mov edx, dword [esp]
cmp byte [edx], 0
jne 0x48135b
xor ecx, ecx
mov dword [esp], ecx
cmp byte [esi], 0
je 0x481580
push 0x56587e
push 0x57c9f8
call fcn.0054e450
add esp, 8
test eax, eax
jne 0x481580
push esi
push edi
mov edi, esi
mov esi, 0x57cddf
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x57cddf
call fcn.0042cd58
push 0x581f80
push 0x57cddf
call fcn.0054e450
add esp, 8
test eax, eax
je 0x4813da
push 2
push 0x57cddf
call fcn.0042cbc2
test eax, eax
jne 0x48158b
push 0x581f80
push str._sdownload
push 0x57cddf
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x57cddf
call sub.KERNEL32.dll_CreateDirectoryA
push 2
push 0x57cddf
call fcn.0042cbc2
test eax, eax
je 0x48158b
push 0x57cddf
push 0x565893
push 0x582088
call sub.USER32.dll_wsprintfA
add esp, 0xc
test edi, edi
je 0x48144c
push edi
push 0x5658a6
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
test ebp, ebp
je 0x481470
push ebp
push 0x5658b1
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [esp], 0
je 0x481498
push dword [esp]
push 0x5658bc
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x582088
push 0
call fcn.004c6a18
mov esi, eax
test esi, esi
je 0x48158b
push ebx
push dword [0x5657c0]
call fcn.004c6c7e
mov dword [0x5657c0], eax
push esi
push dword [0x5657c0]
push dword [0x5657c0]
call fcn.004c6cfe
mov dword [0x5657c0], eax
push 0x57cddf
call fcn.0042ccfa
push eax
push str.defaultEXTDIR:_s_
push 0x582088
call sub.USER32.dll_wsprintfA
add esp, 0xc
test edi, edi
je 0x481519
push edi
push str.EXTAPP:_s
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
test ebp, ebp
je 0x48153d
push ebp
push str.EXTCOM:_s
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
cmp dword [esp], 0
je 0x481565
push dword [esp]
push str.EXTOPT:_s
push 0x582088
call fcn.0054e28c
pop ecx
add eax, 0x582088
push eax
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0x581e7c
push 0x582088
push 0x565907
push 0x5658fb
call fcn.004ac64e
jmp 0x48158b
mov ebx, dword [ebx + 0x40]
test ebx, ebx
jne 0x48127f
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret