Function at 0x100395f0
Capabilities:
Check mutex on windows
Create directory

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x1007d048
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push str.MUTEX_HWNDLIST
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
test ebp, ebp
je 0x10039683
push 0x80
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
xor edi, edi
jmp 0x10039640
mov eax, dword [edi*4 + 0x1009b008]
push eax
call ebx
test eax, eax
jne 0x10039655
mov dword [edi*4 + 0x1009b008], eax
mov eax, dword [edi*4 + 0x1009b008]
test eax, eax
je 0x1003966b
inc edi
cmp edi, 0x80
jl 0x10039640
jmp 0x10039675
mov ecx, dword [esi + 4]
mov dword [edi*4 + 0x1009b008], ecx
push ebp
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10027ee0
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0
push 0x454
push edx
call edi
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
or ecx, 0x19900
cmp eax, ecx
je 0x100396c2
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, 0x16
movzx edx, cx
mov ecx, dword [esi + 4]
mov eax, 0x17
movzx eax, ax
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x41f
push ecx
call edi
mov eax, 0x10
mov ecx, eax
movzx edx, cx
mov ecx, dword [esi + 4]
movzx eax, ax
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x420
push ecx
call edi
push str.UxTheme
call fcn.1000fc80
mov ebp, eax
test ebp, ebp
je 0x10039723
mov ecx, esi
call fcn.10028ac0
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x400
push 0x10
push 0x19
push 0x10
push 0x10
call fcn.10010a70
push 0x400
push 0xa
push 0x19
push 0x10
push 0x10
mov dword [esi + 0x16c], eax
call fcn.10010a70
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x16c]
mov edx, dword [esi + 4]
push eax
push 0
push 0x430
push edx
call edi
mov eax, dword [0x10098994]
mov edi, dword [sym.imp.USER32.dll_LoadMenuA]
push 0x6b
push eax
call edi
mov dword [esi + 0x174], eax
mov ecx, dword [0x10098994]
push 0x75
push ecx
call edi
mov dword [esi + 0x1a4], eax
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x40], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, ebx
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x40], 1
jge 0x100397ec
push 0x104
lea ecx, [esp + 0x18]
call fcn.100029f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [0x10098990]
push 0x104
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test ebp, ebp
jne 0x10039807
xor eax, eax
jmp 0x1003981f
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10039810
sub eax, edx
js 0x10039f42
cmp eax, dword [ebp - 8]
jg 0x10039f42
push 0x5c
mov dword [ebp - 0xc], eax
push ebp
mov byte [eax + ebp], 0
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x10039843
or eax, 0xffffffff
jmp 0x10039845
sub eax, ebp
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
call fcn.10008ae0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
push str._s_theme
push ecx
mov byte [esp + 0x4c], 2
call fcn.10004e20
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039891
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call edi
push 0x5c
push ebp
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x100398b4
or eax, 0xffffffff
jmp 0x100398b6
sub eax, ebp
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10008ae0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x20]
push str._sPlugins
push eax
mov byte [esp + 0x4c], 3
call fcn.10004e20
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039902
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push 0
push eax
call edi
mov ecx, esi
call fcn.1002fdb0
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x10098870
call fcn.1002fd90
push eax
lea ecx, [esi + 0x278]
mov byte [esp + 0x44], 4
call fcn.1002f6f0
mov edi, dword [esp + 0x2c]
test edi, edi
mov byte [esp + 0x40], 1
je 0x10039965
mov ebx, dword [esp + 0x30]
cmp edi, ebx
je 0x1003995c
mov ecx, edi
call fcn.10040c60
add edi, 0x8c
cmp edi, ebx
jne 0x10039947
mov edi, dword [esp + 0x2c]
push edi
call fcn.10069196
add esp, 4
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x12c
push 1
push edx
call edi
push 0
push 0x141
mov dword [esi + 0x28c], eax
mov eax, dword [esi + 4]
push 2
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x64
push 7
push ecx
mov dword [esi + 0x290], eax
call edi
mov ecx, esi
mov dword [esi + 0x2ac], eax
call fcn.10038fa0
mov ecx, esi
call fcn.1002eb50
mov ecx, esi
call fcn.1002be10
mov ecx, esi
call fcn.10036000
mov edx, dword [esi + 4]
push 0
push 0
push 0xbd3
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x48]
push 0x10081c54
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 0x22
mov dword [eax + 0x28], str.ToolbarWindow32
mov dword [esp + 0x14], 0
call fcn.10005e50
mov bl, 5
push str.DownloadToolbarTTPL
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.10005e50
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x50]
push eax
push SysReAllocStringLen
mov byte [esp + 0x50], 6
call fcn.1004a4a0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039a56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039a79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10039ae7
mov eax, dword [esi + 0x2f8]
test eax, eax
jne 0x10039ae7
call fcn.1001d2c0
cmp eax, 1
jne 0x10039ae7
mov eax, dword [esp + 0x10]
push str.DownloadToolbarTTPLID
lea ecx, [esp + 0x4c]
mov dword [esi + 0x2f8], eax
call fcn.10005e50
lea ecx, [esp + 0x48]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x48], 7
call fcn.10049f80
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x40], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039ae7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10081c54
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
call fcn.10005e50
mov bl, 8
push str.DownloadToolbarMYIEPL
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.10005e50
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x50]
push edx
push SysReAllocStringLen
mov byte [esp + 0x50], 9
call fcn.1004a4a0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039b54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039b77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10039be5
mov eax, dword [esi + 0x2fc]
test eax, eax
jne 0x10039be5
call fcn.1001d2c0
cmp eax, 1
jne 0x10039be5
mov eax, dword [esp + 0x10]
push str.DownloadToolbarMYIEPLID
lea ecx, [esp + 0x4c]
mov dword [esi + 0x2fc], eax
call fcn.10005e50
lea ecx, [esp + 0x48]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x48], 0xa
call fcn.10049f80
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x40], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039be5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
push 0
push 0x1f4
push 9
push eax
call edi
call fcn.10007bc0
push str.MicrosoftInternet_ExplorerMenuExt
lea ecx, [esp + 0x4c]
call fcn.10005e50
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
push SysReAllocStringLen
mov byte [esp + 0x4c], 0xb
call fcn.1004ab60
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039c46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
push 0
push 0x209
mov byte [esp + 0x48], 0xc
call fcn.10001450
add esp, 8
test eax, eax
je 0x10039c81
push 0x209
push eax
lea ecx, [esp + 0x50]
call fcn.10004800
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5c
mov bl, 0xd
push ebp
mov byte [esp + 0x48], bl
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x10039cb0
or eax, 0xffffffff
jmp 0x10039cb2
sub eax, ebp
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.10008ae0
mov ecx, dword [esp + 0x48]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
mov byte [esp + 0x50], 0xe
call fcn.10004e20
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039d02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x10084238
lea ecx, [esp + 0x28]
call fcn.10005e50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x4c], 0xf
call fcn.1004a820
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039d4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.MicrosoftInternet_ExplorerMenuExt_
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 2
call fcn.10005e50
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x4c], 0x10
call fcn.1004ab60
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039da2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push 0x20a
call fcn.10001450
add esp, 8
test eax, eax
je 0x10039dc4
push 0x20a
push eax
lea ecx, [esp + 0x50]
call fcn.10004800
push 0x5c
push ebp
call fcn.10069f52
add esp, 8
test eax, eax
jne 0x10039dd8
or eax, 0xffffffff
jmp 0x10039dda
sub eax, ebp
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.10008ae0
mov ecx, dword [esp + 0x48]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
mov byte [esp + 0x50], 0x11
call fcn.10004e20
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039e2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x100841c8
lea ecx, [esp + 0x28]
call fcn.10005e50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push SysReAllocStringLen
mov byte [esp + 0x4c], 0x12
call fcn.1004a820
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x40], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039e76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
push 0
push 0x1388
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x1f40
push 0xb
push ecx
mov dword [esi + 0x2b0], eax
call edi
mov dword [esi + 0x2a4], eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10039ec3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x40], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039f09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10039f2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
push 0x80070057
call fcn.10001330
int3