joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4636a0
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 0x46384b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46382c
mov dl, 1
mov eax, dword [0x417018]
call fcn.004042f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405154
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46381b
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.00455b80
test al, al
je 0x46380e
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, 0x46385c
lea eax, [ebp - 0x254]
call fcn.0040a89c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46380e
xor eax, eax
push ebp
push 0x463807
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 0x463894
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4637f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053c4
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 0x4637f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46380e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463711
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041acf0
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 0x463852
lea eax, [ebp - 0x260]
call fcn.00405154
ret

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

Disassembly:
push ecx
mov eax, dword [0x483cd0]
cmp byte [eax + 0xad], 0
jne 0x464235
cmp dword [0x483cec], 0
jne 0x4641f6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464180
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x483cec], eax
cmp dword [0x483ce8], 0
jne 0x464211
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x483ce8], eax
cmp dword [0x483cf0], 0
jne 0x464235
push esp
push 0
push 0
push 0x464124
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x483cf0], eax
pop edx
ret
Function at 0x464408
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46441f
add esp, 0xfffffff0
call fcn.0040464c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ee44
mov eax, dword [0x47ec30]
cmp word [eax + 2], 0
jne 0x464447
mov eax, dword [0x47ec30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466060
mov eax, dword [0x47ecfc]
cmp word [eax + 2], 0
jne 0x464461
mov eax, dword [0x47ecfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046626c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416bf4]
call fcn.004042f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416bf4]
call fcn.004042f8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416bf4]
call fcn.004042f8
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 [0x4238a0]
call fcn.0042b660
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x464618
mov eax, dword [0x47eb28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ba34
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466940
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47eb28]
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.0040e1e0
test eax, eax
je 0x464568
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a240
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e214
test eax, eax
je 0x46457c
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.004053c4
mov byte [ebx + 0xd4], 0
push ebx
push 0x465b88
call fcn.0041ffd4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x47e9b0]
cmp byte [eax], 0
jne 0x4645cd
mov eax, ebx
call fcn.0046475c
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.00466b18
mov eax, ebx
call fcn.0046767c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46460d
call fcn.004046a4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4649dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x464a7b
cmp dword [ebx + 0x94], 0
jne 0x464a75
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464964
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464a75
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 0x464a3b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464a75
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.00418f98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464a4a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464c94
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x483cd0]
cmp dword [eax + 0x30], 0
je 0x464df1
test bl, bl
jne 0x464d42
cmp dword [esi + 0x9c], 0
jne 0x464d37
mov eax, esi
call fcn.004674f8
push eax
push 0x464bc0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x464d08
mov eax, dword [0x483cd0]
call fcn.00467bd8
test al, al
je 0x464d08
mov eax, dword [0x483cf4]
call fcn.004062ec
mov edi, eax
cmp edi, 0
jl 0x464d08
push 0
mov eax, dword [0x483cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464cf2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464d37
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418f98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464d17
inc dword [esi + 0x9c]
jmp 0x464df1
cmp dword [esi + 0x9c], 0
jle 0x464df1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x464df1
cmp dword [esi + 0x44], 0
je 0x464d9d
mov eax, dword [0x483cd0]
call fcn.00467bd8
test al, al
je 0x464d9d
mov eax, dword [0x483cf4]
call fcn.004062ec
mov edi, eax
cmp edi, 0
jl 0x464d9d
push 5
mov eax, dword [0x483cf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x464d87
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x464dcc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418f98
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x464dac
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x483cf4
mov ecx, 1
mov edx, dword [0x464ba0]
call fcn.004064a0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x465884
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4658ee
mov eax, ebx
call fcn.00467bd8
test al, al
jne 0x4658ee
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.00405244
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4658db
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4658fb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051a8
jmp 0x4658fb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004051a8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x466cfc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466d6a
mov eax, esi
call fcn.0045081c
test al, al
je 0x466d6a
mov eax, dword [ebx + 0x84]
call fcn.0045046c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466d6a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x466d5e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045046c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004483bc
jmp 0x466d6a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00466b38
pop esi
pop ebx
ret
Function at 0x4681d8
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 - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x407f68]
call fcn.00405bec
xor eax, eax
push ebp
push 0x468379
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47e820], 0
jne 0x468233
mov ecx, dword [0x47e9c8]
mov dl, 1
mov eax, dword [0x408714]
call fcn.0040d43c
call fcn.00404b9c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403930
mov eax, ebx
call fcn.00405abc
mov dword [ebp - 0x24], eax
mov esi, 0x468388
lea edi, [ebp - 0x38]
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 - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406b84
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405acc
test eax, eax
jle 0x46831c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x468308
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004053c4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4682ae
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004053dc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4682c4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004053dc
mov eax, dword [ebp - 0x54]
call fcn.004055e4
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004053c4
mov eax, dword [ebp - 0x58]
call fcn.004055e4
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46830a
xor eax, eax
test al, al
je 0x468315
mov ebx, 0x15
jmp 0x468321
mov ebx, 0x10
jmp 0x468321
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47e820]
call fcn.00468058
mov eax, dword [ebp - 4]
call fcn.00468058
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468380
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405178
lea eax, [ebp - 0xc]
mov edx, dword [0x407f68]
call fcn.00405cbc
ret

Function at 0x472fb4
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403930
ret
Function at 0x4733a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x473617
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x47362c
call fcn.00473208
lea eax, [ebp - 0x3f0]
call fcn.00405154
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004055e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4735d8
xor eax, eax
push ebp
push 0x4735d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x47366c
call fcn.00473208
mov eax, dword [ebp - 0x408]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4734a3
push ebp
mov eax, 0x473698
call fcn.004732f8
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x4736a4
call fcn.00473208
mov eax, dword [ebp - 0x40c]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47352d
push dword [ebp - 0x3f0]
push 0x4736cc
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004053c4
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054e8
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x4736d8
call fcn.00473208
mov eax, dword [ebp - 0x414]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4735b7
push dword [ebp - 0x3f0]
push 0x4736cc
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004053c4
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004054e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4735d8
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004051a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47361e
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405178
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405178
ret
Function at 0x4760dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055d4
xor eax, eax
push ebp
push 0x476217
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4761e7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004055e4
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00409f10
test al, al
jne 0x476157
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004036c8
lea eax, [ebp - 0x1d0]
call fcn.00403464
call fcn.0040305c
push dword [0x483e78]
push 0x476230
push dword [0x483e7c]
push 0x476230
push dword [0x483e80]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004054e8
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0047a5a4
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405904
call fcn.00403d84
call fcn.0040305c
lea eax, [ebp - 0x1d0]
call fcn.00403790
call fcn.0040305c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4761f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47621e
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405178
lea eax, [ebp - 4]
call fcn.00405154
ret
Function at 0x4772d8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055d4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x477440
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00476558
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00476578
mov ebx, eax
jmp 0x477412
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004053c4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a03c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004093c0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004093c0
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.0040557c
je 0x4773f2
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004053c4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004093c0
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004093c0
mov edx, dword [ebp - 0x148]
pop eax
call fcn.0040557c
jne 0x477407
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00476598
mov ebx, eax
test ebx, ebx
jne 0x477353
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477447
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405178
lea eax, [ebp - 4]
call fcn.00405154
ret

Function at 0x4778e0
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x484070], eax
push 0x477920
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x484070], eax
mov eax, dword [0x47ecd8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x484074], eax
push 0
mov eax, dword [0x4817f8]
push eax
push 0x477864
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x484078], eax
ret
Function at 0x477b0c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055d4
xor eax, eax
push ebp
push 0x477be6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x477bfc
mov edx, dword [ebp - 4]
call fcn.0040546c
mov eax, dword [ebp - 8]
call fcn.004055e4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x477b56.0
jmp dword [eax*4 + 0x477b5d]
mov eax, ebx
mov edx, 0x477c08
call fcn.004051a8
jmp 0x477bcb
mov eax, ebx
mov edx, 0x477c1c
call fcn.004051a8
jmp 0x477bcb
mov eax, ebx
mov edx, 0x477c2c
call fcn.004051a8
jmp 0x477bcb
mov eax, ebx
mov edx, 0x477c40
call fcn.004051a8
jmp 0x477bcb
mov eax, ebx
mov edx, 0x477c50
call fcn.004051a8
jmp 0x477bcb
mov eax, ebx
mov edx, 0x477c64
call fcn.004051a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477bed
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405178
ret
Function at 0x4239d9
Capabilities:
Set environment variable

Disassembly:
push ebp
push esp
pop ebp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x423a3d
push 0x3d
push dword [ebp + 8]
call fcn.0041c080
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
mov dword [ebp - 8], esi
je 0x423a3d
cmp dword [ebp + 8], esi
je 0x423a3d
mov eax, dword [0x434390]
sub ebx, ebx
cmp byte [esi + 1], bl
sete bl
cmp eax, dword [0x434394]
jne 0x423a23
push eax
call fcn.00423bb8
pop ecx
mov dword [0x434390], eax
cmp eax, edi
jne 0x423a7b
cmp dword [ebp + 0xc], edi
je 0x423a45
cmp dword [0x434398], edi
je 0x423a45
call fcn.004235c2
test eax, eax
je 0x423a7b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp ebx, edi
jne 0x423b59
push 4
call fcn.0041d367
cmp eax, edi
pop ecx
mov dword [0x434390], eax
je 0x423a3d
mov dword [eax], edi
cmp dword [0x434398], edi
jne 0x423a7b
push 4
call fcn.0041d367
cmp eax, edi
pop ecx
mov dword [0x434398], eax
je 0x423a3d
mov dword [eax], edi
sub esi, dword [ebp + 8]
mov edi, dword [0x434390]
mov dword [ebp - 4], edi
push esi
push dword [ebp + 8]
call fcn.00423b60
mov esi, eax
pop ecx
or esi, esi
pop ecx
jl 0x423adb
cmp dword [edi], 0
je 0x423adb
or ebx, ebx
je 0x423ad3
push dword [edi + esi*4]
lea edi, [edi + esi*4]
call fcn.0041d2aa
pop ecx
cmp dword [edi], 0
je 0x423abd
mov eax, dword [edi + 4]
inc esi
mov dword [edi], eax
add edi, 4
jmp 0x423aad
mov eax, esi
shl eax, 2
push eax
push dword [ebp - 4]
call fcn.0041e8e3
pop ecx
test eax, eax
pop ecx
je 0x423b0d
jmp 0x423b08
mov eax, dword [ebp + 8]
mov dword [edi + esi*4], eax
jmp 0x423b0d
test ebx, ebx
jne 0x423b59
test esi, esi
jge 0x423ae5
neg esi
lea eax, [esi*4 + 8]
push eax
push edi
call fcn.0041e8e3
pop ecx
or eax, eax
pop ecx
je 0x423a3d
mov ecx, dword [ebp + 8]
mov dword [eax + esi*4], ecx
and dword [eax + esi*4 + 4], 0
mov dword [0x434390], eax
cmp dword [ebp + 0xc], 0
je 0x423b59
push dword [ebp + 8]
call fcn.00420d10
inc eax
inc eax
push eax
call fcn.0041d367
mov esi, eax
pop ecx
or esi, esi
pop ecx
je 0x423b59
push dword [ebp + 8]
push esi
call fcn.00422cf0
mov eax, esi
pop ecx
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 8]
and byte [eax], 0
inc eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
push esi
call fcn.0041d2aa
pop ecx
xor eax, eax
jmp 0x423a40