joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004eb60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1004ebb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1004eb9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10055540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008199e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.10055e60
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1008ae4c
call fcn.100737f5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x100555d3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100737f5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x100555cc
push 0
mov ecx, eax
call fcn.1004c6e0
mov dword [esi + 0xc], eax
jmp 0x100555d5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x100555d5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x10075e5b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10075e93
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10073f0f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10073ee7
jmp 0x10075e9f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10077549
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1007758b
call fcn.1007d017
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007758b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10077582
xor eax, eax
jmp 0x10077593
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10077599
pop edi
pop esi
pop ebx
ret 4
Function at 0x401620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c788
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x452550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x635280]
push eax
push str.Nn
call fcn.004015e0
add esp, 8
mov dword [ebp - 0x18], 0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp + 8]
call fcn.004031a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4016ab
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x14]
jmp 0x4016ea
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [0x635280]
push edx
push str.Nn
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403d40
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x401fd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0x128
mov eax, dword [ebp + 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x40206d
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x124]
jne 0x402048
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x124]
jmp 0x402070
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x402017
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004279e7
mov esp, ebp
pop ebp
ret

Function at 0x402080
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], 0x128
mov eax, dword [ebp + 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x402154
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x228]
jne 0x40212f
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea ecx, [ebp - 0x107]
push ecx
call fcn.00429610
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00401fd0
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
jmp 0x402157
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4020cb
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004279e7
mov esp, ebp
pop ebp
ret
Function at 0x402890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ca61
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x118]
call fcn.00403ba0
mov dword [ebp - 4], 0
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.00429610
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x118]
call fcn.004046d0
push 0x448184
lea ecx, [ebp - 0x118]
call fcn.00403890
push 0x448188
lea ecx, [ebp - 0x118]
call fcn.00403890
lea eax, [ebp - 0x138]
push eax
call fcn.00413640
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x134]
push edx
lea ecx, [ebp - 0x118]
call fcn.00403b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00403d40
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea eax, [ebp - 0x118]
push eax
call fcn.004039e0
mov dword [ebp - 0x140], eax
call fcn.00413f50
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x120]
mov dword [ecx], edx
push 0x44818c
lea ecx, [ebp - 0x118]
call fcn.00403890
lea eax, [ebp - 0x128]
push eax
call fcn.00413640
add esp, 4
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x118]
call fcn.00403b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00403d40
push str..ini
lea ecx, [ebp - 0x118]
call fcn.00403890
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.004039e0
mov ecx, dword [ebp - 0x11c]
or ecx, 1
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00403d40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004279e7
mov esp, ebp
pop ebp
ret
Function at 0x402a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.00429610
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x402b09
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp + 8]
call fcn.004046f0
mov eax, dword [ebp - 0x10c]
or eax, 1
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
jmp 0x402b28
push 0x447f0b
mov ecx, dword [ebp + 8]
call fcn.004046f0
mov ecx, dword [ebp - 0x10c]
or ecx, 1
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004279e7
mov esp, ebp
pop ebp
ret

Function at 0x403e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x403e34
xor eax, eax
jmp 0x403eb4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403e4b
xor eax, eax
jmp 0x403eb4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x403e97
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x403e97
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x403e6e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x403ea3
xor eax, eax
jmp 0x403eb4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x403eb1
xor eax, eax
jmp 0x403eb4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4048f0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cb58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x452550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
call fcn.004051d0
mov byte [ebp - 4], 2
push 0x2001f
push 0x44826c
push SysReAllocStringLen
lea ecx, [ebp - 0x18]
call fcn.00404e60
test eax, eax
jne 0x404963
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
call fcn.004031a0
push eax
lea ecx, [ebp + 8]
call fcn.004031a0
push eax
lea ecx, [ebp - 0x18]
call fcn.00404f00
lea ecx, [ebp - 0x18]
call fcn.00405160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004051b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x404c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x404c79
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x404cba
mov eax, dword [ebp - 8]
jmp 0x404d1d
cmp dword [ebp - 0xc], 1
je 0x404ccd
cmp dword [ebp - 0xc], 2
je 0x404ccd
mov eax, 0xd
jmp 0x404d1d
cmp dword [ebp + 0xc], 0
je 0x404d13
cmp dword [ebp - 4], 0
je 0x404d04
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x404cfb
mov edx, dword [ebp - 4]
shr edx, 0
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx - 1]
test ecx, ecx
je 0x404d02
mov eax, 0xd
jmp 0x404d1d
jmp 0x404d13
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
xor eax, eax
jne 0x404d39
cmp dword [ebp + 0xc], 0
je 0x404d4c
mov dword [ebp - 0xc], 1
jmp 0x404d53
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x404d66
mov eax, 0xd
jmp 0x404db5
xor edx, edx
jne 0x404d3d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x404d79
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x404f18
mov dword [ebp - 0xc], 1
jmp 0x404f1f
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x404f25
cmp dword [ebp - 0x14], 0
jne 0x404f39
push 0x80004005
call fcn.004044d0
xor edx, edx
jne 0x404f09
xor eax, eax
jne 0x404f3d
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x404f56
cmp dword [ebp + 0x14], 0xffffffff
jne 0x404f56
mov eax, 0x57
jmp 0x404fcb
cmp dword [ebp + 0x14], 0xffffffff
jne 0x404f8f
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x404f6b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp + 0x14], ecx
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x404fa0
mov dword [ebp - 0x10], 7
jmp 0x404fa7
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4060a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cd58
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x452550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004039e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404140
sub eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.00406350
movsx ecx, al
cmp ecx, 0x5c
je 0x4060fe
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00406d70
lea ecx, [ebp - 0x3c]
call fcn.00406390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403ba0
mov byte [ebp - 4], 2
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x18], 0
jmp 0x40612c
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
lea ecx, [ebp - 0x14]
call fcn.00404140
cmp dword [ebp - 0x18], eax
jge 0x40617f
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406350
movsx ecx, al
cmp ecx, 0x5c
je 0x406167
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00406350
movzx eax, al
push eax
lea ecx, [ebp - 0x20]
call fcn.00406d70
jmp 0x40617d
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004063f0
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00406d70
jmp 0x406123
lea ecx, [ebp - 0x1c]
call fcn.00406500
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00402ef0
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
jmp 0x4061a8
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00406520
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004063c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406550
movzx eax, al
test eax, eax
je 0x4061f2
push 0
lea ecx, [ebp - 0x1c]
call fcn.004031a0
mov ecx, eax
call fcn.004031a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4061e6
mov byte [ebp - 0xd], 1
jmp 0x4061ea
mov byte [ebp - 0xd], 0
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xe], cl
jmp 0x40619a
movzx edx, byte [ebp - 0xe]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00402ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403d40
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x406290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4062f7
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffff
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + 1]
mov byte [ebp - 1], dl
add dword [ebp - 8], 1
cmp byte [ebp - 1], 0
jne 0x4062c4
mov edi, dword [ebp - 8]
mov ecx, 0xa
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x10]
jmp 0x4062f9
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406e60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cdfa
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x452550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.lzrewen_setup
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x406eab
xor eax, eax
jmp 0x406f23
mov ecx, dword [ebp - 0x10]
call fcn.0041e840
push 0x44835c
mov ecx, dword [ebp - 0x10]
call fcn.0041f487
push 0xb4
call fcn.00405fd0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x406ee9
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00405200
mov dword [ebp - 0x1c], eax
jmp 0x406ef0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
push 0
push 0x407
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0x160]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4091e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d07c
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x118]
call fcn.00416cfe
push 1
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x98]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.00405ff0
push 0
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x98]
push eax
mov ecx, dword [ebp - 0x118]
call fcn.00405ff0
lea ecx, [ebp - 0x13c]
call fcn.00408ee0
mov dword [ebp - 4], 0
push 0
push 0x4485fc
push 0xb4
lea ecx, [ebp - 0x13c]
call fcn.00420644
push 1
lea ecx, [ebp - 0x13c]
push ecx
push 0x3ee
mov ecx, dword [ebp - 0x118]
call fcn.0041cf1f
mov ecx, eax
call fcn.00408c60
push 0x447f43
lea ecx, [ebp - 0x120]
call fcn.004046f0
mov byte [ebp - 4], 1
mov byte [ebp - 0x11c], 0
xor edx, edx
mov byte [ebp - 0x11b], dl
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 1
imul edx, ecx, 0
mov eax, 1
imul ecx, eax, 0
mov dl, byte [ebp + edx - 0x114]
mov byte [ebp + ecx - 0x11c], dl
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00404680
mov ecx, dword [ebp - 0x118]
add ecx, 0x9c
push ecx
push str.:Program_Files_
lea edx, [ebp - 0x128]
push edx
call fcn.00403580
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 2
push 0x448604
mov ecx, dword [ebp - 0x144]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.00403740
add esp, 0xc
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x120]
call fcn.00403b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x134]
call fcn.00403d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.00403d40
lea ecx, [ebp - 0x120]
call fcn.004031a0
push eax
push 0x3f3
mov ecx, dword [ebp - 0x118]
call fcn.0041cf1f
mov ecx, eax
call fcn.0041d0f9
push 1
push 0x3f6
mov ecx, dword [ebp - 0x118]
call fcn.0041ced5
mov dword [ebp - 0x130], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.00403d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00408c90
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004279e7
mov esp, ebp
pop ebp
ret