Function at 0x4038e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461f60
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4785d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], 0
mov eax, dword [esi]
mov cl, byte [eax + 0xef]
test cl, cl
jne 0x40393b
cmp byte [eax + 0xee], cl
je 0x40393b
cmp dword [eax + 0x200], 0
jne 0x40393b
mov bl, 1
jmp 0x40393d
xor bl, bl
mov dl, byte [eax + 0xee]
test dl, dl
jne 0x403958
test cl, cl
je 0x403958
cmp dword [eax + 0x218], 0
jne 0x403958
mov ch, 1
jmp 0x40395a
xor ch, ch
test cl, cl
je 0x403978
test dl, dl
je 0x403978
cmp dword [eax + 0x200], 0
jne 0x403978
cmp dword [eax + 0x218], 0
jne 0x403978
mov cl, 1
jmp 0x40397a
xor cl, cl
cmp byte [eax + 0xed], 0
jne 0x403993
test bl, bl
jne 0x40398f
test ch, ch
jne 0x40398f
test cl, cl
je 0x403993
mov cl, 1
jmp 0x403995
xor cl, cl
xor ebx, ebx
mov byte [ebp - 0xce], cl
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 4], ebx
test cl, cl
jne 0x403c49
add eax, 0x174
cmp dword [eax + 0x14], 0x10
jb 0x4039cf
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4039f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403b4a
mov byte [esi + 0x94], 1
mov ecx, esi
call fcn.00404b10
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00410a70
add esp, 4
lea ecx, [ebp - 0xfc]
push eax
call fcn.00405ba0
mov edi, dword [ebp - 0xf0]
test edi, edi
je 0x403a4c
or ebx, 0xffffffff
lea eax, [edi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x403a4c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
mov ecx, ebx
lock xadd dword [eax], ecx
jne 0x403a4c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0xfc]
mov ebx, dword [ebp - 0xd4]
mov byte [ebp - 0xf0], cl
lea eax, [edi + ebx]
cmp eax, edi
je 0x403a96
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x1c]
push ecx
push edi
push eax
lea ecx, [ebp - 0xf0]
call fcn.00409620
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
add esp, 0x10
sub ecx, edx
push ecx
push edx
push edi
call fcn.004201d0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
je 0x403ab7
push eax
call fcn.0041a4c1
add esp, 4
sub esp, 8
lea eax, [ebp - 0xfc]
mov ecx, esp
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.00405b30
mov eax, dword [esi]
push ebx
add eax, 0x174
push eax
lea ecx, [ebp - 0x80]
call fcn.00411710
mov byte [ebp - 4], 2
push 0xf
push str.uninstaller.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x28]
push ecx
push dword [eax + 4]
mov dword [ebp - 0xf0], eax
push eax
call fcn.00417ad0
mov edx, dword [ebp - 0x74]
mov ebx, 0x7fffffe
mov ecx, ebx
sub ecx, edx
mov edi, eax
cmp ecx, 1
jae 0x403b54
push str.list_T__too_long
call fcn.0042edcc
mov edi, 0xf
jmp 0x40430e
mov eax, dword [ebp - 0xf0]
inc edx
mov dword [ebp - 0x74], edx
mov dword [eax + 4], edi
mov eax, dword [edi + 4]
mov byte [ebp - 4], 2
mov dword [eax], edi
cmp dword [ebp - 0x14], 0x10
jb 0x403b7b
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
push 0xb
push str.updater.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
mov byte [ebp - 4], 4
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x28]
push eax
push dword [edi + 4]
push edi
call fcn.00417ad0
mov ecx, dword [ebp - 0x74]
sub ebx, ecx
mov edx, eax
cmp ebx, 1
jae 0x403bc6
push str.list_T__too_long
call fcn.0042edcc
inc ecx
mov dword [ebp - 0x74], ecx
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov byte [ebp - 4], 2
mov dword [eax], edx
cmp dword [ebp - 0x14], 0x10
jb 0x403be7
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
mov ecx, str.uninstaller.exe
call fcn.004037d0
mov ecx, str.updater.exe
call fcn.004037d0
lea ecx, [ebp - 0x80]
call fcn.00411aa0
lea ecx, [ebp - 0x80]
test eax, eax
jne 0x403c1f
call fcn.00404360
mov ebx, dword [ebp - 0xf8]
mov edi, 0x12
jmp 0x40430e
mov byte [ebp - 4], 0
call fcn.00404360
mov ecx, esi
call fcn.00402790
test al, al
jne 0x403c43
mov ebx, dword [ebp - 0xf8]
mov edi, 8
jmp 0x40430e
mov ebx, dword [ebp - 0xf8]
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00404430
mov byte [ebp - 4], 5
sub esp, 8
lea eax, [ebp - 0xfc]
mov ecx, esp
push eax
mov dword [ebp - 0xcc], 0xc
mov dword [ebp - 0xc4], 0xc
mov dword [ebp - 0xc8], 0xc
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
call fcn.00405b30
mov eax, dword [esi]
push dword [ebp - 0xd4]
add eax, 0xcc
push eax
lea ecx, [ebp - 0xc0]
call fcn.00411710
mov byte [ebp - 4], 6
mov eax, dword [esi]
mov edi, 0xb
cmp byte [eax + 0xed], 0
je 0x403d95
push 0xd
push str.installie.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
push 0x46ccd0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.00408900
add esp, 4
lea ecx, [ebp - 0xcc]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 8
call fcn.004035f0
test al, al
sete byte [ebp - 0xcd]
cmp dword [ebp - 0xd8], 0x10
jb 0x403d4f
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jb 0x403d7f
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
mov eax, dword [ebp - 0xcc]
cmp byte [ebp - 0xcd], 0
cmovne eax, edi
mov dword [ebp - 0xcc], eax
mov eax, dword [esi]
cmp byte [eax + 0xee], 0
je 0x403e4b
cmp dword [eax + 0x200], 0
je 0x403e41
push 1
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00404430
push str.installff.exe
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 9
call fcn.00405140
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xa
call fcn.004035f0
test al, al
sete byte [ebp - 0xcd]
cmp dword [ebp - 0xd8], 0x10
jb 0x403e14
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov eax, dword [ebp - 0xc4]
cmp byte [ebp - 0xcd], 0
mov byte [ebp - 4], 6
cmovne eax, edi
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xc4], eax
jb 0x403e4b
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
jmp 0x403e4b
mov dword [ebp - 0xc4], 0x17
mov eax, dword [esi]
cmp byte [eax + 0xef], 0
je 0x403fcd
cmp dword [eax + 0x218], 0
je 0x403fc3
cmp dword [eax + 0x140], 1
jne 0x403e9c
push str.__dbgc
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xec]
call fcn.00408900
add esp, 4
mov edi, eax
lea ecx, [ebp - 0x40]
mov eax, 1
mov dword [ebp - 0xd4], eax
cmp ecx, edi
je 0x403efd
jmp 0x403ecb
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407060
lea edi, [ebp - 0x28]
mov dword [ebp - 0xd4], 2
cmp dword [ebp - 0x2c], 0x10
jb 0x403edc
push dword [ebp - 0x40]
call fcn.0041a4c1
add esp, 4
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00406f50
mov eax, dword [ebp - 0xd4]
test al, 2
je 0x403f33
and eax, 0xfffffffd
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xd4], eax
jb 0x403f21
push dword [ebp - 0x28]
call fcn.0041a4c1
mov eax, dword [ebp - 0xd4]
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
test al, 1
je 0x403f55
cmp dword [ebp - 0xd8], 0x10
jb 0x403f55
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
push str.installgc.exe
lea ecx, [ebp - 0xec]
call fcn.00405140
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xc0]
push eax
mov byte [ebp - 4], 0xc
call fcn.004035f0
test al, al
sete al
mov byte [ebp - 4], 6
cmp dword [ebp - 0xd8], 0x10
mov byte [ebp - 0xcd], al
jb 0x403fb3
push dword [ebp - 0xec]
call fcn.0041a4c1
mov al, byte [ebp - 0xcd]
add esp, 4
test al, al
je 0x403fcd
mov dword [ebp - 0xc8], 0xb
jmp 0x403fcd
mov dword [ebp - 0xc8], 0x17
push 2
push 0x46cd0c
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x100], 0xf
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x114], 0
call fcn.00407c90
mov byte [ebp - 4], 0xd
mov ecx, dword [esi]
add ecx, 0x98
lea eax, [ebp - 0x114]
cmp ecx, eax
je 0x40401a
push 0xffffffffffffffff
push 0
push eax
call fcn.00407060
mov byte [ebp - 4], 6
cmp dword [ebp - 0x100], 0x10
jb 0x404035
push dword [ebp - 0x114]
call fcn.0041a4c1
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0x140]
dec eax
je 0x40405d
dec eax
je 0x404055
dec eax
je 0x40404d
mov edi, 0x15
jmp 0x404063
mov edi, dword [ebp - 0xcc]
jmp 0x404063
mov edi, dword [ebp - 0xc4]
jmp 0x404063
mov edi, dword [ebp - 0xc8]
cmp byte [ebp - 0xce], 0
jne 0x404074
push edi
mov ecx, esi
call fcn.00404c70
push 2
push 0x46cd10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
mov byte [ebp - 4], 0xe
test dword [ebp - 0xcc], 0x7f
sete al
movzx eax, al
push eax
mov eax, dword [esi]
push 0
movzx eax, byte [eax + 0xed]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00404e00
push 0xffffffffffffffff
mov byte [ebp - 4], 0xf
mov ecx, dword [esi]
push 0
push eax
add ecx, 0x98
call fcn.00407b90
cmp dword [ebp - 0xd8], 0x10
jb 0x4040f3
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jb 0x404123
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
push 2
push 0x46cd14
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
mov byte [ebp - 4], 0x10
test dword [ebp - 0xc4], 0x7f
sete al
cmp dword [ebp - 0xc4], 0x17
movzx eax, al
push eax
sete al
movzx eax, al
push eax
mov eax, dword [esi]
movzx eax, byte [eax + 0xee]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00404e00
push 0xffffffffffffffff
mov byte [ebp - 4], 0x11
mov ecx, dword [esi]
push 0
push eax
add ecx, 0x98
call fcn.00407b90
cmp dword [ebp - 0xd8], 0x10
jb 0x4041ae
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jb 0x4041de
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
push 2
push 0x46cd18
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407c90
mov byte [ebp - 4], 0x12
test dword [ebp - 0xc8], 0x7f
sete al
cmp dword [ebp - 0xc8], 0x17
movzx eax, al
push eax
sete al
movzx eax, al
push eax
mov eax, dword [esi]
movzx eax, byte [eax + 0xef]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.00404e00
push 0xffffffffffffffff
mov byte [ebp - 4], 0x13
mov ecx, dword [esi]
push 0
push eax
add ecx, 0x98
call fcn.00407b90
cmp dword [ebp - 0xd8], 0x10
jb 0x404269
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xd8], 0xf
mov dword [ebp - 0xdc], 0
mov byte [ebp - 0xec], 0
jb 0x404299
push dword [ebp - 0x28]
call fcn.0041a4c1
add esp, 4
lea eax, [ebp - 0xec]
push eax
mov ecx, esi
call fcn.00404d80
push 0xffffffffffffffff
mov byte [ebp - 4], 0x14
mov ecx, dword [esi]
push 0
push eax
add ecx, 0x98
call fcn.00407b90
mov byte [ebp - 4], 6
cmp dword [ebp - 0xd8], 0x10
jb 0x4042d8
push dword [ebp - 0xec]
call fcn.0041a4c1
add esp, 4
push edi
mov ecx, esi
call fcn.00404f70
lea ecx, [ebp - 0xc0]
call fcn.00404360
cmp dword [ebp - 0x2c], 0x10
jb 0x4042fc
push dword [ebp - 0x40]
call fcn.0041a4c1
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x40433e
or esi, 0xffffffff
lea eax, [ebx + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x40433e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lea eax, [ebx + 8]
lock xadd dword [eax], esi
dec esi
jne 0x40433e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419056
mov esp, ebp
pop ebp
ret