Function at 0x4d13e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x60c698
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
mov ebp, dword [esp + 0x28]
call fcn.004ecbf0
mov dword [ebp + 0x3b4], eax
mov eax, dword [ebp + 0x3bc]
lea esi, [ebp + 0x3bc]
push eax
call fcn.005d28c2
add esp, 4
push edi
push esi
mov dword [esi], 0
call fcn.00415030
mov eax, dword [esp + 0x2c]
mov esi, dword [esi]
push edi
push eax
push esi
mov dword [ebp + 0x3b8], edi
call fcn.005d8ed0
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
test ebx, ebx
mov dword [esp + 0x20], 0
jne 0x4d1478
xor eax, eax
jmp 0x4d148f
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d1480
sub eax, edx
sar eax, 1
push ebx
mov ebx, eax
lea eax, [esp + 0x30]
call fcn.004037a0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4d14c6
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4d14e1
cmp ecx, eax
jg 0x4d14e1
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4d14c6
push 0x5c
lea edi, [esp + 0x30]
call fcn.0040af90
lea edi, [ebp + 0x39c]
lea eax, [esp + 0x2c]
call fcn.0040ab90
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x4d14eb
xor eax, eax
jmp 0x4d14ff
push 0x80070057
call fcn.00403650
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d14f0
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x30]
call fcn.004037a0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x4d1536
lea ecx, [eax - 1]
test ecx, ecx
jl 0x4d14e1
cmp ecx, eax
jg 0x4d14e1
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x4d1536
push 0x5c
lea edi, [esp + 0x30]
call fcn.0040af90
lea esi, [ebp + 0x3a0]
lea eax, [esp + 0x2c]
mov edi, esi
call fcn.0040ab90
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, str.SyncTemp
call fcn.0040aab0
add esp, 8
lea edi, [ebp + 0x3a4]
mov byte [esp + 0x20], 1
call fcn.0040ab90
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d158f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x5c
call fcn.0040af90
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, 0x633ca0
call fcn.0040aab0
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d15e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp + 0x39c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.zlib1.dll
call fcn.0040aab0
add esp, 8
mov byte [esp + 0x20], 2
mov ecx, dword [eax]
call fcn.004746a0
test eax, eax
sete byte [esp + 0x28]
xor ebx, ebx
mov byte [esp + 0x20], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d1635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x28], bl
je 0x4d166d
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1663
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffe
jmp 0x4d170e
lea ecx, [ebp + 0x388]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004ce9e0
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x4d16a5
xor eax, eax
cmp esi, ebx
setne al
cmp eax, ebx
je 0x4d1724
mov eax, esi
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, dword [esi]
call eax
cmp esi, ebx
jne 0x4d1684
lea eax, [ebp + 0x3cc]
push 0x626e46
xor edi, edi
mov dword [ebp + 0x3b0], ebx
mov dword [ebp + 0x3ac], ebx
mov dword [ebp + 0x3c0], ebx
mov dword [ebp + 0x3c4], ebx
call fcn.00415c70
mov ecx, dword [ebp + 0x3a8]
push ebx
push 0x32
push 0x1bfc
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d170c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
push 0x80004005
call fcn.00403650
int3