joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444d10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x444d27
add esp, 0xfffffff0
call fcn.00403f18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfc0
mov eax, dword [0x468a74]
cmp word [eax + 2], 0
jne 0x444d4f
mov eax, dword [0x468a74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446754
mov eax, dword [0x468b28]
cmp word [eax + 2], 0
jne 0x444d69
mov eax, dword [0x468b28]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446960
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415d70]
call fcn.00403bc4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415d70]
call fcn.00403bc4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415d70]
call fcn.00403bc4
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 [0x420bb0]
call fcn.00428780
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x444f20
mov eax, dword [0x468980]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428b54
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x447034
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x468980]
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.0040d1e4
test eax, eax
je 0x444e70
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d218
test eax, eax
je 0x444e84
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.00404c90
mov byte [ebx + 0xd4], 0
push ebx
push 0x446438
call fcn.0041f13c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46884c]
cmp byte [eax], 0
jne 0x444ed5
mov eax, ebx
call fcn.00445064
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.0044720c
mov eax, ebx
call fcn.00447d70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444f15
call fcn.00403f70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4452e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x445383
cmp dword [ebx + 0x94], 0
jne 0x44537d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44526c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44537d
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 0x445343
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44537d
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.00418114
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x445352
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x46dc3c]
cmp dword [eax + 0x30], 0
je 0x4456f9
test bl, bl
jne 0x44564a
cmp dword [esi + 0x9c], 0
jne 0x44563f
mov eax, esi
call fcn.00447bec
push eax
push 0x4454c8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x445610
mov eax, dword [0x46dc3c]
call fcn.004482cc
test al, al
je 0x445610
mov eax, dword [0x46dc60]
call fcn.00405b90
mov edi, eax
cmp edi, 0
jl 0x445610
push 0
mov eax, dword [0x46dc60]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4455fa
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x44563f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418114
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44561f
inc dword [esi + 0x9c]
jmp 0x4456f9
cmp dword [esi + 0x9c], 0
jle 0x4456f9
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4456f9
cmp dword [esi + 0x44], 0
je 0x4456a5
mov eax, dword [0x46dc3c]
call fcn.004482cc
test al, al
je 0x4456a5
mov eax, dword [0x46dc60]
call fcn.00405b90
mov edi, eax
cmp edi, 0
jl 0x4456a5
push 5
mov eax, dword [0x46dc60]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x44568f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4456d4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418114
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4456b4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x46dc60
mov ecx, 1
mov edx, dword [0x4454a8]
call fcn.00405d44
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x44618c
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 0x4461f6
mov eax, ebx
call fcn.004482cc
test al, al
jne 0x4461f6
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.00404b10
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4461e3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x446203
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a74
jmp 0x446203
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a74
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4473f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44745e
mov eax, esi
call fcn.00458e40
test al, al
je 0x44745e
mov eax, dword [ebx + 0x84]
call fcn.00458abc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44745e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x447452
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458abc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00450a18
jmp 0x44745e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044722c
pop esi
pop ebx
ret
Function at 0x44e2b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46dcc8], 0
je 0x44e3f9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x468b0c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e3f9
mov eax, dword [0x46dccc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46dcc8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e3c8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46dcc8]
call fcn.00418114
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e3c0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44e3c0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e3c0
mov eax, dword [ebp - 0x14]
call fcn.00458abc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e3c0
push ebp
call fcn.0044e26c
pop ecx
test al, al
jne 0x44e3c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403df0
test al, al
je 0x44e3c0
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403df0
cmp byte [ebp - 1], 0
je 0x44e3c0
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e3c0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46dccc]
call fcn.0044d9dc
inc edi
dec ebx
jne 0x44e315
mov eax, dword [0x46dccc]
cmp dword [eax + 8], 0
jle 0x44e3e0
mov eax, dword [0x46dccc]
call fcn.0044da94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e3f9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044e0d0
pop ecx
test al, al
jne 0x44e3f9
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406af4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00450638
test ebx, ebx
jne 0x4559d3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004558bc
mov ebx, eax
test ebx, ebx
je 0x455abe
cmp esi, ebx
je 0x4559fc
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x455a11
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x455a49
add eax, 0xffffff5f
sub eax, 2
jb 0x455a61
dec eax
sub eax, 2
jb 0x455a75
dec eax
sub eax, 2
jb 0x455a6b
jmp 0x455a7f
add eax, 0xfffffdff
sub eax, 2
jb 0x455a61
dec eax
sub eax, 2
jb 0x455a75
dec eax
sub eax, 2
jb 0x455a6b
jmp 0x455a7f
mov byte [esp + 0x120], 0
jmp 0x455a87
mov byte [esp + 0x120], 2
jmp 0x455a87
mov byte [esp + 0x120], 1
jmp 0x455a87
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043bc24
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00451ddc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x455ac0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45dd6c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x468ca0]
cmp byte [eax + 0xc], 0
je 0x45ded9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ded2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46dcd8], 0
jne 0x45ddc0
push 0x45dee0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45dee8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcd8], eax
cmp dword [0x46874c], 0
jne 0x45debb
push 0x45def8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46874c], eax
cmp dword [0x46874c], 0
je 0x45debb
push 0x45df04
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcdc], eax
push 0x45df14
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dce0], eax
push 0x45df28
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dce4], eax
push 0x45df40
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dce8], eax
push 0x45df58
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcec], eax
push 0x45df6c
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcf0], eax
push 0x45df84
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcf4], eax
push 0x45df9c
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcf8], eax
push 0x45dfb8
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dcfc], eax
push 0x45dfc4
mov eax, dword [0x46874c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ded9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ef90
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 [0x4149dc]
call fcn.00405490
xor eax, eax
push ebp
push 0x45f131
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4687bc], 0
jne 0x45efeb
mov ecx, dword [0x46885c]
mov dl, 1
mov eax, dword [0x407a64]
call fcn.0040c3e4
call fcn.00404468
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403528
mov eax, ebx
call fcn.00405360
mov dword [ebp - 0x24], eax
mov esi, 0x45f140
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.00406428
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405370
test eax, eax
jle 0x45f0d4
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 0x45f0c0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404c90
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x45f066
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404ca8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x45f07c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404ca8
mov eax, dword [ebp - 0x54]
call fcn.00404eb0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404c90
mov eax, dword [ebp - 0x58]
call fcn.00404eb0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x45f0c2
xor eax, eax
test al, al
je 0x45f0cd
mov ebx, 0x15
jmp 0x45f0d9
mov ebx, 0x10
jmp 0x45f0d9
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 [0x4687bc]
call fcn.0045ee10
mov eax, dword [ebp - 4]
call fcn.0045ee10
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f138
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404a44
lea eax, [ebp - 0xc]
mov edx, dword [0x4149dc]
call fcn.00405560
ret
Function at 0x412f61
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x412f99
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x412f87
mov al, 1
jmp 0x412fe3
cmp dword [ebx + 0x54], ecx
jne 0x412f90
mov al, 2
jmp 0x412fe3
cmp dword [ebx + 0x7c], ecx
jne 0x412fe3
mov al, 3
jmp 0x412fe3
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x412fae
mov al, 4
jmp 0x412fe3
cmp ecx, 5
jne 0x412fce
cmp ebx, 0
jne 0x412fbc
mov al, 5
jmp 0x412fe3
cmp ebx, 1
jne 0x412fc5
mov al, 6
jmp 0x412fe3
cmp ebx, 2
jne 0x412fce
mov al, 7
jmp 0x412fe3
cmp ecx, 6
jne 0x412fda
cmp ebx, 0
jne 0x412fdc
mov al, 8
jmp 0x412fe3
cmp ebx, 1
jne 0x412fe3
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4431f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bc9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004aecd2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x443272
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ac1e3
mov eax, dword [eax]
push 0x4fcd14
push eax
call fcn.0049e174
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aef5d
test bl, bl
je 0x443272
push 0x4fcd14
lea ecx, [esp + 0xc]
call fcn.004af339
push 0x4fcd20
lea ecx, [esp + 0xc]
call fcn.004af339
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4432ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aef5d
jmp 0x443379
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x443332
lea edx, [esp + 0x7c]
push 0x4fcd1c
push edx
call fcn.0049e174
add esp, 8
test eax, eax
je 0x443332
lea eax, [esp + 0x7c]
push 0x4fcd18
push eax
call fcn.0049e174
add esp, 8
test eax, eax
je 0x443332
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4432c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004aef5d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x443b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x443be2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x443bf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bca7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5048cc]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x443d28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x443c56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aef5d
xor eax, eax
jmp 0x443d9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004af0e6
push esi
lea ecx, [esp + 0xc]
call fcn.004af375
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4fcd54
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x443d7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00443b80
test eax, eax
jne 0x443d7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00443b80
test eax, eax
jne 0x443d7d
lea eax, [esp + 0x14]
push 0x4fcd30
push eax
call fcn.0049f320
mov esi, eax
add esp, 8
test esi, esi
jne 0x443d5c
lea ecx, [esp + 0x14]
push 0x4fcd2c
push ecx
call fcn.0049f2a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x443d5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x443d5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004af096
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x443c6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004aef5d
xor eax, eax
jmp 0x443d9f
mov byte [esi], 0
push 0x4fcd28
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004aef5d
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x457360
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4573ce
cmp si, 0x69
ja 0x4573ce
add esi, 0xffd0
cmp si, 0x11
je 0x45739e
push 0x11
call edi
test ax, ax
jge 0x45739e
or esi, 0x2000
cmp si, 0x10
je 0x4573b3
push 0x10
call edi
test ax, ax
jge 0x4573b3
or esi, 0x4000
cmp si, 0x12
je 0x4573c8
push 0x12
call edi
test ax, ax
jge 0x4573c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4573db
mov esi, 0xbd
jmp 0x45738f
cmp si, 0x6e
jne 0x4573e8
mov esi, 0xbe
jmp 0x45738f
cmp si, 0x6f
jne 0x457389
mov esi, 0xbf
jmp 0x45738f

Function at 0x458ee0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x515810]
xor edx, edx
cmp eax, edx
jne 0x458f06
xor eax, eax
mov byte [eax + 0x515710], al
inc eax
cmp eax, 0x100
jl 0x458eee
mov dword [0x515810], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x515710
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x458f97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x458f6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x458f38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x459010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x459063
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45904a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret