joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d5e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x43d5fc
cmp dword [esi + 4], 0
je 0x43d629
test byte [ebx + 0x55], 1
jne 0x43d61b
mov eax, ebx
call fcn.0043b9c8
test eax, eax
jne 0x43d61b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43d739
mov edx, esi
mov eax, ebx
call fcn.0043cfe8
jmp 0x43d739
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43d732
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f638
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00438df0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043d5e0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043f638
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d739
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4449bc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x459aec]
cmp byte [eax + 0xc], 0
je 0x444b29
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x444b22
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45d544], 0
jne 0x444a10
push 0x444b30
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x444b38
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d544], eax
cmp dword [0x4595cc], 0
jne 0x444b0b
push 0x444b48
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4595cc], eax
cmp dword [0x4595cc], 0
je 0x444b0b
push 0x444b54
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d548], eax
push 0x444b64
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d54c], eax
push 0x444b78
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d550], eax
push 0x444b90
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d554], eax
push 0x444ba8
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d558], eax
push 0x444bbc
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d55c], eax
push 0x444bd4
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d560], eax
push 0x444bec
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d564], eax
push 0x444c08
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d568], eax
push 0x444c14
mov eax, dword [0x4595cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45d56c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444b29
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44a198
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44a1ec]
test si, 4
je 0x44a1ad
or bl, 1
test si, 8
je 0x44a1b7
or bl, 4
test si, 1
je 0x44a1c1
or bl, 8
test si, 2
je 0x44a1cb
or bl, 0x10
test si, 0x10
je 0x44a1d5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a1e4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44a1f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44a22c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a20a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a219
or bl, 4
test esi, 0x20000000
je 0x44a224
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4518e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4518f2
add esp, 0xfffffff0
call fcn.00403b4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419e84
mov eax, dword [0x4597d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x451c84
mov eax, dword [0x4597e0]
mov dword [eax + 4], ebx
mov dword [eax], 0x451c90
mov eax, ebx
call fcn.00451c9c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44d734
push eax
push 0
push 0
mov eax, dword [0x45991c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41d978]
call fcn.0041ee98
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41d978]
call fcn.0041ee98
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41d978]
call fcn.0041ee98
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004520cc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451f9c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451f9c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x451f9c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451a2f
call fcn.00403ba4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x451d80
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451f2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x451f0c
mov dl, 1
mov eax, dword [0x4120a4]
call fcn.00403810
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404654
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x451efb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00444d18
test al, al
je 0x451eee
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x451f3c
lea eax, [ebp - 0x254]
call fcn.004090e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x451eee
xor eax, eax
push ebp
push 0x451ee7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x451f74
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x451ed0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x451ed0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451eee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x451df1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415d84
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451f32
lea eax, [ebp - 0x260]
call fcn.00404654
ret

Function at 0x4528a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45d57c]
cmp byte [eax + 0xad], 0
jne 0x452915
cmp dword [0x45d594], 0
jne 0x4528d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x452860
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45d594], eax
cmp dword [0x45d590], 0
jne 0x4528f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45d590], eax
cmp dword [0x45d598], 0
jne 0x452915
push esp
push 0
push 0
push 0x452804
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45d598], eax
pop edx
ret
Function at 0x452ae8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452aff
add esp, 0xfffffff0
call fcn.00403b4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419e84
mov eax, dword [0x459908]
cmp word [eax + 2], 0
jne 0x452b27
mov eax, dword [0x459908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454598
mov eax, dword [0x4599ac]
cmp word [eax + 2], 0
jne 0x452b41
mov eax, dword [0x4599ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004547a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411c80]
call fcn.00403810
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e154]
call fcn.00423f9c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x452cf8
mov eax, dword [0x459838]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424370
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x454e64
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459838]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c7f0
test eax, eax
je 0x452c48
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408a98
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c824
test eax, eax
je 0x452c5c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x4540f8
call fcn.0041b000
mov dword [ebx + 0xc8], eax
mov eax, dword [0x459744]
cmp byte [eax], 0
jne 0x452cad
mov eax, ebx
call fcn.00452e3c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00455040
mov eax, ebx
call fcn.00455ba0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452ced
call fcn.00403ba4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4530bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45d57c]
cmp dword [eax + 0x30], 0
je 0x453166
cmp dword [ebx + 0x94], 0
jne 0x453160
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45304c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x453160
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x453126
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x453160
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041402c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x453135
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x453e80
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x453eb5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404744
jmp 0x453ec2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455224
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455292
mov eax, esi
call fcn.0043f9d8
test al, al
je 0x455292
mov eax, dword [ebx + 0x84]
call fcn.0043f638
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455292
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x455286
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f638
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00437a64
jmp 0x455292
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00455060
pop esi
pop ebx
ret
Function at 0x401640
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push esi
push edi
push 0
push 0
push 0
push 0
push 0
push str.kduef
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push str.udhk
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, dword [esp + 0xc]
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401670
sub eax, edx
mov edi, eax
xor eax, eax
test edi, edi
jle 0x4016a7
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0x14]
push ebx
push ebp
mov ecx, eax
sub esi, eax
mov ebp, edi
mov bl, byte [esi + ecx]
xor bl, dl
mov byte [ecx], bl
inc ecx
dec ebp
jne 0x401691
pop ebp
pop ebx
mov byte [edi + eax], 0
pop edi
pop esi
ret 0xc
mov ecx, dword [esp + 0x10]
pop edi
mov byte [eax + ecx], 0
pop esi
ret 0xc

Function at 0x4016c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x6c
push esi
push 0
push 0
push 0
push 0
push 0
push str.kduef
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0xc
push 0
push 0x4043f8
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 4]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
push ecx
lea edx, [esp + 0x10]
push 0x4043f4
push edx
call esi
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401726
sub eax, edx
mov dword [esp + 8], eax
jne 0x401758
push str._lock
push str.soft
push 0x4043e0
push 0x4043dc
lea eax, [esp + 0x1c]
push str._s_s_s_s
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor ecx, ecx
test eax, eax
je 0x401783
push eax
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x6c
ret
mov eax, ecx
pop esi
add esp, 0x6c
ret

Function at 0x401790
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x40370b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push str.kduef
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push esi
push str.udhk
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea ecx, [esp + 0x14]
mov edi, 0xffffff9b
mov dword [esp + 0x10], esi
call fcn.00401000
mov ebx, dword [esp + 0x43c]
mov ebp, dword [esp + 0x438]
mov dword [esp + 0x430], esi
test edi, edi
je 0x401820
push 1
push ebx
push 0
lea eax, [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00401040
push 0x1f4
mov edi, eax
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 4
jl 0x4017f5
pop edi
cmp esi, 4
pop esi
pop ebp
pop ebx
lea ecx, [esp + 4]
mov dword [esp + 0x420], 0xffffffff
jne 0x401856
call fcn.00401030
xor eax, eax
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
add esp, 0x424
ret 8
call fcn.00401030
mov ecx, dword [esp + 0x418]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x424
ret 8
Function at 0x401880
Capabilities:
Get common file path

Disassembly:
sub esp, 0x408
push esi
push 0
push 0
push 0
push 0
push 0
push str.kduef
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push str.ymxs
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 8]
push eax
push 0x3f5
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 8]
push ecx
push 0
push 0x4043fc
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, dword [esp + 0x410]
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, esi
pop esi
add esp, 0x408
ret 4
Function at 0x401ef0
Capabilities:
Create process on windows
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov byte [esp + 0x88], 0
mov ecx, 0x40
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00401880
cmp dword [eax + 0x18], 0x10
jb 0x401f33
mov eax, dword [eax + 4]
jmp 0x401f36
add eax, 4
mov ebx, dword [sym.imp.MSVCR71.dll_sprintf]
push eax
lea ecx, [esp + 0x8c]
push 0x40444c
push ecx
call ebx
add esp, 0xc
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0x80
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x88]
push ecx
push edi
mov ecx, esi
call fcn.00401790
test eax, eax
je 0x40204b
lea edx, [esp + 0x88]
push 0
push edx
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x40204b
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov word [esp + 0x50], ax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x190], al
mov dword [esp + 0x1c], eax
mov ecx, 0x40
lea edi, [esp + 0x191]
rep stosd dword es:[edi], eax
push 0x404448
lea ecx, [esp + 0x8c]
push ecx
stosw word es:[edi], ax
lea edx, [esp + 0x198]
push str._s_s
push edx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], 1
stosb byte es:[edi], al
call ebx
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1b0]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402056
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x3e8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x402090
Capabilities:
Clear file content
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
push str.ehsc
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [esp + 4]
push eax
push str.SoftwareAD
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4020dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCR71.dll__time64]
push 0xa
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__ltoa]
lea eax, [esp + 0x18]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402111
sub eax, edx
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 1
push 0
push str.SupperTM
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402148
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x402430
Capabilities:
Resolve dns

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
test eax, eax
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
jle 0x4024b9
mov ebx, dword [esp + 0x18]
lea esp, [esp]
xor ebp, ebp
xor edi, edi
mov esi, dword [ebx + 4]
test esi, esi
jne 0x40245f
xor eax, eax
jmp 0x402477
mov ecx, dword [ebx + 8]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jge 0x40249d
cmp dword [edi + esi + 0x18], 0x10
jb 0x402488
mov esi, dword [edi + esi + 4]
jmp 0x40248c
lea esi, [edi + esi + 4]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4024c3
inc ebp
add edi, 0x1c
jmp 0x402454
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x402450
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc