joyce8/EMBER2024-capa huggingface dataset:
Function at 0x554400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x55442b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x55444f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x55446a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x558c31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x558c53
cmp dword [edi + 0x3c], 0
jne 0x558c53
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00569c56
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00558c80
pop edi
pop esi
pop ebx
ret 8

Function at 0x55aad3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x55ab0b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00559ad3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00559aab
jmp 0x55ab17
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x55c4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x55c512
call fcn.00569c56
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x55c512
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55c509
xor eax, eax
jmp 0x55c51a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0055c520
pop edi
pop esi
pop ebx
ret 4

Function at 0x5685e2
Capabilities:
Create http request

Disassembly:
mov eax, 0x585ea8
call fcn.00544098
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x56861a
call fcn.00569c56
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x56863f
push eax
push dword [esi + 4]
call fcn.00569261
jmp 0x56864b
push esi
push eax
mov ecx, 0x5f4688
call fcn.0056865c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x56890d
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x585f07
call fcn.00544098
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0055efcd
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x5e8e38]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.005597b5
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005597b5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x56d45c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x56d473
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7ed37e76
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x123e66d2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x81f279
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x81f643
mov eax, edi
not al
jmp 0x81f315
bsr ax, ax
ja 0x81f2b9
mov eax, edi
not al
mov ecx, 0x2c9178ae
bsf ax, cx
not al
jmp 0x81f2ea
mov ecx, 0x2c9178ae
bsf ax, cx
cmc
add dl, 0xa7
jmp 0x81f2cf
bsr eax, ebx
jae 0x81f3f7
cmc
jmp 0x81f3f8
mov ax, word [esp + 2]
lea esp, [esp + 4]
inc dl
mov eax, ebp
setge cl
jmp 0x81f524
Function at 0x920e78
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ecx*4]
xchg byte [esp + 3], dh
mov bl, byte [esp]
pop dword [esp + 3]
jmp 0x920c4e
add esp, 0xb
xchg bx, ax
mov edx, 0xaa03f885
lea esp, [esp + 2]
jmp 0x920c60
rdtsc
cmc
sete bh
mov edx, dword [esp]
xchg dx, bx
mov ax, 0x8b
jmp 0x920c34
lea ebx, [esi*4]
push word [esp + 1]
mov dl, 0x72
mov bh, dl
xchg bx, dx
dec dx
jmp 0x920cad
add esp, 1
not dx
xchg byte [esp], bh
neg ebx
mov bl, ah
jmp 0x920cd9
pop word [esp]
setl al
mov ax, word [esp]
xchg al, dl
mov bx, dx
not dx
jmp 0x920c97
mov dx, word [esp]
mov ax, word [esp + 1]
add bl, 0xca
mov dx, word [esp]
stc
bswap eax
jmp 0x920d5b
setge bh
lea edx, reloc.MSVFW32.dll_DrawDibDraw
mov eax, dword [esp]
xchg word [esp], ax
mov ax, 0x377c
call fcn.00920d0d
dec dl
pushal
dec ebx
add esp, 4
pop bx
lea ebx, [ecx + edx]
jmp 0x920da0
mov dl, ah
mov bl, byte [esp]
rol eax, cl
setbe bl
xchg edx, eax
setp al
jmp 0x920d23
xchg dh, al
neg edx
pushfd
pop ebx
call fcn.00920d82
shl eax, cl
rdtsc
xchg dword [esp + 0xb], ebx
xchg byte [esp + 7], bh
std
lea eax, [ecx + edi]
jmp 0x920de6
xchg word [esp + 4], dx
mov ah, bh
mov al, byte [esp + 0xf]
mov word [esp + 0xe], di
jmp 0x920df9
push eax
dec bl
setnp ah
pop bx
bsr ax, bp
mov ebx, 0x85d16a45
jmp 0x920dd0
shr edx, 0x1f
pop ax
pop dword [esp + 5]
mov word [esp + 2], cx
xchg dh, al
pop dword [esp + 1]
jmp 0x920e41
xchg ebx, eax
lea ebx, [eax*4]
cld
mov bl, byte [esp + 2]
not ebx
jmp 0x920e2a
bsr eax, esp
lea edx, reloc.MSVFW32.dll_DrawDibDraw
sub esp, 0x12
xchg dword [esp + 0xf], edx
jmp 0x920e54
push dword [esp + 2]
mov ebx, dword [esp + 9]
mov bh, 0x76
mov bx, 0x39e
mov al, ah
pop edx
jmp 0x920e0f
pop bx
mov byte [esp + 3], ch
mov edx, dword [esp + 0xd]
pop edx
inc bx
xchg bh, ah
call fcn.00920f34
xor esi, dword [ebp + reloc.MSVFW32.dll_DrawDibDraw]
and esp, dword [esi + reloc.MSVFW32.dll_DrawDibDraw]
push edi
mov esi, 0xe9fd2889
std
invalid
jbe 0x920e7a
invalid

Function at 0x920f4c
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 4], dh
setnp dl
pop ebx
add esp, 2
pop ebx
pop ax
jmp 0x920f5b
rdtsc
push dword [esp + 0xd]
mov ebx, dword [esp + 9]
pop eax
pop bx
jmp 0x920f36
sub esp, 0xa
lea edx, [edx*4]
push dword [esp + 3]
lea eax, [edx*4]
jmp 0x920fcd
pop bx
inc edx
mov bx, dx
mov bx, word [esp + 1]
rdtsc
push word [esp + 1]
jmp 0x920f89
lea ebx, reloc.MSVFW32.dll_DrawDibDraw
mov dword [esp + 9], eax
bsf bx, di
xchg dword [esp + 4], edx
setae bh
dec dl
jmp 0x920f9f
Function at 0x921184
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 1], al
lea ebx, reloc.MSVFW32.dll_DrawDibDraw
mov byte [esp + 1], al
pop edx
jmp 0x9211b9
mov bl, dl
bsr ebx, edx
adc dx, 0x138f
push dword [esp + 3]
jmp 0x9211ef
mov dx, word [esp]
bts ax, dx
mov eax, 0x4a2066de
sub esp, 4
mov ax, bp
xchg ebx, edx
jmp 0x9211a3
sub esp, 4
pop dword [esp + 1]
btr bx, dx
mov byte [esp + 7], ch
mov ax, 0x4fb1
mov bl, ah
jmp 0x921226
mov eax, dword [esp]
xchg word [esp], ax
mov edx, 0xb825224
stc
pop ebx
lea esp, [esp + 3]
jmp 0x92126f
bswap eax
mov word [esp], bx
bsf ax, cx
xchg word [esp], ax
jmp 0x9212d7
mov edx, 0x79b4d2ca
xchg byte [esp], bh
not dh
ror dh, 2
lea esp, [esp]
xchg ebx, eax
jmp 0x921259
rdtsc
mov ax, bp
xchg dx, bx
std
lea ebx, [ebp*4]
jmp 0x9212bf
ror dx, 0xe
rdtsc
shr edx, cl
inc bl
xchg byte [esp], dh
xchg word [esp], bx
jmp 0x921296
mov dl, bh
mov ebx, 0x1f64144b
lea edx, [ecx*4]
bt dx, bp
jmp 0x9212fe
btr bx, cx
mov al, bh
std
lea ebx, [edx + 0x1e]
ror bl, cl
lea ebx, [eax + ebp]
jmp 0x9212ac
neg ah
and al, ah
bswap ebx
shl al, cl
bswap eax
std
jmp 0x92130d
pop ax
xchg ebx, eax
mov edx, dword [esp]
neg edx
lea ebx, [esi + esi]
xchg edx, ebx
jmp 0x9212e8
seto bl
mov edx, dword [esp]
mov bx, di
inc ax
bsf ax, ax
rcr bx, cl
call fcn.00921349
jo 0x921399
push 0x66
mov eax, ebp
mov ah, byte [esp + 2]
call fcn.00921131
mov dword [esp], eax
xchg edx, eax
mov bx, ax
mov dx, 0x3f40
setbe bl
jmp 0x921361
xchg ebx, edx
rdtsc
bsr ax, bx
pushfd
mov dx, 0xb30a
inc dx
jmp 0x921370
mov dl, al
xchg dh, ah
lea ebx, [ecx + edi]
inc bx
pop eax
bsf eax, eax
jmp 0x92134b
push dword [esp + 3]
pop dword [esp]
std
mov ebx, dword [esp + 2]
not ax
lea eax, [ebp + ebp]
jmp 0x921bcd
popal
insd dword es:[edi], dx
inc ecx
add byte [ebp - 0x3b7cc0ec], cl
adc byte [esi + 0x11], ah
ret
push word [esp + 1]
xchg edx, eax
mov ebx, dword [esp + 4]
push word [esp + 5]
call fcn.009213b4
cmp dx, 0x2ec1
sub dh, ch
push esp
setae dh
mov byte [esp], ah
dec ax
jmp 0x921517
pop word [esp]
bsf ebx, ecx
mov word [esp + 1], si
push ecx
mov edx, dword [esp + 7]
push word [esp + 1]
jmp 0x9213d3
cld
mov dx, word [esp]
call fcn.00921454
invalid
pushal
mov dword [esp + 0x3c], esi
call 0x9214b9
out dx, eax
call fcn.009214f8
cmc
je 0x9214ab
lea edi, [esi + ebx*4 - 0x1b]
popal
int1
nop
arpl word [eax - 0xa659ce0], cx
in al, 0x89
pop esp
and al, 4
cld
mov eax, dword [esp + 0xd]
mov dl, 0x37
bsf dx, cx
mov dh, byte [esp]
bsf edx, esi
jmp 0x9214a4
add bl, 0x8c
cmp ax, cx
lea ebx, reloc.MSVFW32.dll_DrawDibDraw
mov word [esp], si
lea edx, reloc.MSVFW32.dll_DrawDibDraw
xchg bh, dh
jmp 0x921411
push word [esp]
bt bx, ax
lea ebx, [esi + ebp]
mov dx, cx
xchg bx, dx
mov byte [esp + 4], cl
jmp 0x9217b8
Function at 0x4199b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4826cb
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.0047500c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419a32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00472a8a
mov eax, dword [eax]
push 0x49e204
push eax
call fcn.004652a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475297
test bl, bl
je 0x419a32
push 0x49e204
lea ecx, [esp + 0xc]
call fcn.00475673
push 0x4a1d74
lea ecx, [esp + 0xc]
call fcn.00475673
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 0x419a6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475297
jmp 0x419b39
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 0x419af2
lea edx, [esp + 0x7c]
push 0x4a1d70
push edx
call fcn.004652a4
add esp, 8
test eax, eax
je 0x419af2
lea eax, [esp + 0x7c]
push 0x4a1d6c
push eax
call fcn.004652a4
add esp, 8
test eax, eax
je 0x419af2
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 0x419a82
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.00475297
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 0x41a330
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 0x41a392
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 0x41a3a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48274b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a90a0]
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 0x41a4d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a406
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475297
xor eax, eax
jmp 0x41a54f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475420
push esi
lea ecx, [esp + 0xc]
call fcn.004756af
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 0x41a52d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041a330
test eax, eax
jne 0x41a52d
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.0041a330
test eax, eax
jne 0x41a52d
lea eax, [esp + 0x14]
push 0x4a1d88
push eax
call fcn.00466450
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a50c
lea ecx, [esp + 0x14]
push 0x4a1d84
push ecx
call fcn.004663d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a50c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a50f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004753d0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a41e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475297
xor eax, eax
jmp 0x41a54f
mov byte [esi], 0
push 0x4a1d80
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.00475297
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 0x42aab0
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 0x42ab1e
cmp si, 0x69
ja 0x42ab1e
add esi, 0xffd0
cmp si, 0x11
je 0x42aaee
push 0x11
call edi
test ax, ax
jge 0x42aaee
or esi, 0x2000
cmp si, 0x10
je 0x42ab03
push 0x10
call edi
test ax, ax
jge 0x42ab03
or esi, 0x4000
cmp si, 0x12
je 0x42ab18
push 0x12
call edi
test ax, ax
jge 0x42ab18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42ab2b
mov esi, 0xbd
jmp 0x42aadf
cmp si, 0x6e
jne 0x42ab38
mov esi, 0xbe
jmp 0x42aadf
cmp si, 0x6f
jne 0x42aad9
mov esi, 0xbf
jmp 0x42aadf

Function at 0x42c2e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b9e98]
xor edx, edx
cmp eax, edx
jne 0x42c306
xor eax, eax
mov byte [eax + 0x4b9d98], al
inc eax
cmp eax, 0x100
jl 0x42c2ee
mov dword [0x4b9e98], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b9d98
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42c397
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 0x42c36a
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 0x42c338
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42c410
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 0x42c463
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 0x42c44a
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 0x432ea0
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 0x433038
cmp ebp, ebx
jle 0x433038
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 0x432efe
dec eax
or eax, 0xfffffff8
inc eax
je 0x432f05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x432f14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x432f1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00474fd8
add esp, 4
cmp eax, ebx
je 0x432f3c
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.00474fd8
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 0x43302e
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 0x433015
mov al, byte [edx]
cmp al, 0xc0
jbe 0x433001
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x432ff6
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 0x433004
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x433004
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x432fa0
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 0x432f91
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