joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bb36
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0041f1c0
mov eax, dword [0x444e60]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00428153
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x42bc6b
push 2
push esi
push dword [ebp + 8]
call fcn.00428153
add esp, 0xc
cmp eax, ebx
je 0x42bc6b
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42bc0b
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00421fb0
push 0x8000
push dword [ebp + 8]
call fcn.0042c804
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x42bbc1
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.004231d1
add esp, 0xc
cmp eax, 0xffffffff
je 0x42bbe1
sub edi, eax
test edi, edi
jg 0x42bbb9
jmp 0x42bbf9
call fcn.00420ac6
cmp dword [eax], 5
jne 0x42bbf6
call fcn.00420abd
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042c804
pop ecx
pop ecx
jmp 0x42bc53
jge 0x42bc53
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00428153
push dword [ebp + 8]
call fcn.00428bc3
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x42bc53
call fcn.00420abd
mov dword [eax], 0xd
call fcn.00420ac6
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00428153
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42bc6d
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f1a4
leave
ret
Function at 0x42e529
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x437033
call fcn.00422010
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00435fb4
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x42e577
call fcn.00435fb4
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42e588
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x42e594
or eax, 0xffffffff
jmp 0x42e697
mov ecx, esi
call fcn.0042e06b
mov dword [ebp - 0x14], eax
call fcn.0042fca2
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x42e5d7
call dword [0x438424]
cmp dword [ebp - 0x14], eax
je 0x42e5d7
push dword [ebp - 0x14]
call dword [0x438448]
test eax, eax
je 0x42e5d7
push 0
push dword [ebp - 0x14]
call dword [0x438470]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00430e8d
push dword [ebp - 0x14]
call fcn.0042fbfa
push edi
push eax
push ebx
mov ecx, esi
call fcn.0042e31c
xor ebx, ebx
cmp eax, ebx
je 0x42e64b
test byte [esi + 0x38], 0x10
je 0x42e619
push 4
pop edi
mov ecx, esi
call fcn.00431aec
test ah, 1
je 0x42e611
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042f69e
cmp dword [esi + 0x1c], ebx
je 0x42e64b
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00431bbf
jmp 0x42e64b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x42e65f
push 1
push dword [ebp - 0x14]
call dword [0x438470]
cmp dword [ebp - 0x14], ebx
je 0x42e678
call dword [0x438428]
cmp eax, dword [esi + 0x1c]
jne 0x42e678
push dword [ebp - 0x14]
call dword [0x43842c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042e0a5
cmp dword [esi + 0x54], ebx
je 0x42e694
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4317fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x43183d
call fcn.00435fb4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43183d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x431858
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00430955
test ebx, ebx
mov esi, eax
je 0x431856
test edi, edi
je 0x431856
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4351ea
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x444e60]
xor eax, ebp
cmp dword [ebp + 8], 0x800
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x11c]
jne 0x43521d
push 0x439bcc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x43522f
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x435264
lea eax, [ebp - 0x11c]
push eax
push esi
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00422588
add esp, 0x10
cmp eax, 0xffffffff
je 0x435264
cmp eax, esi
jae 0x435264
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x435266
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041f1a4
leave
ret

Function at 0x43629f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4362d4
cmp edi, dword [esi + 0xc]
jge 0x4362d4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4362d4
cmp edi, dword [eax + 8]
jge 0x4362d4
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4362d6
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4363da
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x43640e
jmp fcn.0042d859
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret
Function at 0x43647f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x436578
cmp eax, dword [edi + 0xc]
jge 0x436578
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4364d0
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x436561
cmp dword [ebp + 0xc], ebx
je 0x436561
jmp 0x4364fa
push 0x10
call fcn.0043616b
cmp eax, ebx
je 0x4364e6
mov ecx, eax
call fcn.004363d1
mov esi, eax
jmp 0x4364e8
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x436511
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x436521
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x436533
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0042d859
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00421fb0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x436573
cmp ecx, dword [esi + 8]
jge 0x436573
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x436579
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x436638
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x436666
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x436684
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004365a2
jmp 0x436684
mov eax, dword [esi + 0x14]
test eax, eax
je 0x436684
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004365a2
test edi, edi
mov eax, edi
jne 0x43666e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x448cec]
test ecx, ecx
je 0x436737
jmp 0x436637
ret 8
Function at 0x710c82
Capabilities:
Encode data using xor

Disassembly:
push 0x7109ec
pop eax
add esi, esi
sub esp, 4
mov dword [esp], 0xf8a2b900
mov edi, dword [esp]
add esp, 4
or edi, esi
call fcn.00710cce
add edi, 0x18287dd9
add esi, esi
xor dword [edx], eax
mov esi, 0xca5a65a
inc edi
inc edx
or edi, esi
sub edi, 0xe1236d6d
cmp edx, ecx
jne fcn.00710c82
add esi, 0xab7e48b
mov esi, 0xe9200081
mov edi, esi
ret
Function at 0x4bd419
Capabilities:
Create process memory minidump

Disassembly:
jmp 0x5b4d84
jmp dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]

Function at 0x4c2261
Capabilities:
Terminate process

Disassembly:
jmp fcn.005c9f90
jmp 0x5b5e80
cmp ecx, dword [0x68c07c]
jne 0x5b5e8a
repz ret
jmp 0x4be2a1

Function at 0x4c9700
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xd1], 0
cmp dword [ebp + 8], 0x14
jge 0x4c973b
mov byte [ebp - 0xd1], 1
mov dword [ebp - 8], 0x5a827999
jmp 0x4c977b
cmp dword [ebp + 8], 0x28
jge 0x4c9751
mov byte [ebp - 0xd1], 1
mov dword [ebp - 8], 0x6ed9eba1
jmp 0x4c977b
cmp dword [ebp + 8], 0x3c
jge 0x4c9767
mov byte [ebp - 0xd1], 1
mov dword [ebp - 8], 0x8f1bbcdc
jmp 0x4c977b
cmp dword [ebp + 8], 0x50
jge 0x4c977b
mov byte [ebp - 0xd1], 1
mov dword [ebp - 8], 0xca62c1d6
cmp byte [ebp - 0xd1], 0
jne 0x4c9791
push 0x4c97a8
call fcn.004be4bd
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.004bf697
mov esp, ebp
pop ebp
ret
Function at 0x563660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0xd0]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp esi, esp
call fcn.004bf697
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5636ae
mov eax, dword [ebp - 8]
and eax, 0x10
je 0x5636ae
mov dword [ebp - 0xd0], 1
jmp 0x5636b8
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.004bf697
mov esp, ebp
pop ebp
ret
Function at 0x565f00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.._AVOnCheckUpdate__4__checkUpdate_CQZMBVModule__QAEJXZ_.0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
add ecx, 0x3ac
call fcn.004bf1e7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x565f58
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x3f4], 2
jmp 0x565fb7
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov dword [ecx + 0x3f4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
add ecx, 0x3c4
call fcn.004bfde0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x565fb7
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
add ecx, 0x3c4
call fcn.004be206
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 4
call fcn.004c08bc
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004bf697
jmp 0x565f7c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
add ecx, 0x3ac
call fcn.004bec74
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.004bf9a8
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.004c2243
mov ecx, dword [ebp - 8]
call fcn.004bcd93
push edx
mov ecx, ebp
push eax
lea edx, [0x56600c]
call fcn.004c0eed
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.004bf697
mov esp, ebp
pop ebp
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4059e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46088b
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.004557b8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405a62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00453707
mov eax, dword [eax]
push 0x4741c0
push eax
call fcn.00446604
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00455a43
test bl, bl
je 0x405a62
push 0x4741c0
lea ecx, [esp + 0xc]
call fcn.00455dd3
push 0x477d10
lea ecx, [esp + 0xc]
call fcn.00455dd3
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 0x405a9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00455a43
jmp 0x405b69
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 0x405b22
lea edx, [esp + 0x7c]
push 0x477d0c
push edx
call fcn.00446604
add esp, 8
test eax, eax
je 0x405b22
lea eax, [esp + 0x7c]
push 0x477d08
push eax
call fcn.00446604
add esp, 8
test eax, eax
je 0x405b22
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 0x405ab2
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.00455a43
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 0x406360
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 0x4063c2
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 0x4063d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46090b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47e1e4]
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 0x406508
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406436
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455a43
xor eax, eax
jmp 0x40657f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00455b80
push esi
lea ecx, [esp + 0xc]
call fcn.00455e0f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40655d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00406360
test eax, eax
jne 0x40655d
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.00406360
test eax, eax
jne 0x40655d
lea eax, [esp + 0x14]
push 0x477d24
push eax
call fcn.00447640
mov esi, eax
add esp, 8
test esi, esi
jne 0x40653c
lea ecx, [esp + 0x14]
push 0x477d20
push ecx
call fcn.004475c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40653c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40653f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00455b30
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40644e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00455a43
xor eax, eax
jmp 0x40657f
mov byte [esi], 0
push 0x477d1c
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.00455a43
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 0x416b90
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 0x416bfe
cmp si, 0x69
ja 0x416bfe
add esi, 0xffd0
cmp si, 0x11
je 0x416bce
push 0x11
call edi
test ax, ax
jge 0x416bce
or esi, 0x2000
cmp si, 0x10
je 0x416be3
push 0x10
call edi
test ax, ax
jge 0x416be3
or esi, 0x4000
cmp si, 0x12
je 0x416bf8
push 0x12
call edi
test ax, ax
jge 0x416bf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x416c0b
mov esi, 0xbd
jmp 0x416bbf
cmp si, 0x6e
jne 0x416c18
mov esi, 0xbe
jmp 0x416bbf
cmp si, 0x6f
jne 0x416bb9
mov esi, 0xbf
jmp 0x416bbf

Function at 0x4182b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x48e818]
xor edx, edx
cmp eax, edx
jne 0x4182d6
xor eax, eax
mov byte [eax + 0x48e718], al
inc eax
cmp eax, 0x100
jl 0x4182be
mov dword [0x48e818], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x48e718
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x418367
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 0x41833a
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 0x418308
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4183e0
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 0x418433
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 0x41841a
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