joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d4d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426fdc
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4430f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x216]
push ebx
push eax
mov word [ebp - 0x218], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push 0x5c
push edx
call dword [sym.imp.MSVCR80.dll_wcsrchr]
mov word [eax + 2], bx
mov eax, dword [0x4453cc]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x4453cc
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
push 0x4361c8
lea edi, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call fcn.00402350
add esp, 8
cmp byte [ebp + 8], bl
mov ecx, edi
lea edx, [ebp - 0x220]
push ecx
push edx
je 0x41d5a5
mov ebx, str.BaiduAnTray.exe
call fcn.00404c20
mov eax, dword [eax]
add esp, 8
push 4
push 0
push 0
push eax
push 0x4361f0
jmp 0x41d5c0
mov ebx, str.BaiduAn.exe
call fcn.00404c20
mov eax, dword [eax]
add esp, 8
push 4
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410d2a
mov esp, ebp
pop ebp
ret 4

Function at 0x420b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4430f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
push 2
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x420be5
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x420bde
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea ecx, [ecx]
push str.KSafeSvc.exe
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
je 0x420bdb
push str.KSafeTray.exe
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
je 0x420bdb
push str.kxetray.exe
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x420bdb
push str.kxescore.exe
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
je 0x420bdb
lea edx, [ebp - 0x230]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x420b80
jmp 0x420bdd
mov bl, 1
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00410d2a
mov esp, ebp
pop ebp
ret
Function at 0x420c00
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4430f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
push 2
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x420c91
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x420c8a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esp, [esp]
push str.360tray.exe
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
je 0x420c87
push str.zhudongfangyu.exe
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
je 0x420c87
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x420c50
jmp 0x420c89
mov bl, 1
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00410d2a
mov esp, ebp
pop ebp
ret

Function at 0x421430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4430f4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edi
mov eax, 0x65
push 0x22c
mov word [ebp - 0xc], ax
mov word [ebp - 8], ax
lea eax, [ebp - 0x248]
push 0
push eax
mov word [ebp - 0x18], 0x33
mov word [ebp - 0x16], 0x36
mov word [ebp - 0x14], 0x30
mov word [ebp - 0x12], 0x72
mov word [ebp - 0x10], 0x70
mov word [ebp - 0xe], 0x2e
mov word [ebp - 0xa], 0x78
mov word [ebp - 6], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x248], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42150c
lea ecx, [ebp - 0x248]
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42150c
mov edi, dword [sym.imp.MSVCR80.dll__wcsicmp]
jmp 0x4214e0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x224]
push eax
call edi
add esp, 8
test eax, eax
je 0x42151e
lea ecx, [ebp - 0x248]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4214e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410d2a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00410d2a
mov esp, ebp
pop ebp
ret

Function at 0x421840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov byte [eax + 0x18], 0
call fcn.00421060
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp dword [ebp + 8], 0
je 0x421871
test eax, eax
je 0x42187a
push 0
call fcn.00421060
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 4
test eax, eax
jne 0x42187a
call fcn.004216f0
xor eax, eax
pop ebp
ret 4
Function at 0x421cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426ea2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4430f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4453cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4453cc
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
jge 0x421d37
mov ecx, 0x105
lea eax, [ebp - 0x10]
call fcn.00401ff0
mov esi, dword [ebp - 0x10]
push 0x105
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
jne 0x421d4d
xor eax, eax
jmp 0x421d67
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421d52
sub eax, edx
sar eax, 1
js 0x421e58
cmp eax, dword [esi - 8]
jg 0x421e58
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
mov eax, dword [0x4453cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4453cc
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x447b38]
test eax, eax
jne 0x421dca
push 0x28
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x421db1
mov dword [eax], 0
jmp 0x421db3
xor eax, eax
push 0x4011f0
mov dword [0x447b38], eax
call fcn.00410cc1
mov eax, dword [0x447b38]
add esp, 4
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 4]
push 1
push ecx
push edx
push edi
push eax
push str.DisplayType_d_VersionUpdate_d_ModuleUpdate_d_UpdateSource_d_UpdateStep_d
lea edi, [ebp - 0x14]
call fcn.00402350
mov edi, dword [ebp - 0x14]
add esp, 0x18
push 1
push 0
push edi
push esi
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421e45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401770
int3
Function at 0x422bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x427445
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4430f4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x3f8]
push 0x1600d
lea esi, [esp + 0x14]
call fcn.0041fc20
mov dword [esp + 0x50], 0
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
mov esi, eax
mov dword [esp + 0x50], 0xffffffff
mov eax, dword [esp + 0x10]
test eax, eax
je 0x422c3e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x422c4b
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [edi + 0x3f8]
cmp dword [ebx + 0x18], 8
jb 0x422c5c
mov ecx, dword [ebx + 4]
jmp 0x422c5f
lea ecx, [ebx + 4]
push 0
call fcn.0041fb80
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x1c], 6
je 0x422d41
mov edi, dword [0x447b3c]
test edi, edi
jne 0x422c9e
call fcn.004014c0
push 0x401490
mov dword [0x447b3c], eax
call fcn.00410cc1
mov edi, dword [0x447b3c]
add esp, 4
cmp dword [edi + 0x28], 2
jne 0x422d2a
call fcn.0041f930
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x422cbf
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
test ebx, ebx
mov eax, 1
mov dword [esp + 0x50], eax
je 0x422d46
cmp dword [0x447b3c], 0
jne 0x422cec
call fcn.004014c0
push 0x401490
mov dword [0x447b3c], eax
call fcn.00410cc1
add esp, 4
mov eax, dword [0x447b3c]
add eax, 0x90
mov esi, eax
mov ecx, 0xc
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edi, eax
mov ecx, 0xc
lea esi, [esp + 0x14]
mov dword [esp + 0x3c], 0x6d
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x50], 0xffffffff
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
jmp 0x422d41
push 4
call fcn.0041db50
mov eax, dword [0x4457c4]
test eax, eax
je 0x422d41
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4244a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4274d6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4430f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 8]
lea eax, [ebp - 0x10]
push eax
push 0
push ecx
push 0x424440
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4244ed
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041f930
mov esi, eax
test esi, esi
mov dword [ebp - 0x14], esi
je 0x424503
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
test esi, esi
mov dword [ebp - 4], 0
jne 0x424520
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push esi
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424550
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d5b8
push 0x4262c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x164], bl
push 0x104
push ebx
lea eax, [ebp - 0x163]
push eax
call sub.MSVCR80.dll_memset
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x16c], ebx
push 0xffffffffffffffff
push str.6BE417DD_264A_4678_A036_74D2173ECCEB
push 0x104
lea ecx, [ebp - 0x374]
push ecx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x1c
cmp dword [ebp - 0x16c], ebx
jne 0x4245e6
lea edx, [ebp - 0x374]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x16c], eax
cmp eax, ebx
je 0x4245e6
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x164]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x30
push ebx
lea edx, [ebp - 0x58]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.imagehlp.dll_MapAndLoad]
cmp eax, ebx
je 0x4246e2
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x37], bl
jne 0x42467b
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax + 0x18]
cmp cx, 0x10b
jne 0x42464b
add eax, 0x98
jmp 0x424657
cmp cx, 0x20b
jne 0x42467b
add eax, 0xa8
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x50]
lea ecx, [esi + edi]
mov dword [ebp - 0x28], ecx
lea edx, [eax + 8]
cmp edx, ecx
ja 0x424678
mov ecx, dword [eax + 4]
mov edx, dword [eax]
lea ebx, [edx + ecx]
cmp ebx, esi
jbe 0x424684
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x4246d8
xor ebx, ebx
cmp edx, ebx
je 0x424678
cmp ecx, ebx
je 0x424678
mov eax, edx
add eax, edi
lea esi, [ecx + eax]
mov edx, 0x100
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
cmp eax, esi
jae 0x42467b
cmp edx, ebx
jle 0x42467b
lea ecx, [eax + 0xc]
cmp ecx, edi
ja 0x424678
mov ecx, dword [eax]
cmp ecx, ebx
je 0x424678
cmp ecx, 0xffffffff
je 0x424678
lea eax, [ecx + eax + 7]
and eax, 0xfffffff8
sub edx, 1
jmp 0x42469d
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov eax, dword [ebp - 0x16c]
cmp eax, ebx
je 0x424700
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebp
lea eax, [esp + 8]
push eax
xor ebp, ebp
push 0x20019
push ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
call fcn.0041bda0
add esp, 0xc
test eax, eax
je 0x424901
mov ecx, dword [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 8]
push edx
push ebp
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push ecx
call edi
cmp dword [esp + 0x10], 1
jne 0x424900
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x424900
push esi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebp
je 0x4248ff
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
push ecx
call edi
test eax, eax
jne 0x4248f0
mov edx, dword [esp + 0x24]
cmp edx, ebp
mov ecx, dword [esp + 0xc]
je 0x4248eb
mov eax, dword [edx]
lea edi, [eax - 1]
cmp ecx, edi
ja 0x4248eb
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push esi
push eax
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
add esp, 0x10
mov dword [esp + 0x18], 1
jmp 0x4248f0
add ecx, 1
mov dword [edx], ecx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
mov eax, dword [esp + 8]
cmp eax, ebp
pop ebp
je 0x424911
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret
Function at 0x424eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x426bc7
mov eax, dword fs:[0]
push eax
mov eax, 0x2010
mov dword fs:[0], esp
call fcn.004262d0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x28
mov dword [esp + 0x20], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x2028], ebp
je 0x424f10
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov byte [esp + 0x2028], 1
mov dword [esi + 0x20], ebp
call fcn.004178b0
jmp 0x424f12
xor esi, esi
mov dword [esp + 0x2028], 0xffffffff
mov eax, dword [esi + 0x20]
cmp eax, ebp
mov dword [esp + 0x14], esi
je 0x424f34
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esi + 0x20], ebp
mov edi, dword [esp + 0x2030]
push edi
mov ecx, esi
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x24], ebp
call dword [0x42e210]
mov ebx, dword [ebx + 0x50]
cmp ebx, ebp
je 0x424fb2
push 0x1ffe
lea eax, [esp + 0x26]
push ebp
push eax
mov word [esp + 0x2c], bp
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x1000
jb 0x424f80
mov edi, dword [edi + 4]
jmp 0x424f83
add edi, 4
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424fb2
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00417850
mov esi, dword [esp + 0x1c]
add esi, 8
lea ebx, [esp + 0x14]
call fcn.00409ef0
mov ecx, dword [esp + 0x2020]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x201c
ret 4
Function at 0x401d4a
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [0x418714], 0
mov eax, dword [0x418714]
mov ebx, 0xffffffff
push ebx
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov dword [0x418ebf], eax
mov dword [0x418174], 0
mov eax, dword [0x418174]
lea edx, [edx + 0x418977]
add dword [0x4195a1], edx
sub edx, eax
shr edx, 1
add edx, eax
mov ecx, edx
add ecx, 0x94e
add dword [0x418b51], ecx
ror ecx, 2
shr ecx, 1
sub ecx, eax
add dword [0x418e06], ecx
call fcn.00402f28
mov dword [0x41818c], eax
push 0x2547545c
pop edi
push edi
mov esi, 0x1eeae871
mov eax, esi
push eax
mov eax, 0x535b7a47
mov esi, eax
push esi
mov edi, 0x174cf46c
mov ebp, edi
push ebp
push 0x418ab134
pop ebx
push ebx
push 0x21ff1beb
pop eax
push eax
push 0x67cf697b
pop edx
push edx
mov edx, 0x47777e77
push edx
mov esi, 0
mov edi, esi
push edi
push 0x30a185
pop ebx
add ebx, 0x103f1b
push dword [ebx]
pop dword [0x41855f]
mov ebx, dword [0x41855f]
call ebx
mov dword [0x418f49], eax
or eax, eax
je 0x401e19
sub ebp, edi
ret

Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x4010d4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4010e6
mov eax, dword [0x44108b]
shl eax, 2
mov dword [0x44108f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00404f2c
pop edx
call fcn.004042c8
call fcn.00404f30
push 0
call fcn.00406480
pop ecx
push 0x441034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x441093], eax
push 0
jmp fcn.0040cb8c

Function at 0x40161c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
mov eax, dword [0x490c21]
mov edx, dword [0x490c29]
lea ecx, [ebp - 0x224]
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x490c25]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [0x490c2d]
mov dword [0x4aad38], 1
mov dword [ebp - 0x18], edx
push 0x208
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x224]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401760
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov edi, eax
push 2
push 0
push 0xfffffffffffffff8
push ebx
call sub.KERNEL32.DLL_SetFilePointer
lea eax, [ebp - 4]
push 0
push eax
lea edx, [ebp - 0x14]
push 8
push edx
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4016cb
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401762
push 8
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0xc]
push ecx
call fcn.004054a4
add esp, 0xc
test eax, eax
je 0x4016e5
xor eax, eax
jmp 0x401762
push 2
push 0
push 0xfffffffffffffff4
push ebx
call sub.KERNEL32.DLL_SetFilePointer
push 0
lea edx, [ebp - 4]
push edx
push 4
push esi
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40170e
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401762
push 4
push 0x1000
mov edx, dword [esi]
push edx
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [0x49016c], eax
mov eax, edi
sub eax, dword [esi]
sub eax, 0xc
push 0
push 0
push eax
push ebx
call sub.KERNEL32.DLL_SetFilePointer
lea edx, [ebp - 4]
push 0
push edx
mov eax, dword [0x49016c]
mov ecx, dword [esi]
push ecx
push eax
push ebx
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x401759
push ebx
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
jmp 0x401762
mov eax, 1
jmp 0x401762
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret