joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1a90
Capabilities:
Check for time delay via gettickcount
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x214
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0xffffffff
je 0x4d1bdc
mov al, byte [esi + 0xc]
test al, al
je 0x4d1bdc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov al, byte [esi + 0xd]
test al, al
jne 0x4d1b71
mov edi, dword [sym.imp.WSOCK32.dll_select]
mov ebp, 1
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x11c]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x124], eax
push edx
lea ecx, [esp + 0x20]
push 0
inc eax
push ecx
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x130], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc350
call edi
cmp eax, 0xffffffff
je 0x4d1bba
test eax, eax
je 0x4d1b45
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d1b82
mov edx, dword [esi + 4]
lea ecx, [esp + 0x11c]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d1bba
cmp dword [esp + 0x22c], 0xffffffff
je 0x4d1b66
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x22c]
sub eax, edx
cmp ecx, eax
jle 0x4d1bcb
mov al, byte [esi + 0xd]
test al, al
je 0x4d1ad0
pop edi
pop esi
mov eax, 0x80004004
pop ebp
add esp, 0x214
ret 0xc
mov al, byte [esi + 0xd]
test al, al
je 0x4d1b9a
pop edi
pop esi
mov eax, 0x80004004
pop ebp
add esp, 0x214
ret 0xc
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x224]
mov edx, dword [esi + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jge 0x4d1be1
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x214
ret 0xc
pop edi
pop esi
mov eax, 0x8001011f
pop ebp
add esp, 0x214
ret 0xc
mov eax, 0x80010006
pop edi
pop esi
pop ebp
add esp, 0x214
ret 0xc
Function at 0x4d1c60
Capabilities:
Check for time delay via gettickcount
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x214
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0xffffffff
je 0x4d1dac
mov al, byte [esi + 0xc]
test al, al
je 0x4d1dac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
mov al, byte [esi + 0xd]
test al, al
jne 0x4d1d41
mov edi, dword [sym.imp.WSOCK32.dll_select]
mov ebp, 1
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x120]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x124], eax
push edx
push ecx
inc eax
push 0
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x130], ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc350
call edi
cmp eax, 0xffffffff
je 0x4d1d8a
test eax, eax
je 0x4d1d15
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d1d52
mov edx, dword [esi + 4]
lea ecx, [esp + 0x11c]
push ecx
push edx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
jne 0x4d1d8a
cmp dword [esp + 0x22c], 0xffffffff
je 0x4d1d36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x22c]
sub eax, edx
cmp ecx, eax
jle 0x4d1d9b
mov al, byte [esi + 0xd]
test al, al
je 0x4d1ca0
pop edi
pop esi
mov eax, 0x80004004
pop ebp
add esp, 0x214
ret 0xc
mov al, byte [esi + 0xd]
test al, al
je 0x4d1d6a
pop edi
pop esi
mov eax, 0x80004004
pop ebp
add esp, 0x214
ret 0xc
mov eax, dword [esp + 0x228]
mov ecx, dword [esp + 0x224]
mov edx, dword [esi + 4]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
test eax, eax
jge 0x4d1db1
pop edi
pop esi
mov eax, 0x80004005
pop ebp
add esp, 0x214
ret 0xc
pop edi
pop esi
mov eax, 0x8001011f
pop ebp
add esp, 0x214
ret 0xc
mov eax, 0x80010006
pop edi
pop esi
pop ebp
add esp, 0x214
ret 0xc
Function at 0x5d8992
Capabilities:
Execute anti-debugging instructions

Disassembly:
cmc
lea esp, [esp + 4]
pushal
xchg bp, cx
mov cl, 0x32
mov ecx, eax
jmp 0x5d89db
clc
cld
pop word [esp]
push word [esp + 1]
cld
jmp 0x5d896f
mov al, 0xd6
neg ah
btc esi, edi
sub dx, 0x1b58
mov ax, word [esp]
setp dh
jmp 0x5d8a3e
btr ebx, edx
mov cx, 0xde9d
mov bl, byte [esp]
bsf di, si
cpuid
mov ebp, 0x209c5672
jmp 0x5d89a0
inc si
mov cl, byte [esp]
mov dl, byte [esp]
lea ebx, [ecx*4]
mov ebx, 0x69c53852
mov bp, 0x82af
jmp 0x5d89bc
not ebx
lea edx, [ecx - 0x92afad]
xchg ah, bl
add al, dh
mov dl, dh
lea edx, [ecx + 0xe098c4b]
jmp 0x5d8a67
not ebx
rcr edx, 0x1d
xchg edi, eax
xchg di, dx
btc ebp, ebx
bsf si, si
jmp 0x5d8a21
mov dl, dh
xchg ch, dl
lea edx, [eax + 0x61]
mov esi, dword [esp]
xchg ah, bl
bsf dx, si
jmp 0x5d8add
mov ax, bx
mov dx, 0x9e9b
mov cl, 0xfa
mov dl, byte [esp]
clc
mov ecx, dword [esp]
jmp 0x5d8a51
pop dword [esp]
pop ebp
sub esp, 2
inc ebx
mov di, word [esp]
xor edi, esi
jmp 0x5d8fa3
mov byte [esp + 0x10], bh
rdtsc
pop cx
mov cl, 0x4a
push word [esp + 7]
mov ax, 0x2839
jmp 0x5d8a95
cpuid
lea ebp, [esi*4]
sub esp, 0x12
mov dl, 0x3c
neg si
jmp 0x5d8ab7
rdtsc
pop word [esp + 5]
mov ebp, ecx
inc dl
xchg ebp, ebx
push word [esp + 5]
call fcn.005d8b1c
neg ecx
bsr cx, bp
pushal
lea esp, [esp + 0x55]
mov cl, 0x8a
add bx, 0x746e
jmp 0x5d8c9e
pop dword [esp + 2]
push dword [esp]
lea ecx, [eax + 0x3ab0e4e9]
lea esp, [esp + 5]
lea esp, [esp + 1]
jmp 0x5d8cee
cpuid
not bp
sub esp, 0xc
lea esi, [ebx + ebp]
mov edi, 0x3aa252aa
lea ebx, [ecx + ebx]
jmp 0x5d8c82
pop word [esp + 1]
mov si, word [esp + 4]
cpuid
mov byte [esp + 3], ch
add esp, 5
jmp 0x5d8d52
mov bh, byte [esp + 1]
bswap ebx
push word [esp + 3]
neg di
bswap ebp
mov eax, 0x8632e128
jmp 0x5d8cd4
lea esp, [esp + 1]
lea eax, [esi + 0x35]
neg si
lea eax, [ebx + ebp]
push dword [esp + 2]
lea esi, [esp + ebx]
jmp 0x5d8c2f
cpuid
neg ch
pushal
setnp ah
xchg bx, ax
push dword [esp + 0x18]
jmp 0x5d8d3a
lea ebx, [edx + ebx]
mov byte [esp + 0x1b], ah
lea eax, [edx*4]
lea ebx, [ebx + edi]
jmp 0x5d8d83
xchg bx, si
not di
mov byte [esp], bh
mov edx, 0xe3c9b7d4
lea ebp, [ebp*4]
setl bh
jmp 0x5d8d26
lea esp, [esp + 4]
push edx
not bh
mov dl, 0x94
neg bx
rdtsc
jmp 0x5d8d0d
sub esp, 6
mov bx, word [esp + 0x13]
mov edx, 0x5e9bfc52
call fcn.005d8e14
sub eax, 0xae5334a6
or dword [edi - 0x42], edx
mov dword [esi + 0x5a], esp
pop dx
cmc
not eax
mov dword [esp], eax
inc cx
mov cx, word [esp + 1]
jmp 0x5d8d73
btc esi, edi
mov eax, ecx
inc ecx
push dword [esp + 2]
mov edx, 0x9b31c4e8
cpuid
jmp 0x5d8d9e
inc esi
pop dword [esp + 2]
lea esp, [esp + 1]
lea esp, [esp + 2]
mov edx, dword [esp + 1]
inc ebx
jmp 0x5d8e55
Function at 0x5d9396
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 4]
mov ebp, dword [esp + 0x1d]
inc ebx
mov byte [esp + 9], ch
pop word [esp + 0xe]
add esp, 0x20
jmp 0x5d9373
mov ah, byte [esp + 1]
lea esp, [esp + 0x29]
sub esp, 0xc
push dword [esp + 6]
xchg ah, bl
pop word [esp + 0x17]
jmp 0x5d9338
xchg bp, bx
pushal
xchg byte [esp], cl
pop dword [esp + 2]
xchg word [esp + 0x10], di
add esp, 0x1e
jmp 0x5d93ec
mov dh, byte [esp + 0x27]
jmp 0x5d935b
xchg bh, cl
push word [esp]
push edx
pop word [esp + 5]
cpuid
mov al, 0xee
jmp 0x5d93c9
btc esi, edi
stc
xchg bx, si
push edx
xor dl, ch
cmc
jmp 0x5d939c
push word [esp + 7]
bswap ecx
rdtsc
bsf ax, ax
mov cl, ch
sub esp, 6
jmp 0x5d97a3
cpuid
mov dl, dh
rdtsc
mov bl, bh
xchg ebx, esi
not ah
jmp 0x5d93bc
xchg edx, esi
push edx
mov dh, byte [esp + 1]
pop bp
btr ecx, edx
lea esp, [esp + 0x14]
xchg bx, si
jmp 0x5d94d9

Function at 0x5d9412
Capabilities:
Execute anti-debugging instructions

Disassembly:
not bp
mov dword [esp], ebp
not esi
sete ah
mov ch, byte [esp]
jmp 0x5d945c
mov bl, 0x58
btc ecx, ebx
mov esi, dword [esp + 3]
rdtsc
jmp 0x5d93fa
mov al, ah
stc
call fcn.005d9412
mov si, 0xcfb9
mov eax, 0xec1ea136
xchg byte [esp + 0xc], al
pushal
lea esp, [esp + 0x45]
rol dx, cl
jmp 0x5d94b7
xchg word [esp + 2], ax
pushal
mov dl, dh
mov dword [esp + 0x12], eax
neg ch
rdtsc
jmp 0x5d9437
bsr ax, bp
lea ecx, [eax*4]
lea esp, [esp]
and si, 0x472
neg ah
xchg edi, esi
jmp 0x5d942f
mov edx, 0xb27891ea
mov bx, word [esp]
lea ebx, [ecx + ebx]
setle bh
shr esi, 9
mov dl, 0x8c
call fcn.005d948d
sbb al, byte [eax + 0x3e807116]
mov ebp, 0xf2871f8c
mov ah, byte [esp]
mov eax, dword [esp]
lea edi, [esi*4]
setnp dh
mov bh, byte [esp]
jmp 0x5d9474
Function at 0x5d976d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebp, 0x65f9021c
mov dx, word [esp + 6]
xchg dword [esp], esi
mov bp, di
push word [esp + 7]
lea esp, [esp + 7]
jmp 0x5d95fc
inc cl
pop ax
mov word [esp + 0x11], di
clc
mov dword [esp + 0x28], eax
jmp 0x5d9516
mov dl, dh
xchg bx, cx
cmc
lea esi, [edx + ebx]
sub esp, 0x1c
inc edx
jmp 0x5d94f0
mov cx, 0x7ced
lea eax, [esi + 0x4a1894d5]
neg eax
push dword [esp + 0x33]
bswap esi
jmp 0x5d959d
mov dword [esp + 0xf], ecx
inc cl
push word [esp + 0x10]
bsr bx, bp
cpuid
setbe bh
jmp 0x5d9507
xchg esi, eax
sub esp, 0x14
setp ch
mov ah, byte [esp + 1]
lea ecx, [esi + 0xf5]
xchg si, ax
jmp 0x5d952e
bswap ecx
mov ah, byte [esp + 2]
lea ebx, [ecx + 0xc3]
add esp, 0
push word [esp]
mov bh, byte [esp + 1]
jmp 0x5d954e
mov dword [esp + 6], eax
xchg dword [esp], ebp
ror eax, 1
pop edi
xchg dword [esp + 0xa], ebp
inc dx
jmp 0x5d95b1
bswap edi
bsf bx, si
mov bp, sp
mov word [esp + 0x34], bx
btc edx, edi
popal
jmp 0x5d9582
lea ecx, [ebp - 0x5f]
xchg byte [esp + 0xe], dl
mov ebp, 0x13e3695c
rdtsc
mov word [esp + 0xf], dx
jmp 0x5d95d9
pushal
popal
shl bp, cl
lea ebx, [esp + ebp]
xchg edi, eax
xor dl, ch
jmp 0x5d9569
mov cx, sp
pop ecx
push dword [esp]
mov dword [esp + 0xd], ebp
not bh
mov byte [esp + 7], ch
jmp 0x5d96d7
mov bh, byte [esp]
inc si
mov byte [esp + 1], ah
mov word [esp], di
lea esp, [esp]
mov edi, eax
jmp 0x5d95cb
mov ebp, eax
cmc
cpuid
rdtsc
mov cx, 0xcb07
lea eax, [ecx - 0xfb]
jmp 0x5d96a2
mov dword [esp + 0x11], ebp
mov al, 0x8e
cld
mov ah, byte [esp + 0x15]
pop dword [esp + 9]
mov bx, word [esp + 0x10]
jmp 0x5d9610
rcl cx, cl
xchg edi, ecx
xchg bp, ax
push dword [esp + 0xf]
mov cl, 0xa2
cpuid
jmp 0x5d9628
neg esi
mov cx, word [esp + 2]
shr edx, 1
xor dl, ch
push dword [esp + 1]
pop dword [esp]
jmp 0x5d96b9
xchg bp, si
pop word [esp]
neg dh
mov dword [esp], eax
clc
xchg word [esp + 2], bp
jmp 0x5d9653
mov dl, dh
push word [esp + 2]
bsf si, si
add esp, 0xe
mov bp, 0x7cf3
setnp ch
jmp 0x5d967b
cpuid
btr edx, edx
mov si, 0x652d
pushal
push dword [esp + 0x13]
sub esp, 0x1a
jmp 0x5d972a
pop word [esp + 0x10]
xchg si, ax
mov word [esp + 9], dx
xchg ecx, edx
neg eax
inc cl
jmp 0x5d9642
add ax, 0xabd6
mov al, 0x5e
not ax
bswap esi
mov cl, ch
xchg ecx, eax
jmp 0x5d9756
lea ecx, [esp + ecx]
mov dl, byte [esp]
rdtsc
mov eax, 0x51dc9e4e
xchg dx, cx
rdtsc
jmp 0x5d96ef
lea esp, [esp + 0x43]
neg eax
mov ebx, 0xfea78314
xchg si, cx
not edi
btc ecx, ebx
jmp 0x5d9706
cpuid
call 0x5d973f
fcom dword [edi - 0x39]
mov byte [0xc846b051], al
pop esi
cmp eax, ecx
in eax, 0x14
xchg dword [esi], ebp
jmp 0x5d9492

Function at 0x5d9860
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
bswap ebx
neg esi
rdtsc
add esp, 0
cpuid
jmp 0x5d9881
rcl si, cl
add esp, 1
pop cx
jmp 0x5d9849

Function at 0x5d9d98
Capabilities:
Parse pe header

Disassembly:
jmp 0x5d9dde
mov word [esp + 2], di
push dword [esp + 6]
mov dword [esp + 0x60], esi
call fcn.005d9d9a
Function at 0x40ccc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46800b
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.0045cb06
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40cd42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045aa1d
mov eax, dword [eax]
push 0x49a1e4
push eax
call fcn.0044d8a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045cd91
test bl, bl
je 0x40cd42
push 0x49a1e4
lea ecx, [esp + 0xc]
call fcn.0045d121
push 0x49dd54
lea ecx, [esp + 0xc]
call fcn.0045d121
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 0x40cd7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045cd91
jmp 0x40ce49
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 0x40ce02
lea edx, [esp + 0x7c]
push 0x49dd50
push edx
call fcn.0044d8a4
add esp, 8
test eax, eax
je 0x40ce02
lea eax, [esp + 0x7c]
push 0x49dd4c
push eax
call fcn.0044d8a4
add esp, 8
test eax, eax
je 0x40ce02
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 0x40cd92
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.0045cd91
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 0x40d640
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 0x40d6a2
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 0x40d6b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46808b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a4268]
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 0x40d7e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d716
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045cd91
xor eax, eax
jmp 0x40d85f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045cece
push esi
lea ecx, [esp + 0xc]
call fcn.0045d15d
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 0x40d83d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040d640
test eax, eax
jne 0x40d83d
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 accept
mov ecx, edi
call fcn.0040d640
test eax, eax
jne 0x40d83d
lea eax, [esp + 0x14]
push 0x49dd68
push eax
call fcn.0044e8e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d81c
lea ecx, [esp + 0x14]
push 0x49dd64
push ecx
call fcn.0044e860
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d81c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d81f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045ce7e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d72e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045cd91
xor eax, eax
jmp 0x40d85f
mov byte [esi], 0
push 0x49dd60
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.0045cd91
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 0x41dd20
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 0x41dd8e
cmp si, 0x69
ja 0x41dd8e
add esi, 0xffd0
cmp si, 0x11
je 0x41dd5e
push 0x11
call edi
test ax, ax
jge 0x41dd5e
or esi, 0x2000
cmp si, 0x10
je 0x41dd73
push 0x10
call edi
test ax, ax
jge 0x41dd73
or esi, 0x4000
cmp si, 0x12
je 0x41dd88
push 0x12
call edi
test ax, ax
jge 0x41dd88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41dd9b
mov esi, 0xbd
jmp 0x41dd4f
cmp si, 0x6e
jne 0x41dda8
mov esi, 0xbe
jmp 0x41dd4f
cmp si, 0x6f
jne 0x41dd49
mov esi, 0xbf
jmp 0x41dd4f

Function at 0x41f550
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b48c0]
xor edx, edx
cmp eax, edx
jne 0x41f576
xor eax, eax
mov byte [eax + 0x4b47c0], al
inc eax
cmp eax, 0x100
jl 0x41f55e
mov dword [0x4b48c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b47c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41f607
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 0x41f5da
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 0x41f5a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41f680
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 0x41f6d3
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 0x41f6ba
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 0x426110
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 0x4262a8
cmp ebp, ebx
jle 0x4262a8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42616e
dec eax
or eax, 0xfffffff8
inc eax
je 0x426175
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x426184
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42618b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045cad2
add esp, 4
cmp eax, ebx
je 0x4261ac
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.0045cad2
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 0x42629e
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 0x426285
mov al, byte [edx]
cmp al, 0xc0
jbe 0x426271
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x426266
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 0x426274
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x426274
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x426210
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 0x426201
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
Function at 0x4292c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x469558
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x4292f9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.0046447f
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004644cb
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00429380
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00464508
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24