joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0xf09820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43a638
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push esi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00482551
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43a6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xf09820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push eax
push str.open
push 0
mov dword [ebp - 0x214], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43a7ba
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
push str..htm
push 0x80000000
call fcn.0043a5c0
test eax, eax
jne 0x43a7e1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x20c]
push str._shellopencommand
push eax
call ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
push eax
push 0x80000000
call fcn.0043a5c0
test eax, eax
jne 0x43a7cc
lea eax, [ebp - 0x20c]
push str.__1_
push eax
call sub.VCRUNTIME140.dll_strstr
mov esi, eax
add esp, 8
test esi, esi
jne 0x43a792
lea eax, [ebp - 0x20c]
push 0x49cb48
push eax
call sub.VCRUNTIME140.dll_strstr
mov esi, eax
add esp, 8
test esi, esi
jne 0x43a792
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x20d]
jmp 0x43a795
mov byte [esi], 0
push 0x4978fc
push esi
call ebx
push dword [ebp - 0x210]
push esi
call ebx
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482551
mov esp, ebp
pop ebp
ret 8
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482551
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00482551
mov esp, ebp
pop ebp
ret 8
Function at 0x44dc70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push 2
push 0
push ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x44dd1e
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
js 0x44dd1e
jne 0x44dcae
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push esi
call sub.mfc140.dll_Ordinal_265
mov edi, eax
add esp, 4
test edi, edi
jne 0x44dcca
lea eax, [edi - 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push ebx
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x1c
cmp eax, esi
je 0x44dcfe
push edi
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0044db20
push edi
mov esi, eax
call sub.mfc140.dll_Ordinal_266
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x455a00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492827
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0xf09820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00455990
test eax, eax
jne 0x455a43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call sub.mfc140.dll_Ordinal_2200
add esp, 4
mov ecx, edi
push str.Local_AppWizard_Generated_Applications
call sub.mfc140.dll_Ordinal_13830
push 4
mov ecx, edi
call sub.mfc140.dll_Ordinal_8421
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0xf0c218
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call sub.gdiplus.dll_GdiplusStartup
push 0x80
push 0xe
push 0x80
call sub.mfc140.dll_Ordinal_2210
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
lea ecx, [ebp - 0x4c]
mov dword [edi + 0xd0], eax
call sub.mfc140.dll_Ordinal_366
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call sub.mfc140.dll_Ordinal_11972
push dword [ebp - 0x48]
call fcn.00455d60
push 0x410
call sub.mfc140.dll_Ordinal_1507
add esp, 8
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x455af1
mov ecx, eax
call fcn.0043b4a0
mov esi, eax
jmp 0x455af3
xor esi, esi
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0xcf8000
push 0x80
mov byte [ebp - 4], 0
call dword [eax + 0x170]
test eax, eax
jne 0x455b17
xor esi, esi
jmp 0x455b1f
mov dword [edi + 0x20], esi
mov esi, 1
lea ecx, [ebp - 0x4c]
call sub.mfc140.dll_Ordinal_1070
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46dc30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494008
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0xf09820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
call sub.mfc140.dll_Ordinal_450
mov dword [esi], vtable.CMemDC1.0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], vtable.CBitmap.0
lea ecx, [esi + 0x20]
xor eax, eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x46dcc7
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x58]
jmp 0x46dccd
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
cmp dword [esi + 0x30], 0
je 0x46dd9c
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.mfc140.dll_Ordinal_2518
push 2
lea eax, [esi + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call sub.mfc140.dll_Ordinal_2520
lea eax, [esi + 0x10]
test eax, eax
je 0x46dd21
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call sub.mfc140.dll_Ordinal_13011
mov dword [esi + 0x18], eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call sub.mfc140.dll_Ordinal_13619
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x50]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x48]
push 2
lea eax, [esi + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_DPtoLP]
push dword [esi + 0x24]
lea eax, [ebp - 0x20]
mov ecx, esi
push dword [esi + 0x20]
push eax
call sub.mfc140.dll_Ordinal_14044
jmp 0x46ddae
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
lea eax, [esi + 0x20]
mov ecx, esi
push eax
call sub.mfc140.dll_Ordinal_4640
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x46ee00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0xf09820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x10c]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push edx
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x46ee81
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push edi
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x108]
mov ecx, eax
sub esi, ecx
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x46ee66
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00482551
mov esp, ebp
pop ebp
ret
Function at 0x46eeb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xf09820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x210], eax
test ebx, ebx
je 0x46f040
cmp byte [ebx], 0
je 0x46f040
cmp dword [ebp + 0x10], 0
mov ecx, 0x4a4890
push esi
push eax
push 0
push 0
push ebx
mov eax, str.open
cmovne eax, ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46f02e
lea eax, [ebp - 0x20c]
push eax
push str..htm
push 0x80000000
call fcn.0046ee00
add esp, 0xc
test eax, eax
jne 0x46f02e
lea ecx, [ebp - 0x20c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x46ef35
mov eax, dword [str._shellopencommand]
mov dword [ecx], eax
mov eax, dword [0x49cb30]
mov dword [ecx + 4], eax
mov eax, dword [0x49cb34]
mov dword [ecx + 8], eax
mov eax, dword [0x49cb38]
mov dword [ecx + 0xc], eax
mov eax, dword [0x49cb3c]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x20c]
push eax
push eax
push 0x80000000
call fcn.0046ee00
add esp, 0xc
test eax, eax
jne 0x46f02e
lea eax, [ebp - 0x20c]
push str.__1_
push eax
call sub.VCRUNTIME140.dll_strstr
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x46efd2
lea eax, [ebp - 0x20c]
push 0x49cb48
push eax
call sub.VCRUNTIME140.dll_strstr
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x46efd2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46efc0
sub ecx, edx
lea ecx, [ebp + ecx - 0x20d]
jmp 0x46efd5
mov byte [ecx], 0
push edi
lea edi, [ecx - 1]
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x46efe0
mov ax, word [0x4978fc]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x46eff5
sub ebx, esi
dec ecx
nop
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46f000
mov edi, ecx
lea eax, [ebp - 0x20c]
push dword [ebp - 0x210]
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482551
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x24
xor ecx, ebp
pop ebx
call fcn.00482551
mov esp, ebp
pop ebp
ret
Function at 0x475620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0xf09820]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 3
push eax
mov dword [ebp - 0x118], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x475691
cmp dword [ebp - 0x108], 1
jne 0x47566a
cmp dword [ebp - 0x110], 0
je 0x475691
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482551
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x120]
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47570b
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4756ff
push 0xa
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.00482551
mov esp, ebp
pop ebp
ret
Function at 0x483a84
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x483ac3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x483ac3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x483ac3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x483ac3
cmp dword [ecx + 0x74], 0xe
jbe 0x483ac3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401130
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4192b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x421030]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x30]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
mov dword [esp + 0x44], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x401242
call fcn.00401310
test eax, eax
jl 0x401295
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x4011b9
call fcn.00401310
test eax, eax
jl 0x40128a
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
ja 0x4011c9
cmp esi, 0xc
jbe 0x40128a
push esi
call fcn.0040a962
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
test ebp, ebp
mov byte [esp + 0x28], 1
je 0x40124d
mov ecx, ebp
lea edx, [esp + 0x10]
call fcn.004012d0
test eax, eax
jl 0x40124d
test edi, edi
je 0x401201
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x34]
push edx
mov edx, esi
mov ecx, ebp
call section..text
add esp, 4
push ebp
mov esi, eax
mov byte [esp + 0x2c], 0
call fcn.0040a967
add esp, 4
test edi, edi
je 0x40122d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
mov edi, eax
mov dword [esp + 0x10], edi
jmp 0x401191
test edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x401260
push edi
call esi
xor edi, edi
mov dword [esp + 0x10], edi
push ebp
mov byte [esp + 0x2c], 0
call fcn.0040a967
add esp, 4
test edi, edi
je 0x401295
push edi
call esi
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
test edi, edi
je 0x401295
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret

Function at 0x401350
Capabilities:
Write file on windows

Disassembly:
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401372
call fcn.00401310
ret 4
xor eax, eax
ret 4
Function at 0x401400
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x421030]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x42381c], bl
mov dword [esp + 4], 0
jne 0x401454
mov eax, dword [0x422b74]
mov edx, dword [eax + 0xc]
or dword [0x42381c], ebx
mov ecx, 0x422b74
call edx
add eax, 0x10
push 0x419c30
mov dword [0x423818], eax
call fcn.0040aa90
add esp, 4
mov eax, dword [0x423818]
cmp dword [eax - 0xc], 0
jne 0x4014b1
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.0040bb20
add esp, 0xc
push ebx
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401491
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x423818
call fcn.00401eb0
mov eax, dword [0x423818]
add eax, 0xfffffff0
call fcn.00401e40
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.0040a953
add esp, 0x214
ret

Function at 0x4014e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x421030]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x423814], bl
mov dword [esp + 4], 0
jne 0x401534
mov eax, dword [0x422b74]
mov edx, dword [eax + 0xc]
or dword [0x423814], ebx
mov ecx, 0x422b74
call edx
add eax, 0x10
push 0x419c60
mov dword [0x423810], eax
call fcn.0040aa90
add esp, 4
mov eax, dword [0x423810]
cmp dword [eax - 0xc], 0
jne 0x401591
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.0040bb20
add esp, 0xc
push ebx
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401571
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x423810
call fcn.00401eb0
mov eax, dword [0x423810]
add eax, 0xfffffff0
call fcn.00401e40
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.0040a953
add esp, 0x214
ret
Function at 0x402110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402127
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402158
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x402154
cmp esi, eax
jae 0x402158
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x402144
cmp esi, eax
jb 0x40215e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x402400
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push ebp
mov ebp, dword [esp + 8]
je 0x402533
test ebp, ebp
jle 0x402533
push esi
or esi, 0xffffffff
cmp ebp, 8
jl 0x402504
push edi
mov edi, ebp
shr edi, 3
mov eax, edi
neg eax
lea ebp, [ebp + eax*8]
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x41bd10]
add ecx, 1
sub edi, 1
mov esi, eax
jne 0x402430
pop edi
test ebp, ebp
je 0x40252c
jmp 0x402510
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x41bd10]
add ecx, 1
sub ebp, 1
jne 0x402510
mov eax, esi
pop esi
not eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402f50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [esi + 4]
push 0x3ea
push eax
call edi
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x48], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 1
push ecx
call edi
mov edx, dword [esi + 4]
push 2
push edx
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
call fcn.00403470
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
push 0x3f1
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
push edx
call ebx
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call ebx
test eax, eax
je 0x402fe2
lea ecx, [esp + 0x18]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push 0
sub edx, eax
push edx
mov edx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4030f0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x54]
cmp eax, 1
jne 0x403133
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [esi + 0x54], 3
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403130
mov ecx, dword [esi + 4]
push ecx
call edi
push 0
push 0
push 0x2b11
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
ret
cmp eax, 2
jne 0x4031a8
mov edx, dword [esi + 0x3c]
cmp dword [edx - 0xc], 0
je 0x4031a8
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
push ebx
lea ebx, [esi + 0x20]
mov ecx, ebx
call edx
mov eax, dword [esi + 0x44]
test eax, eax
je 0x403163
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x40]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x403195
call fcn.00401310
jmp 0x403198
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x3c]
call fcn.00403600
mov dword [esi + 0x54], 0
pop ebx
call fcn.00403470
pop esi
ret