joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aa10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings5.0CacheContent
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [ebp - 8], 0x100000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40aa42
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.CacheLimit
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40aa3c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x40aa80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00525e90
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x40ab0e
lea eax, [ebp - 0x214]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x40ab00
mov edx, dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x210]
mov edx, dword [ebp - 0x214]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.MacromediaFlash_PlayerSharedObjects
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00523249
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0040a0f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x10
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x40ba70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54b18e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5a4e60]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [0x5a4e60]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
push 0x114
lea eax, [esp + 8]
push 0
push eax
call fcn.00525e90
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 8], 6
jae 0x40bb15
test byte [0x5ae530], 1
jne 0x40bb08
or dword [0x5ae530], 1
mov dword [esp + 0x130], 0
call fcn.004121c0
push 0x54da40
call fcn.005234f6
add esp, 4
mov dword [0x5a6408], esi
mov eax, 1
jmp 0x40bb28
push esi
push 1
call fcn.0040b900
push esi
push 0
call fcn.0040b900
add esp, 0x10
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x40bb60
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x40bbc4
xor eax, eax
cmp ax, word [esi]
je 0x40bbc4
xor ecx, ecx
cmp ecx, 0x57cb84
je 0x40bbc4
push ebx
lea edx, [ebp - 0x640]
push edx
push esi
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x62c], ebx
call fcn.0043566e
test eax, eax
jne 0x40bbd6
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
push edi
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x20c], ax
call fcn.00525e90
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push ebx
push ebx
push 0x19
push ebx
call edi
test eax, eax
js 0x40bce1
push 0x206
lea ecx, [ebp - 0x412]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x414], ax
call fcn.00525e90
add esp, 0xc
lea edx, [ebp - 0x414]
push edx
push ebx
push ebx
push 5
push ebx
call edi
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.0052321b
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
mov edi, eax
call fcn.0052321b
add esp, 0x10
cmp edi, ebx
je 0x40bc9a
cmp eax, ebx
je 0x40bc9a
push 0x57cb84
push eax
lea eax, [ebp - 0x414]
push eax
push str._s_s_s.lnk
mov ecx, eax
xor edx, edx
push 0x104
push ecx
mov word [edi], dx
call fcn.0052350d
add esp, 0x18
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x57cb84
lea eax, [ebp - 0x20c]
push eax
push str._s_s.lnk
mov ecx, eax
push 0x104
push ecx
call fcn.0052350d
add esp, 0x14
push str._Qs2657D
mov edi, 0x57cb84
lea ebx, [ebp - 0x20c]
call fcn.0040bfb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x40bd00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [esi]
je 0x40bd8f
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00525e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40bd8f
push esi
lea ecx, [ebp - 0x20c]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0052350d
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x40bda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
xor eax, eax
push edi
mov edi, ecx
cmp esi, eax
je 0x40becb
xor ecx, ecx
cmp cx, word [esi]
je 0x40becb
cmp edi, eax
je 0x40becb
xor edx, edx
cmp dx, word [edi]
je 0x40becb
push eax
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x438]
push eax
push esi
call fcn.0043566e
test eax, eax
je 0x40becb
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00525e90
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40becb
xor ecx, ecx
cmp ecx, 0x57cb98
je 0x40be8d
push 0x57cb98
lea edx, [ebp - 0x20c]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.0052350d
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00523c87
add esp, 0x18
push edi
lea edx, [ebp - 0x20c]
push edx
push str._s_s.lnk
mov eax, edx
push 0x104
push eax
call fcn.0052350d
add esp, 0x14
push ebx
xor edi, edi
lea ebx, [ebp - 0x20c]
call fcn.0040bfb0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret 4

Function at 0x40bee0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [esi]
jne 0x40bf0a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.00525e90
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40befa
xor ecx, ecx
cmp ecx, 0x57cb98
je 0x40bf6c
push 0x57cb98
lea edx, [ebp - 0x210]
push edx
push str._s_s
mov eax, edx
push 0x104
push eax
call fcn.0052350d
add esp, 0x14
push esi
lea ecx, [ebp - 0x210]
push ecx
push str._s_s.lnk
mov edx, ecx
push 0x104
push edx
call fcn.0052350d
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x40bfb0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test ebx, ebx
jne 0x40bfc2
xor eax, eax
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 4]
push eax
push 0x556f44
push 1
push 0
push 0x57ada8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40bfba
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push 0
push esi
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x57ae08
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x40bfba
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test edi, edi
je 0x40c034
cmp word [edi], 0
je 0x40c034
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 2
push ebx
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x40d160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b308
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5a4e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
cmp esi, edi
je 0x40d1f8
movzx ebx, word [ebp + 8]
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push ebx
push esi
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [ebp - 0x18], eax
cmp eax, edi
jne 0x40d2e0
mov dword [ebp - 0x14], edi
push 0x57d088
push ebx
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x40d20c
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40d1f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x40d244
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d230
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov esi, dword [ecx]
mov ebx, ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esi + 0x10]
push eax
push ebx
call edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0040cf60
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x40d21a
push 0xff00ff
mov ecx, esi
call fcn.0040d300
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x40d2c0
mov ecx, dword [esi + 4]
push 0xffff00ff
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x40d2c0
mov dword [esi + 8], eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40d2e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411790
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x400
push eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x414]
push eax
mov esi, ecx
mov dword [ebp - 0x480], 0x67452301
mov dword [ebp - 0x47c], 0xefcdab89
mov dword [ebp - 0x478], 0x98badcfe
mov dword [ebp - 0x474], 0x10325476
call fcn.00525e90
push 0x57f424
lea ecx, [ebp - 0x484]
push esi
push ecx
call fcn.00523f17
mov eax, dword [ebp - 0x484]
add esp, 0x18
test eax, eax
je 0x4118e5
push eax
push 0x400
lea edx, [ebp - 0x414]
push 1
push edx
call fcn.00525219
add esp, 0x10
test eax, eax
je 0x411863
lea esp, [esp]
lea ecx, [ebp - 0x414]
push ecx
lea esi, [ebp - 0x480]
call fcn.00411900
mov edx, dword [ebp - 0x484]
push edx
push 0x400
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.00525219
add esp, 0x10
test eax, eax
jne 0x411830
lea ecx, [ebp - 0x480]
call fcn.004119b0
mov ecx, dword [ebp - 0x484]
push ecx
call fcn.0052419c
push 0x80
push 0
push edi
call fcn.00525e90
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
xor esi, esi
lea ebx, [ebx]
movzx edx, byte [ebp + esi - 0x428]
push edx
push 0x57f418
lea edx, [ebp - 0x14]
call fcn.004121a0
push 8
lea eax, [ebp - 0x14]
push eax
push 0x40
push edi
call fcn.00525236
inc esi
add esp, 0x18
cmp esi, 0x10
jl 0x4118a0
push edi
call fcn.0052530c
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x4121c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x57f42c]
mov edx, dword [0x57f430]
xor eax, eax
push 0x114
push eax
mov dword [0x5ae4f4], eax
mov dword [0x5ae4f8], eax
mov dword [0x5ae4fc], eax
mov dword [0x5ae500], ecx
mov ecx, dword [0x57f434]
mov dword [0x5ae504], edx
mov edx, dword [0x57f438]
lea eax, [ebp - 0x118]
push eax
mov dword [0x5ae508], ecx
mov dword [0x5ae50c], edx
call fcn.00525e90
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x412261
call fcn.00412370
mov eax, 0x5ae4f4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
call fcn.0053c6e0
call fcn.0053c970
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.0053d1c0
push 0x412450
push 0x5ae4d4
call fcn.0053d280
push 0x412490
push 0x5ae4d0
call fcn.0053d280
push 0x4124d0
push 0x5a640c
call fcn.0053d280
call fcn.0053cbd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5ae4f4
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x412840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
call fcn.0040e4f0
push str.Hr_g
mov esi, edi
mov dword [edi + 0x9c], 0x1e
mov dword [edi + 0xac], 4
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
call fcn.0040e360
mov ecx, dword [0x5ad4d4]
push 0
push 0
push 0x84
call fcn.0040d160
mov ecx, dword [0x5ad4d4]
add esp, 4
push 1
push 0
push 0x83
mov esi, eax
call fcn.0040d160
add esp, 4
push eax
xor edx, edx
mov ecx, esi
call fcn.0040e610
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.00421005
push eax
mov ecx, edi
call fcn.004208b9
mov eax, dword [edi + 0x20]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x5ad4d4]
push 0x99
call fcn.0040d160
mov ecx, dword [0x5ad4d4]
add esp, 4
push 0x98
mov dword [esp + 0x10], eax
call fcn.0040d160
mov ecx, dword [esp + 0x10]
add esp, 4
lea esi, [edi + 0x4ac]
call fcn.004103a0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x412a70
push 0
push 0
call esi
push 0
push 0
push edi
push 0x412a10
push 0
push 0
mov dword [edi + 0xb58], eax
call esi
mov dword [edi + 0xb5c], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412970
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
mov eax, dword [esi + 0xb5c]
push 0
push eax
call edi
mov ecx, dword [esi + 0xb58]
push 0
push ecx
call edi
mov edx, dword [esi + 0xb58]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0xb5c]
push eax
call edi
mov ecx, dword [esi + 0xb60]
push ecx
call fcn.0052419c
mov eax, dword [esi + 0xb70]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 4
test eax, eax
je 0x4129ca
push eax
call edi
mov eax, dword [esi + 0xb6c]
test eax, eax
je 0x4129d7
push eax
call edi
mov eax, dword [esi + 0xb68]
test eax, eax
je 0x4129e4
push eax
call edi
pop edi
mov dword [esi + 0xb70], 0
mov dword [esi + 0xb6c], 0
mov dword [esi + 0xb68], 0
mov ecx, esi
pop esi
jmp fcn.00424e85
Function at 0x4136a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54bb98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a4e60]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x5a4e60]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x10]
call fcn.00404770
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov ecx, 0x5ae4cc
mov dword [esp + 0x34], esi
call fcn.004040b0
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5ad1d4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [esp + 0x14], 0x1e
mov eax, 4
add dword [esp + 0x10], eax
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
call fcn.00429356
cmp eax, esi
je 0x41376c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41376e
xor eax, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
push 1
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, edi
push ecx
push edx
push edi
mov ecx, eax
call fcn.00426413
call fcn.00429356
cmp eax, esi
je 0x4137a3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x4137a5
xor eax, eax
push 5
mov ecx, eax
call fcn.00426453
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00523022
mov esp, ebp
pop ebp
ret 4
Function at 0x413f00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b2d3
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x5a4e60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp eax, 0x100
je 0x413f48
cmp eax, 0x104
jne 0x413fc9
cmp dword [esi + 0xc], 0x112f
je 0x413fc9
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor edi, edi
call ebx
shr eax, 8
test al, al
je 0x413f69
mov edi, 2
push 0x10
call ebx
shr eax, 8
test al, al
je 0x413f77
or edi, 4
push 0x12
call ebx
shr eax, 8
test al, al
je 0x413f85
or edi, 1
mov eax, dword [esi + 8]
cmp eax, dword [0x5a63f8]
jne 0x413fc6
cmp edi, dword [0x5a63fc]
jne 0x413fc6
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push ecx
push eax
mov eax, dword [0x5ad1d4]
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 4]
cmp eax, 0x102
jne 0x414071
movzx ecx, word [esi + 8]
cmp ecx, 4
jne 0x414071
mov edx, dword [esi + 0xc]
and edx, 0xffff0000
cmp edx, 0x200000
jne 0x414071
mov eax, dword [0x5ad1d4]
push eax
call fcn.00421005
push eax
push ecx
mov dword [ebp + 8], esp
mov ecx, esp
push 0x5ae4cc
call fcn.00403ee0
push ecx
mov dword [ebp - 0x10], esp
mov ecx, esp
push 0x5ae4c8
mov dword [ebp - 4], 0
call fcn.00403ee0
lea ecx, [ebp - 0xac]
or esi, 0xffffffff
push ecx
mov dword [ebp - 4], esi
call fcn.0041a840
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 1
call fcn.0042557a
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], esi
call fcn.0041a9c0
lea eax, [esi + 2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x100
jne 0x4140ec
mov ecx, 0x74
cmp dword [esi + 8], ecx
jne 0x4140ec
cmp dword [0x5a63f0], ecx
jne 0x414093
cmp dword [0x5a63f4], 0
je 0x4140a4
cmp dword [0x5a6400], ecx
jne 0x4140b1
cmp dword [0x5a6404], 0
jne 0x4140b1
cmp dword [esi + 0xc], 0x112f
jne 0x413fad
cmp dword [0x5ad1cc], 0
je 0x4140d3
call fcn.0040a810
mov edx, dword [0x5ad1cc]
mov eax, dword [edx + 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push eax
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x112
jne 0x41410f
cmp dword [esi + 8], 0xf060
jne 0x41410f
mov eax, dword [edi + 0x20]
push 0
push 0x82
push 5
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push esi
mov ecx, edi
call fcn.0043be3a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4