joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64956e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, 0x80000000
je 0x64958b
mov edx, eax
and edx, 0x7fffffff
mov dword [ebp - 0xc], edx
jmp 0x649590
xor edx, edx
mov dword [ebp - 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3c]
push edi
mov esi, dword [eax + ebx + 0x78]
lea eax, [eax + ebx + 0x18]
add esi, ebx
mov eax, dword [eax + 0x64]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x24]
add edi, ebx
add ecx, ebx
add eax, ebx
test edx, edx
mov dword [ebp - 0x10], eax
je 0x6495d0
mov eax, dword [esi + 0x10]
imul eax, eax, 0x3fffffff
add eax, edx
jmp 0x64960e
and dword [ebp + 8], 0
cmp dword [esi + 0x18], 0
jbe 0x649616
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, ebx
push eax
call fcn.0064963c
pop ecx
test eax, eax
pop ecx
jne 0x649604
inc dword [ebp + 8]
add dword [ebp - 8], 4
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x18]
jb 0x6495dd
jmp 0x649616
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], 0
je 0x649634
cmp dword [ebp - 4], esi
jbe 0x649634
mov eax, dword [ebp - 0x14]
add eax, esi
cmp dword [ebp - 4], eax
jae 0x649634
push dword [ebp - 0xc]
push ebx
call dword [ebp + 0x10]
jmp 0x649637
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x649666
Capabilities:
Encode data using xor

Disassembly:
push ecx
push eax
push esi
push edi
mov ecx, edi
sub ecx, eax
mov esi, eax
mov edi, esi
lodsb al, byte [esi]
xor al, 0x4c
stosb byte es:[edi], al
loop 0x649672
pop edi
pop esi
pop eax
pop ecx
ret

Function at 0x64967d
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0xcf07987f
add eax, 0x313883e7
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xb9429629
add dword [ebp - 0x50], 0x950faf22
mov dword [ebp - 0x4c], 0xaab3fdb3
add dword [ebp - 0x4c], 0x877f4e92
mov dword [ebp - 0x48], 0x9ca1266e
sub dword [ebp - 0x48], 0x5054e240
mov dword [ebp - 0x44], 0x87408fdf
sub dword [ebp - 0x44], 0x87408fdf
lea eax, [ebp - 0x50]
push eax
mov eax, 0x8fed023
add eax, 0xf7416031
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x9f313831
sub dword [ebp - 0x50], 0x2abecedb
mov dword [ebp - 0x4c], 0x450f58cf
sub dword [ebp - 0x4c], 0x3a2f75a
mov dword [ebp - 0x48], 0x52b698db
add dword [ebp - 0x48], 0x10b8d391
mov dword [ebp - 0x44], 0xafaf82f
add dword [ebp - 0x44], 0xf50507d1
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3b822
push 0
call eax
mov ecx, 0x9fe23b41
sub ecx, 0x9fe1df25
xor edx, edx
add edx, eax
mov edi, 0xb180b019
sub edi, 0xb1404019
add edi, dword [ebp - 0x40]
mov esi, 0xdb82cb1f
add dword [ebp - 0x18], 0x599b0c96
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0x7841ded0
xor ebx, esi
xor dword [ebp - 0x18], edx
mov dword [edx], ebx
xor dword [ebp - 0x30], 0x31dc808e
add edx, 0x850b5bdb
add edx, 0x7af4a429
add edi, 0xbcd51c7a
sub edi, 0xbcd51c76
loop 0x401d7f
add eax, 0x41b25883
add eax, 0xbe4f0ac0
xor ebx, ebx
add ebx, eax
add eax, 0x34ef4890
add eax, 0xcb10b775
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x401190
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x40e084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
mov edi, 0x10
cmp dword [ebp + 0x38], edi
jae 0x4011b6
lea eax, [ebp + 0x24]
lea edx, [ebp - 0x110]
sub edx, eax
xor ebx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4011c0
push 0x40
lea eax, [ebp - 0x174]
push ebx
push eax
call fcn.00404a90
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x178], 0x44
mov dword [ebp - 0x170], str.winsta0default
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x114]
push edx
push 1
push 1
push ebx
push 0x2000000
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov ecx, dword [ebp - 0x114]
push ebx
push ecx
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x118], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x40126e
lea eax, [ebp + 8]
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x118]
lea edx, [ebp - 0x178]
push edx
push ebx
push ecx
push 0x430
push ebx
push ebx
push ebx
lea edx, [ebp - 0x110]
push edx
push eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ecx, dword [ebp - 0x12c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x128]
push edx
call esi
cmp dword [ebp + 0x1c], edi
jb 0x4012ca
mov eax, dword [ebp + 8]
push eax
call fcn.0040235f
add esp, 4
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
cmp dword [ebp + 0x38], edi
jb 0x4012e8
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.0040235f
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d37
mov esp, ebp
pop ebp
ret 0x38

Function at 0x401b40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x40e084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401bd8
lea ecx, [ebp - 0x10c]
push str.explorer.exe
push ecx
call fcn.0040269d
add esp, 8
test eax, eax
je 0x401bc6
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x401ba0
lea edx, [ebp - 0x130]
push edx
push esi
call edi
test eax, eax
je 0x401bd8
lea eax, [ebp - 0x10c]
push str.explorer.exe
push eax
call fcn.0040269d
add esp, 8
test eax, eax
jne 0x401ba0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401d37
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00401d37
mov esp, ebp
pop ebp
ret
Function at 0x401d37
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e084]
jne 0x401d41
repz ret
jmp fcn.00402981

Function at 0x407838
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402d58
and dword [ebp - 0x14], 0
cmp dword [0x40fd4c], 0
mov dword [ebp - 0x18], eax
jne 0x4078eb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407993
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407993
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40fd4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40fd50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40fd54], eax
call edi
push eax
call esi
mov dword [0x40fd5c], eax
test eax, eax
je 0x4078eb
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40fd58], eax
mov eax, dword [0x40fd58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407944
cmp dword [0x40fd5c], ecx
je 0x407944
push eax
call esi
push dword [0x40fd5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407944
test ebx, ebx
je 0x407944
call edi
test eax, eax
je 0x40793b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40793b
test byte [ebp - 8], 1
jne 0x407944
or dword [ebp + 0x10], 0x200000
jmp 0x407977
mov eax, dword [0x40fd50]
cmp eax, dword [ebp - 0x18]
je 0x407977
push eax
call esi
test eax, eax
je 0x407977
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407977
mov eax, dword [0x40fd54]
cmp eax, dword [ebp - 0x18]
je 0x407977
push eax
call esi
test eax, eax
je 0x407977
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40fd4c]
call esi
test eax, eax
je 0x407993
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407995
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d37
leave
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x80b4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x80b4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x80b4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80b4b8
mov eax, 1
add ebx, ebx
jne 0x80b4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x80b4d0
jne 0x80b4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b4d0
xor ecx, ecx
sub eax, 3
jb 0x80b500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80b572
mov ebp, eax
add ebx, ebx
jne 0x80b50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x80b518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x80b53c
inc ecx
add ebx, ebx
jne 0x80b528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x80b51d
jne 0x80b539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b51d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x80b55c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x80b54d
jmp 0x80b4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x80b55c
add edi, ecx
jmp 0x80b4be
pop esi
mov edi, esi
mov ecx, 0x147
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x80b57a
cmp byte [edi], 1
jne 0x80b57a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x80b57f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x80b5f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb58c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x80b5ac
mov ecx, edi
jns 0x80b5db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb590]
or eax, eax
je 0x80b5f1
mov dword [ebx], eax
add ebx, 4
jmp 0x80b5c9
call dword [esi + 0xb594]
popal
jmp 0x802d68
Function at 0x419fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49675b
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.00486b15
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00483fed
mov eax, dword [eax]
push 0x4b91f0
push eax
call fcn.00476894
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00486da0
test bl, bl
je 0x41a042
push 0x4b91f0
lea ecx, [esp + 0xc]
call fcn.0048717c
push 0x4bcddc
lea ecx, [esp + 0xc]
call fcn.0048717c
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 0x41a07e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00486da0
jmp 0x41a149
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 0x41a102
lea edx, [esp + 0x7c]
push 0x4bcdd8
push edx
call fcn.00476894
add esp, 8
test eax, eax
je 0x41a102
lea eax, [esp + 0x7c]
push 0x4bcdd4
push eax
call fcn.00476894
add esp, 8
test eax, eax
je 0x41a102
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 0x41a092
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.00486da0
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 0x41a940
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 0x41a9a2
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 0x41a9b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4967db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c546c]
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 0x41aae8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41aa16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486da0
xor eax, eax
jmp 0x41ab5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00486f29
push esi
lea ecx, [esp + 0xc]
call fcn.004871b8
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 0x41ab3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041a940
test eax, eax
jne 0x41ab3d
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 SysReAllocString
mov ecx, edi
call fcn.0041a940
test eax, eax
jne 0x41ab3d
lea eax, [esp + 0x14]
push 0x4bcdf0
push eax
call fcn.00477bc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ab1c
lea ecx, [esp + 0x14]
push 0x4bcdec
push ecx
call fcn.00477b40
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ab1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41ab1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00486ed9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41aa2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486da0
xor eax, eax
jmp 0x41ab5f
mov byte [esi], 0
push 0x4bcde8
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.00486da0
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 0x42d570
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 0x42d5de
cmp si, 0x69
ja 0x42d5de
add esi, 0xffd0
cmp si, 0x11
je 0x42d5ae
push 0x11
call edi
test ax, ax
jge 0x42d5ae
or esi, 0x2000
cmp si, 0x10
je 0x42d5c3
push 0x10
call edi
test ax, ax
jge 0x42d5c3
or esi, 0x4000
cmp si, 0x12
je 0x42d5d8
push 0x12
call edi
test ax, ax
jge 0x42d5d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42d5eb
mov esi, 0xbd
jmp 0x42d59f
cmp si, 0x6e
jne 0x42d5f8
mov esi, 0xbe
jmp 0x42d59f
cmp si, 0x6f
jne 0x42d599
mov esi, 0xbf
jmp 0x42d59f

Function at 0x42ed20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d6428]
xor edx, edx
cmp eax, edx
jne 0x42ed46
xor eax, eax
mov byte [eax + 0x4d6328], al
inc eax
cmp eax, 0x100
jl 0x42ed2e
mov dword [0x4d6428], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d6328
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42edd7
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 0x42edaa
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 0x42ed78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42ee50
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 0x42eea3
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 0x42ee8a
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
Function at 0x4358e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x435a78
cmp ebp, ebx
jle 0x435a78
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x43593e
dec eax
or eax, 0xfffffff8
inc eax
je 0x435945
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.ODBC32.dll_SQLAllocConnect
jns 0x435954
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43595b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00486ae1
add esp, 4
cmp eax, ebx
je 0x43597c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00486ae1
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x435a6e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x435a55
mov al, byte [edx]
cmp al, 0xc0
jbe 0x435a41
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x435a36
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x435a44
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x435a44
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4359e0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4359d1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret