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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x4499e5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x449a1a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x449a0a
mov eax, dword [ebp - 4]
call fcn.004480a4
test eax, eax
jne 0x449a0a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x449b44
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00449398
jmp 0x449b44
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x449b3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0044c208
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.004453d8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004499c4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0044c208
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449b44
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x451e24
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x497f38]
cmp byte [eax + 0xc], 0
je 0x451f96
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x451f8f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x498bbc], 0
jne 0x451e7d
push 0x451f9c
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x451fa4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bbc], eax
cmp dword [0x496b4c], 0
jne 0x451f78
push 0x451fb4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x496b4c], eax
cmp dword [0x496b4c], 0
je 0x451f78
push 0x451fc0
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bc0], eax
push 0x451fd0
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bc4], eax
push 0x451fe4
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bc8], eax
push 0x451ffc
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bcc], eax
push 0x452014
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bd0], eax
push 0x452028
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bd4], eax
push 0x452040
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bd8], eax
push 0x452058
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498bdc], eax
push 0x452074
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498be0], eax
push 0x452080
mov eax, dword [0x496b4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x498be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451f96
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4566d8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.004044d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x456731
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.0040473c
mov esp, ebp
pop ebp
ret
Function at 0x45fae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x45fb38]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x45fafa
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x45fb04
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x45fb0e
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x45fb18
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x45fb22
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fb32
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x45fb3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45fb80]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fb5d
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fb6d
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x45fb77
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x467a80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x467a92
add esp, 0xfffffff0
call fcn.00403acc
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00421840
mov eax, dword [0x497a80]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x467ff0
mov eax, dword [0x497a90]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x468010
mov eax, dword [ebp - 4]
call fcn.00468030
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4159bc]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4159bc]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x4159bc]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x4159bc]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x4159bc]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x463510
push eax
push 0
push 0
mov eax, dword [0x497c80]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423a20]
call fcn.00425348
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x423a20]
call fcn.00425348
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x423a20]
call fcn.00425348
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.0046857c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4683c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4683c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4683c8
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x467c1a
call fcn.00403b24
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x468180
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46834b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x468329
mov dl, 1
mov eax, dword [0x415f64]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004044d4
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x468312
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004521c4
test al, al
je 0x468306
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x46835c
lea eax, [ebp - 0x25c]
call fcn.00409984
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x468306
xor eax, eax
push ebp
push 0x4682ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x468394
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4682e8
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.0040473c
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4682e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.0040473c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468306
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4681f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041b2e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468352
lea eax, [ebp - 0x268]
call fcn.004044d4
ret
Function at 0x468e84
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x498c00]
cmp byte [eax + 0xa5], 0
jne 0x468efb
cmp dword [0x498c18], 0
jne 0x468eb9
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x468e40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498c18], eax
cmp dword [0x498c14], 0
jne 0x468ed4
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498c14], eax
cmp dword [0x498c1c], 0
jne 0x468efb
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x468de0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x498c1c], eax
pop ecx
pop ebp
ret

Function at 0x468fc4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00468f5c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x468fe5
xor eax, eax
call fcn.00468f94
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x468fff
mov al, 1
call fcn.00468f94
mov esp, ebp
pop ebp
ret

Function at 0x4696bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x498c00]
cmp dword [eax + 0x30], 0
je 0x469786
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x46977d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x46963c
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x46977d
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469737
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x46977d
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004185d4
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x46974c
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x46a3f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x46a43d
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.004045c4
jmp 0x46a44e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.00404528
mov esp, ebp
pop ebp
ret
Function at 0x46b890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x46b8e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c6d8
test al, al
je 0x46b8e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c208
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b8e3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044c208
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x480bac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404b10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404984
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.0040478c
push eax
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404b10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00480a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c28
lea eax, [ebp - 0xc]
call fcn.004044d4
ret
Function at 0x489aec
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x41501c]
call fcn.00404ee4
xor eax, eax
push ebp
push 0x489c3f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x497834], 0
jne 0x489b42
mov ecx, dword [0x497964]
mov dl, 1
mov eax, dword [0x4079f4]
call fcn.0040c98c
call fcn.00403f34
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.00403034
mov eax, dword [ebp - 4]
call fcn.00404d54
mov dword [ebp - 0x2c], eax
mov esi, 0x489c50
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.0040625c
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00404d64
test eax, eax
jle 0x489bdd
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x489bd4
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.00404754
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.0040473c
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00408940
test eax, eax
jne 0x489bd4
mov dword [ebp - 0x10], 0x15
jmp 0x489be4
mov dword [ebp - 0x10], 0x10
jmp 0x489be4
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x497834]
call fcn.00489a1c
mov eax, dword [ebp - 0x18]
call fcn.00489a1c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00406274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c46
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004044f8
lea eax, [ebp - 0x20]
mov edx, dword [0x41501c]
call fcn.00404fb4
ret
Function at 0x406fa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0xc], esi
das
add eax, 0x406240be
add byte [edx + 0xf303c06], cl
sub byte [ecx], cl
xor eax, dword [eax]
cmp al, 0x39
jg 0x40707d
push 0xfd7cf434
sar edi, 1
adc eax, 0x7515403
sub eax, 0x83c28bf3
leave
call [ebx - 0x40]
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
sub byte [ebp + 0x9b008c], al
push esi
jmp dword [eax + ecx*8 + 0x70003cc1]
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
xchg ebx, eax
ret

Function at 0x408590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [edx + 0x28]
nop
jmp 0x4082a4
movzx ecx, word [edx + 0x26]
nop
jmp 0x4082b9
xor edi, edi
nop
jmp 0x4082c7
jmp 0x4082d1
xor eax, eax
nop
lodsb al, byte [esi]
nop
jmp 0x4082e3
cmp al, 0x61
jl 0x408304
jmp 0x4082f6
nop
sub al, 0x20
jmp 0x408304
jmp 0x408313
ror edi, 0xd
add edi, eax
dec ecx
nop
jmp 0x408329
jne 0x4082c7
jmp 0x40833b
nop
push edx
jmp 0x40834b
mov edx, dword [edx + 0x10]
jmp 0x40835d
push edi
nop
jmp 0x40836f
mov eax, dword [edx + 0x3c]
jmp 0x408383
add eax, edx
nop
jmp 0x408397
mov eax, dword [eax + 0x78]
nop
jmp 0x4083a6
test eax, eax
nop
je 0x408580
nop
jmp 0x4083ba
nop
jmp 0x4083c8
add eax, edx
mov ecx, dword [eax + 0x18]
nop
mov ebx, dword [eax + 0x20]
nop
push eax
add ebx, edx
nop
jmp 0x4083e0
nop
test ecx, ecx
nop
jmp 0x4083f0
je 0x408571
nop
nop
jmp 0x408402
dec ecx
nop
mov esi, dword [ebx + ecx*4]
nop
add esi, edx
nop
jmp 0x40841b
xor edi, edi
nop
xor eax, eax
nop
ror edi, 0xd
nop
lodsb al, byte [esi]
jmp 0x408430
add edi, eax
jmp 0x408440
cmp al, ah
nop
jne 0x40841e
nop
jmp 0x408459
nop
jmp 0x40846d
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
nop
jmp 0x408484
jne 0x4083e0
nop
jmp 0x40849e
pop eax
nop
mov ebx, dword [eax + 0x24]
add ebx, edx
nop
jmp 0x4084b4
mov cx, word [ebx + ecx*2]
jmp 0x4084c9
mov ebx, dword [eax + 0x1c]
add ebx, edx
jmp 0x4084dd
mov eax, dword [ebx + ecx*4]
nop
jmp 0x4084f1
add eax, edx
mov dword [esp + 0x24], eax
jmp 0x40850b
pop ebx
nop
pop ebx
nop
jmp 0x408521
popal
jmp 0x408536
pop ecx
jmp 0x408549
pop edx
nop
push ecx
jmp 0x40855c
jmp eax
jmp 0x40857f
pop eax
jmp fcn.00408590
pop edi
pop edx
mov edx, dword [edx]
jmp 0x4085a1
jmp 0x408294

Function at 0x40877c
Capabilities:
Encode data using xor

Disassembly:
call fcn.00408670
mov ecx, 0x1d8
call 0x40877c
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40877f
mov eax, 0x50402c4
out dx, al
clc
div esi
cmc
retf 0x3d52
Function at 0x401130
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push 0x13
push 4
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x401199
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x143
jge 0x4011ad
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401190
cmp dword [ebp - 4], 0
jbe 0x4011fc
push 0x40
mov eax, 0x1000
push eax
mov ecx, 0x1400
push ecx
push 0
push 0x4010e0
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x28]
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4011f5
push 0
call fcn.004015d1
add esp, 4
mov dword [0x4db138], eax
mov dword [ebp + 8], 0x27
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402881
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417890
cmp edx, dword [eax]
je 0x4028a3
add eax, 8
inc ecx
cmp eax, 0x417920
jl 0x402894
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417890]
jne 0x4029d1
mov eax, dword [0x4db144]
cmp eax, 1
je 0x4029ab
test eax, eax
jne 0x4028d4
cmp dword [0x4177e4], 1
je 0x4029ab
cmp edx, 0xfc
je 0x4029d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40290b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403a70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40294e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403a70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406970
push edi
call fcn.00403b80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403990
lea eax, [ebp - 0xa0]
push 0x406950
push eax
call fcn.00403990
push dword [esi + 0x417894]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403aeb
add esp, 0x2c
pop edi
jmp 0x4029d1
lea eax, [ebp + 8]
lea esi, [esi + 0x417894]
push 0
push eax
push dword [esi]
call fcn.00403a70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret