joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57635c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
xor ebx, ebx
call fcn.004b9988
mov edi, eax
jmp 0x576428
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050edd8
sub ax, 1
je 0x576432
sub ax, 0x64
je 0x576432
sub ax, 0x64
je 0x576432
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x576480
call fcn.00515890
mov ebp, eax
test ebp, ebp
jne 0x5763c4
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x576490
call fcn.00515890
mov ebp, eax
test ebp, ebp
jne 0x5763db
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x5764a0
call fcn.00515890
mov ebp, eax
test ebp, ebp
jne 0x5763f2
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x5764b0
call fcn.00515890
mov ebp, eax
test ebp, ebp
jle 0x576410
mov edx, ebp
mov eax, dword [0x5865d0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00511884
push 0x3e8
call sub.kernel32.dll_Sleep_2
call fcn.004b9988
sub eax, edi
cmp eax, 0xea60
ja 0x576432
push 0x3e8
call sub.kernel32.dll_Sleep_2
cmp byte [esi + 0xd], 0
je 0x576370
mov eax, dword [0x586a98]
mov eax, dword [eax]
mov edx, 0x5764c0
call fcn.005200a8
push 0x3e8
call sub.kernel32.dll_Sleep_2
mov eax, dword [0x586404]
mov eax, dword [eax]
mov dword [eax + 0x5a8], 9
jmp 0x57646a
push 0x3e8
call sub.kernel32.dll_Sleep_2
cmp byte [esi + 0xd], 0
je 0x576460
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x576ef0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], eax
mov esi, dword [0x5865d0]
lea edi, [ebp - 0x6c]
xor eax, eax
push ebp
push 0x57702f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
call fcn.00409c3c
cmp dword [ebp - 0x70], 0
je 0x577019
jmp 0x57700c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x134], 0
je 0x577019
lea ecx, [ebp - 0x38]
mov eax, dword [esi]
mov edx, 0xa
call fcn.0050d67c
test al, al
je 0x577019
push ebp
mov eax, edi
call fcn.00576d94
pop ecx
test al, al
je 0x577019
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x134]
dec eax
je 0x576f87
dec eax
je 0x576f95
dec eax
je 0x576f9f
dec eax
je 0x576fa9
jmp 0x576faf
mov eax, dword [ebp - 0x24]
shr eax, 8
jne 0x577019
jmp 0x576faf
mov eax, dword [ebp - 0x24]
shr eax, 0x10
jne 0x577019
jmp 0x576faf
mov eax, dword [ebp - 0x24]
shr eax, 0x18
jne 0x577019
jmp 0x576faf
test byte [ebp - 0x20], 0xff
ja 0x577019
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [edi + 4]
push eax
push 0xffff
push 0xffff
push 0xffff
mov eax, dword [esi]
or ecx, 0xffffffff
mov edx, 7
call fcn.00511640
call fcn.004b9988
mov ebx, eax
jmp 0x577003
push 0x32
call sub.kernel32.dll_Sleep_2
mov ecx, edi
mov eax, dword [esi]
mov edx, dword [edi + 4]
call fcn.0050d67c
test al, al
je 0x57700c
call fcn.004b9988
sub eax, ebx
cmp eax, 0x12c
ja 0x57700c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x576fde
mov eax, dword [ebp - 4]
cmp byte [eax + 0xd], 0
je 0x576f38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x577036
lea eax, [ebp - 0x70]
call fcn.004051a8
ret
Function at 0x578244
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0050eb28
xor eax, eax
push ebp
push 0x5782e6
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
call fcn.004b9988
mov ebx, eax
jmp 0x5782c0
call fcn.004b9988
sub eax, ebx
mov ecx, 0x96
xor edx, edx
div ecx
cmp esi, eax
ja 0x57829b
mov edx, edi
mov eax, dword [ebp + 8]
movzx ecx, word [eax - 6]
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.00511a74
inc esi
call fcn.004b9988
sub eax, ebx
cmp eax, 0x258
ja 0x5782cc
mov eax, dword [0x586a98]
mov eax, dword [eax]
cmp dword [eax + 0x334], 0
jl 0x5782cc
push 0x32
call sub.kernel32.dll_Sleep_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd], 0
je 0x578271
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5782ed
mov eax, dword [0x5865d0]
mov eax, dword [eax]
call fcn.0051163c
ret
Function at 0x5789dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], eax
mov ebx, dword [0x586a98]
xor eax, eax
push ebp
push 0x578b45
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
cmp dword [eax + 0x240], 0
jle 0x578a44
call fcn.004b9988
mov edx, dword [ebp - 0x3c]
sub eax, dword [edx + 0x19c]
xor edx, edx
push edx
push eax
mov eax, dword [ebx]
imul eax, dword [eax + 0x240], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x578a3c
cmp eax, dword [esp]
pop edx
pop eax
jb 0x578aff
jmp 0x578a44
pop edx
pop eax
jl 0x578aff
mov eax, dword [ebx]
cmp dword [eax + 0x238], 0
jle 0x578a85
call fcn.004b9988
mov edx, dword [ebp - 0x3c]
sub eax, dword [edx + 0x1a0]
xor edx, edx
push edx
push eax
mov eax, dword [ebx]
imul eax, dword [eax + 0x238], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x578a81
cmp eax, dword [esp]
pop edx
pop eax
jb 0x578aff
jmp 0x578a85
pop edx
pop eax
jl 0x578aff
mov eax, dword [ebx]
cmp dword [eax + 0x23c], 0
jle 0x578ac2
call fcn.004b9988
mov edx, dword [ebp - 0x3c]
sub eax, dword [edx + 0x1a4]
xor edx, edx
push edx
push eax
mov eax, dword [ebx]
imul eax, dword [eax + 0x23c], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x578abe
cmp eax, dword [esp]
pop edx
pop eax
jb 0x578aff
jmp 0x578ac2
pop edx
pop eax
jl 0x578aff
mov eax, dword [ebx]
cmp dword [eax + 0x35c], 0
jle 0x578b2f
call fcn.004b9988
mov edx, dword [ebp - 0x3c]
sub eax, dword [edx + 0x1a8]
xor edx, edx
push edx
push eax
mov eax, dword [ebx]
imul eax, dword [eax + 0x35c], 0x3e8
cdq
cmp edx, dword [esp + 4]
jne 0x578afb
cmp eax, dword [esp]
pop edx
pop eax
jae 0x578b2f
jmp 0x578aff
pop edx
pop eax
jge 0x578b2f
push ebp
mov eax, 1
call fcn.005786bc
pop ecx
push ebp
mov eax, 2
call fcn.005786bc
pop ecx
push ebp
mov eax, 3
call fcn.005786bc
pop ecx
push ebp
mov eax, 4
call fcn.005786bc
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x578b4c
lea eax, [ebp - 0x38]
call fcn.004051a8
ret

Function at 0x579180
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
xor ebx, ebx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x579144
call sub.user32.dll_EnumWindows
mov eax, ebx
pop ecx
pop edx
pop ebx
ret
Function at 0x5791a4
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405628
mov edi, dword [0x586750]
xor eax, eax
push ebp
push 0x5792f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x2710
mov eax, dword [ebp - 8]
sub eax, 0x31
je 0x5791ef
sub eax, 0x32
je 0x5791ef
sub eax, 0x32
je 0x5791ef
sub eax, 0x32
jne 0x5791f4
mov ebx, 0x7530
call fcn.004b9988
mov esi, eax
xor eax, eax
mov dword [0x58d248], eax
jmp 0x579260
push 0xc8
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.00405638
push eax
push 0
push 2
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x58d248], eax
cmp dword [0x58d248], 0
ja 0x57926b
call fcn.004b9988
sub eax, esi
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x57924b
cmp eax, dword [esp]
pop edx
pop eax
jae 0x579260
jmp 0x57924f
pop edx
pop eax
jge 0x579260
push 0x579304
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [edi]
call fcn.00471804
mov eax, dword [edi]
cmp byte [eax + 0xa4], 0
je 0x579204
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x58d248]
push eax
call sub.kernel32.dll_MapViewOfFile
mov edx, dword [0x586404]
mov dword [edx], eax
mov eax, dword [0x586404]
cmp dword [eax], 0
jne 0x5792c8
mov eax, dword [0x586404]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x388], edx
mov dword [eax + 0x38c], edx
jmp 0x5792bb
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [edi]
call fcn.00471804
mov eax, dword [edi]
cmp byte [eax + 0xa4], 0
je 0x5792aa
jmp 0x5792cc
mov byte [ebp - 9], 1
mov eax, dword [0x586404]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [eax + 0x5d0], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5792f9
lea eax, [ebp - 4]
call fcn.004051a8
ret
Function at 0x57ac20
Capabilities:
Create thread

Disassembly:
push ecx
push esp
push 0
push 0
push 0x57a1f8
push 0
push 0
call sub.kernel32.dll_CreateThread_1
pop edx
ret
Function at 0x7951e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov cl, byte [esp]
setne bh
lea eax, [eax + edi]
mov bp, word [esp]
mov di, word [esp]
xchg edi, edx
jmp 0x7950d1
lea eax, [edx*4]
lea ebp, [ecx - 0x2b]
mov dl, byte [esp]
neg ebx
mov dl, dh
mov bl, 0xe0
jmp 0x795088
lea esp, [esp + 1]
mov bp, 0x1a63
pop dword [esp + 0xd]
mov ax, word [esp + 9]
mov ch, byte [esp + 0xa]
jmp 0x7950e0
mov dl, dh
mov al, ah
pushal
inc ax
push dword [esp + 0x18]
rdtsc
jmp 0x7950b6
lea esi, [eax + 0xb1]
lea edx, [ecx*4]
add esp, 0xe
add esp, 3
pop ecx
mov edx, dword [esp + 9]
jmp 0x795170
cmc
add esp, 1
lea esp, [esp + 1]
pushal
inc bl
mov dl, 0x3c
jmp 0x7950a1
mov ecx, dword [esp]
mov si, 0xbb61
add esp, 1
not bx
inc cl
cpuid
jmp 0x795159
lea ecx, [ecx + 0x9b]
btc ebx, edi
xchg di, bp
rcr ebp, 0x1f
add esp, 1
lea edx, [ebp - 0x47]
jmp 0x795110
rcl si, cl
xchg byte [esp + 4], al
pop bp
mov di, dx
lea esp, [esp + 9]
mov eax, ebp
jmp 0x795129
mov ebp, ecx
sub esp, 0x18
lea ebx, [edx + esi]
push dword [esp + 0xa]
inc bp
jmp 0x79519e
rdtsc
push esp
bswap esi
xchg word [esp + 7], bx
bsf cx, ax
neg ch
jmp 0x795145
xchg byte [esp + 0x1a], dl
stc
btr ebp, esp
and ecx, ecx
btc ebx, ebx
neg bx
jmp 0x7951b5
mov dword [esp + 0xa], ecx
mov bx, di
xchg byte [esp + 2], bl
setae ch
mov al, ah
mov bp, word [esp + 0xb]
jmp 0x795182
shr ah, 1
lea edi, [ebx*4]
mov ax, sp
bsf di, ax
call fcn.00795222
pop dword [esp]
pop word [esp]
jmp 0x795101

Function at 0x795480
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop cx
bswap edi
mov dword [esp], ebp
push edx
jmp 0x79545d

Function at 0x79552e
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop edi
mov byte [esp + 1], ch
add esp, 5
rdtsc
mov si, word [esp]
jmp 0x795588
pushal
not edi
mov ebx, esi
mov dword [esp + 2], ebp
mov bh, byte [esp + 0x1f]
lea eax, reloc.KERNEL32.dll_WriteConsoleW

Function at 0x795ea8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 6]
lea edi, [edi + ebp]
mov byte [esp + 5], bh
xchg dword [esp + 8], eax
setge ah
jmp 0x795eab
push esp
jmp 0x795e8f
pop word [esp + 6]
push word [esp + 1]
xchg dword [esp + 8], ebx
mov dword [esp + 6], esi
bswap edi
rdtsc
jmp 0x795f05
xchg si, dx
xchg word [esp], si
rdtsc
mov al, ah
mov bx, di
mov dh, byte [esp + 0x14]
jmp 0x795f47
pop ebx
rdtsc
bswap ecx
sub esp, 0x10
pop dword [esp + 0xf]
mov byte [esp + 7], ch
jmp 0x795ee8
rdtsc
add al, dh
neg ecx
inc di
push dword [esp + 0x14]
rdtsc
jmp 0x796741
mov eax, dword [esp + 0x15]
lea edi, [ecx + 0xb3]

Function at 0x79b892
Capabilities:
Parse pe header

Disassembly:
push dword [esp]
jmp 0x79b89b
mov dword [esp], eax
push word [esp + 4]
push esp
mov byte [esp + 3], bh
push edx
pop word [esp + 8]
jmp 0x79c2d2
pop word [esp + 0xf]
pop word [esp + 0x19]
pushal
pop word [esp + 0x37]
call fcn.0079b917
pushfd
adc dword [ecx + reloc.KERNEL32.dll_WriteConsoleW], eax
xchg edx, eax
add byte [edi - 0x6e], ah
jns 0x79ba10
pop ss
xchg edx, esp
adc esp, edi
sbb cl, byte [eax + 0x6a88791e]
mov ah, 0x25
mov ch, 0xdc
das
invalid
lea esp, [esp + 0xa]
lea esp, [esp + 3]
mov dword [esp], ebx
pushal
push esp
mov word [esp + 0x18], bx
jmp 0x79ba52
Function at 0x79b900
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], eax
lea esp, [esp + 3]
mov byte [esp], ah
call 0x79b900
lea esp, ss:[esp]
lea esp, [esp + 1]
mov dword [esp], esp
jmp 0x79b93e
lea esp, [esp + 0x42]
push edx
jmp 0x79b8f0
push edx
mov byte [esp + 1], bh
push word [esp + 3]
push word [esp + 5]
mov word [esp + 4], sp
pushal
call fcn.0079b91e

Function at 0x79b917
Capabilities:
Parse pe header

Disassembly:
mov dword [esp], eax
lea esp, [esp + 3]
mov byte [esp], ah
call 0x79b900
lea esp, ss:[esp]
lea esp, [esp + 1]
mov dword [esp], esp
jmp 0x79b93e
lea esp, [esp + 0x42]
push edx
jmp 0x79b8f0
push edx
mov byte [esp + 1], bh
push word [esp + 3]
push word [esp + 5]
mov word [esp + 4], sp
pushal
call fcn.0079b91e

Function at 0x79b91e
Capabilities:
Parse pe header

Disassembly:
jmp 0x79ba2e
pop word [esp + 9]
lea esp, [esp + 3]
mov dword [esp + 0x28], ebp
pushal
mov word [esp + 4], sp
jmp 0x79b980
mov byte [esp + 0x12], ah
pushal
pushal
lea esp, [esp + 0x60]
call fcn.0079b958
push esp
mov byte [esp + 0x23], ch
lea esp, [esp + 0x1f]
push edx
pop dword [esp + 3]
pushal
jmp 0x79b923

Function at 0x79b958
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.0079b00b
mov byte [esp + 1], ch
pushal
jmp 0x79b963
mov dword [esp + 0x48], esi
push esp
mov dword [esp], ebp
pop word [esp]
push word [esp + 1]
pop word [esp]
jmp 0x79ba02
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x79b006
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x79b98f
mov word [esp + 2], dx
mov dword [esp], eax
mov word [esp + 2], sp
lea esp, [esp + 2]
mov dword [esp + 0x48], edi
lea esp, [esp + 0x48]
jmp 0x79b9b6
lea esp, [esp + 1]
pushal
mov word [esp + 0x1c], dx
lea esp, [esp + 0x1b]
mov byte [esp + 3], bh
mov dword [esp], eax
jmp 0x79b9db
Function at 0x40ab10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4768db
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.00469071
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ab92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004669ed
mov eax, dword [eax]
push 0x5711e0
push eax
call fcn.00458d64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004692fc
test bl, bl
je 0x40ab92
push 0x5711e0
lea ecx, [esp + 0xc]
call fcn.004696d8
push 0x574d5c
lea ecx, [esp + 0xc]
call fcn.004696d8
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 0x40abce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004692fc
jmp 0x40ac99
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 0x40ac52
lea edx, [esp + 0x7c]
push 0x574d58
push edx
call fcn.00458d64
add esp, 8
test eax, eax
je 0x40ac52
lea eax, [esp + 0x7c]
push 0x574d54
push eax
call fcn.00458d64
add esp, 8
test eax, eax
je 0x40ac52
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 0x40abe2
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.004692fc
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 0x40b490
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 0x40b4f2
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 0x40b500
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47695b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57c118]
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 0x40b638
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b566
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004692fc
xor eax, eax
jmp 0x40b6af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00469485
push esi
lea ecx, [esp + 0xc]
call fcn.00469714
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 0x40b68d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0040b490
test eax, eax
jne 0x40b68d
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 SysReAllocStringLen
mov ecx, edi
call fcn.0040b490
test eax, eax
jne 0x40b68d
lea eax, [esp + 0x14]
push 0x574d70
push eax
call fcn.00459e40
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b66c
lea ecx, [esp + 0x14]
push 0x574d6c
push ecx
call fcn.00459dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b66c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b66f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00469435
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b57e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004692fc
xor eax, eax
jmp 0x40b6af
mov byte [esi], 0
push 0x574d68
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.004692fc
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 0x41cdb0
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 0x41ce1e
cmp si, 0x69
ja 0x41ce1e
add esi, 0xffd0
cmp si, 0x11
je 0x41cdee
push 0x11
call edi
test ax, ax
jge 0x41cdee
or esi, 0x2000
cmp si, 0x10
je 0x41ce03
push 0x10
call edi
test ax, ax
jge 0x41ce03
or esi, 0x4000
cmp si, 0x12
je 0x41ce18
push 0x12
call edi
test ax, ax
jge 0x41ce18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41ce2b
mov esi, 0xbd
jmp 0x41cddf
cmp si, 0x6e
jne 0x41ce38
mov esi, 0xbe
jmp 0x41cddf
cmp si, 0x6f
jne 0x41cdd9
mov esi, 0xbf
jmp 0x41cddf

Function at 0x41e4d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58cf38]
xor edx, edx
cmp eax, edx
jne 0x41e4f6
xor eax, eax
mov byte [eax + 0x58ce38], al
inc eax
cmp eax, 0x100
jl 0x41e4de
mov dword [0x58cf38], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58ce38
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e587
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 0x41e55a
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 0x41e528
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e600
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 0x41e653
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 0x41e63a
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 0x425090
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 0x425228
cmp ebp, ebx
jle 0x425228
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 0x4250ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4250f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x425104
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42510b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046903d
add esp, 4
cmp eax, ebx
je 0x42512c
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.0046903d
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 0x42521e
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 0x425205
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4251f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4251e6
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 0x4251f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4251f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x425190
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 0x425181
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