joyce8/EMBER2024-capa huggingface dataset:
Function at 0x607930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
or ebp, 0xffffffff
jmp 0x607952
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x607959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x607948
mov eax, 1
add ebx, ebx
jne 0x60796b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60797c
jne 0x60799b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60799b
dec eax
add ebx, ebx
jne 0x607988
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x607960
add ebx, ebx
jne 0x607997
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6079ed
xor ecx, ecx
sub eax, 3
jb 0x6079b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x607a22
sar eax, 1
mov ebp, eax
jmp 0x6079be
add ebx, ebx
jne 0x6079be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60798c
inc ecx
add ebx, ebx
jne 0x6079cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60798c
add ebx, ebx
jne 0x6079d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6079ce
jne 0x6079ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6079ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x607a0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6079fe
jmp 0x60794e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x607a0c
add edi, ecx
jmp 0x60794e
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x607a2a
cmp byte [edi], 6
jne 0x607a2a
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 al, bl
loop 0x607a2f
lea edi, [esi + 0x205000]
mov eax, dword [edi]
or eax, eax
je 0x607a9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x214be4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x214c20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x607a5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x214c24]
or eax, eax
je 0x607a98
mov dword [ebx], eax
add ebx, 4
jmp 0x607a79
call dword [esi + 0x214c2c]
mov ebp, dword [esi + 0x214c28]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x607ad2
sub esp, 0xffffff80
jmp 0x403861
Function at 0x5ffedd
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x1a
push dword [esp + 0xe]
clc
push dword [esp + 0x18]
add esp, 0xf
lea esp, [esp + 3]
jmp 0x5fff4e
call 0x5ffedd
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x69685320
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
and byte [esi + 0x32], dh
xor dword cs:[esi], ebp
cmp dword [esi], ebp
xor byte [eax], al
pushfd
jmp 0x5ffe93
mov bl, bh
stc
mov esi, ebp
mov dword [esp], eax
mov dword [esp], ecx
add esp, 3
jmp 0x5fffe9
mov si, bx
lea eax, [eax + 0x39]
mov dword [esp], eax
xchg word [esp + 1], si
xchg dx, cx
rdtsc
jmp 0x5ffef3
push esp
rdtsc
mov byte [esp + 2], ah
xchg byte [esp + 2], cl
lea ebx, [eax + 0x4f60f269]
cpuid
jmp 0x5fff09
lea esp, [esp + 0x10]
pushal
mov dl, byte [esp]
mov ebx, eax
lea eax, [esp + ecx]
inc ebx
jmp 0x5fff2f
mov ax, 0x7941
setne ch
mov dl, dh
neg dx
btc edi, ebx
xchg ecx, eax
jmp 0x5fffca
Function at 0x6002b5
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0
bswap ebx
btr edi, edx
lea esp, [esp + 9]
mov al, ah
jmp 0x60031b
cmc
lea edi, [edx + ebp]
lea ecx, [ebx*4]
sub esp, 0xe
xchg edx, edi
jmp 0x6002f5
mov dl, dh
mov dl, 0x24
pop edi
not di
rdtsc
pop word [esp + 5]
jmp 0x600388
mov ebp, 0x1d957fa2
rdtsc
xchg bp, bx
mov cl, 0xb2
mov byte [esp + 3], dh
cpuid
jmp 0x6002c5
xchg dword [esp + 8], edx
xchg ebp, edi
mov dx, word [esp + 6]
mov word [esp + 0xe], sp
mov bl, 0x48
add esp, 7
call fcn.00600354
mov edx, dword [esp]
xor cx, 0x7a74
mov eax, dword [esp]
cpuid
lea edx, [esi + 0x95]
jmp 0x6003cd
mov bl, 8
mov al, ah
mov eax, dword [esp]
mov cl, byte [esp]
rdtsc
mov edi, ecx
jmp 0x600423
mov byte [esp + 1], ah
not ebp
xchg byte [esp], al
xchg bh, cl
xchg byte [esp], dl
and cl, bh
jmp 0x600431
cmc
cmc
neg bp
push edx
add esp, 1
neg ax
jmp 0x600408
mov eax, 0xd2f0a76
and ebp, ecx
mov dx, word [esp]
bsr bp, bp
mov di, 0xc2db
xchg ecx, eax
jmp 0x600478
bswap ebp
xchg cx, bx
xchg ah, bl
xor dl, ch
btr edi, edx
xchg bp, ax
jmp 0x600546
mov word [esp], bx
btc ebx, ebx
mov word [esp], bx
mov word [esp], dx
lea esp, [esp]
mov di, 0xd887
jmp 0x60045a
sete bh
pushal
mov word [esp + 0x12], di
xchg word [esp + 9], bx
mov bh, byte [esp + 3]
mov ecx, 0xe4e0b224
jmp 0x6004fd
mov cl, ch
mov esi, 0xec609374
setne bh
ror edi, 3
mov eax, dword [esp]
mov bx, 0xc5e9
jmp 0x6004ae
xchg ch, dl
btr eax, esp
neg bp
mov cl, 0x12
cpuid
btc ecx, ebx
jmp 0x600523
cld
not bx
lea esp, [esp + 0xd]
cpuid
btc esi, ebx
cpuid
jmp 0x6004e5
pop ax
pop edx
sub esp, 0x1a
mov dword [esp + 3], esi
cld
popal
jmp 0x6004cf
mov cl, ch
xchg word [esp], cx
xchg ebx, edx
xchg byte [esp + 0x10], dl
xchg word [esp], bx
pop word [esp + 0xa]
jmp 0x600559
setnp ah
mov esi, ebp
add esp, 1
sub esp, 6
push edx
mov word [esp + 6], di
jmp 0x600515
push dword [esp + 0xa]
pop si
clc
xchg word [esp + 8], ax
mov bp, 0x9ad3
lea edx, [ebp - 0x87]
jmp 0x6006a1
bswap eax
mov ecx, dword [esp + 0xb]
not bh
mov bx, word [esp + 6]
call fcn.0060058c
adc edx, dword [ecx + 0x70936001]
nop
lea edx, [esi - 0xf5]
setns ch
pop dword [esp + 4]
rdtsc
mov word [esp + 8], sp
push dword [esp + 2]
jmp 0x6005a7
xchg byte [esp + 0xe], dl
mov al, 0xe6
clc
lea ebx, [ecx - 0x30c11645]
pop word [esp + 5]
xchg dword [esp + 3], ebx
jmp 0x6005c0
pop word [esp + 0xb]
not ax
mov dx, 0x886d
cmc
pop dword [esp]
mov ebx, 0x1466e77a
jmp 0x6005f2
mov word [esp], dx
mov dx, bx
push word [esp + 0xf]
bsf bx, ax
push word [esp + 0xa]
xchg word [esp + 8], bx
jmp 0x600613

Function at 0x600354
Capabilities:
Execute anti-debugging instructions

Disassembly:
btr eax, edx
rol bx, cl
xchg byte [esp + 2], cl
rdtsc
pop edx
add esp, 0xa
jmp 0x600371
jmp 0x60032f
add esp, 4
not ebp
bswap esi
sub esp, 0x18
setg bh
mov word [esp + 0x10], sp
jmp 0x60044e
cpuid
mov byte [esp], bh
cmc
mov dh, byte [esp]
push edx
cld
jmp 0x600356
mov bl, 0x90
bsr bp, cx
mov cl, 0x9a
cld
xchg bx, bp
setne bh
jmp 0x6003a2
mov al, 0x4e
sub esp, 0x16
lea esp, [esp + 0x43]
mov si, 0xe1a9
xchg ebx, esi
lea eax, [ebp*4]
jmp 0x6003bc
xchg edx, eax
add al, dh
not ebp
clc
clc
sub esp, 0x14
jmp 0x6003f0
Function at 0x60073b
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc eax
setnp dh
push edx
bsf si, si
lea esp, [esp + 9]
push word [esp + 1]
xchg edi, ecx
mov dl, dh
ror eax, 3
mov esi, ebp
xchg word [esp + 3], di
jmp 0x6006c0
mov cx, di
mov bl, 0xa8
neg di
pop dword [esp]
jmp 0x6006e4

Function at 0x600aa5
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, eax
mov eax, 0x4db2330e
xchg word [esp + 1], dx
xchg dword [esp + 5], ebx
bswap ebp
jmp 0x600aea
btr esi, esp
xchg ch, dl
jmp 0x600a8d
mov cx, 0x24c3
push edx
mov bl, bh
rdtsc
neg di
rcr edx, 0x1b
jmp 0x600d28
xchg bh, cl
mov byte [esp + 5], bh
rcr esi, 5
mov ah, byte [esp + 1]
ror ch, 5
push word [esp + 7]
jmp 0x600aac
rdtsc
mov cl, 0x42
bsf bp, si
mov di, 0x3139
inc cl
inc al
jmp 0x600ac4
mov dh, byte [esp + 0x19]
mov di, word [esp + 2]
pop word [esp + 5]
xchg bx, ax
jmp 0x600b6a
bswap ebx
lea esp, [esp + 4]
xchg dh, al
and bp, 0xea02
sub esp, 6
ror bh, 3
jmp 0x600b1e
mov dword [esp + 1], eax
mov ax, 0xc269
rol cx, cl
btr edx, edx
push word [esp + 0x1c]
mov word [esp + 6], bx
jmp 0x600c0e
xchg word [esp + 0xf], si
xchg edx, eax
not cx
setae ah
push word [esp + 0xc]
not edi
jmp 0x600b4c
pop ax
setnp bh
xchg byte [esp + 4], cl
btc edx, ebx
xor dx, 0x4fb4
jmp 0x600b37
xor ebx, esi
neg ch
pushal
mov bl, 0xd0
mov cl, ch
pop cx
jmp 0x600b88
pushal
mov dword [esp + 0xd], eax
neg si
mov dl, 0x9c
sub ebx, eax
stc
jmp 0x600bf4
bswap esi
mov al, ah
lea esp, [esp + 0xd]
cpuid
mov ax, sp
mov al, ah
jmp 0x600bac
bswap edx
mov edx, ecx
xor ebx, esi
pushal
stc
sub esp, 0x16
jmp 0x600cb2
setne dh
pushal
lea esp, [esp + 0x55]
mov ecx, dword [esp]
mov ebp, dword [esp]
mov bx, 0xc881
jmp 0x600bde
mov cl, 0x52
cpuid
xchg dword [esp + 0xa], edx
rdtsc
lea esp, [esp + 1]
mov dh, byte [esp + 0x1d]
jmp 0x600bcd
xchg ah, bl
call fcn.00600c4f
add esp, 0
bswap edx
mov esi, 0x5a3c32ba
lea esp, [esp]
mov di, 0xade9
inc di
jmp 0x600d0d
mov ecx, 0x2e96bd26
mov dl, dh
sub esp, 0x1c
pushal
bswap eax
push dword [esp + 0x11]
jmp 0x601f32
lea esp, [esp + 6]
add esp, 0xc
bsr cx, cx
sub esp, 0xa
rcr dh, 7
add esp, 8
jmp 0x600b9f
lea edi, [ebx*4]
cmc
cpuid
lea ecx, [esi - 0x9d]
mov esi, dword [esp]
mov bl, byte [esp]
jmp 0x600d8e
xchg bh, cl
setnp bh
mov cl, byte [esp]
mov ax, bx
mov esi, dword [esp]
mov cl, byte [esp]
jmp 0x600d41
mov ax, word [esp]
mov cl, byte [esp]
call fcn.00600d77
mov al, ah
mov dword [esp], ebp
xchg word [esp + 1], bx
mov edi, dword [esp + 3]
mov dl, 0x2c
mov cx, 0x6cb1
jmp 0x600dd1
lea ecx, [edx + ebp]
bsr si, cx
mov bl, 0x30
setne dh
btc ebx, edi
neg ebp
jmp 0x600d64
sub esp, 0xa
mov bh, byte [esp + 0xd]
rdtsc
call fcn.00600fbf
xlatb
inc esi
aam 0xb3
dec esi
mov edi, 0xc8a95e77
imul eax, dword [edx - 0x3878200a], 0xf
mov bl, 0xd3
neg bh
xchg edi, eax
btr ebx, edx
inc eax
mov cl, 0xa
xchg bx, cx
jmp 0x600dbe
lea esp, [esp + 0x41]
mov bp, word [esp]
lea edx, [ebp - 0x35a56b81]
mov bl, byte [esp]
not di
xchg dh, al
jmp 0x600deb
Function at 0x6012d2
Capabilities:
Parse pe header

Disassembly:
call fcn.00600045
push word [esp + 5]
jmp 0x601326
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x60137f
pop word [esp + 1]
lea esp, [esp + 3]
mov dword [esp + 0x6c], edi
lea esp, [esp + 0x6c]
mov eax, dword fs:[0x30]
jmp 0x601303
mov eax, dword [eax + 8]
push eax
jmp 0x600040

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x40c184
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x410fa9
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x410fcb
mov eax, 0xfffffffd
jmp 0x411043
mov ebx, dword [0x1401fb8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x411011
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x1401fb8]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x411039
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x411043
mov esp, ebp
pop ebp
ret 4
Function at 0x462070
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ee46b
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.004e206e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4620f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004df354
mov eax, dword [eax]
push 0x13ef288
push eax
call fcn.004cd774
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e22f9
test bl, bl
je 0x4620f2
push 0x13ef288
lea ecx, [esp + 0xc]
call fcn.004e2689
push 0x13f2e0c
lea ecx, [esp + 0xc]
call fcn.004e2689
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 0x46212e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e22f9
jmp 0x4621f9
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 0x4621b2
lea edx, [esp + 0x7c]
push 0x13f2e08
push edx
call fcn.004cd774
add esp, 8
test eax, eax
je 0x4621b2
lea eax, [esp + 0x7c]
push 0x13f2e04
push eax
call fcn.004cd774
add esp, 8
test eax, eax
je 0x4621b2
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 0x462142
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.004e22f9
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 0x4629f0
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 0x462a52
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 0x462a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ee4eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x13fd584]
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 0x462b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x462ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e22f9
xor eax, eax
jmp 0x462c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e2436
push esi
lea ecx, [esp + 0xc]
call fcn.004e26c5
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 0x462bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004629f0
test eax, eax
jne 0x462bed
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004629f0
test eax, eax
jne 0x462bed
lea eax, [esp + 0x14]
push 0x13f2e20
push eax
call fcn.004ce880
mov esi, eax
add esp, 8
test esi, esi
jne 0x462bcc
lea ecx, [esp + 0x14]
push 0x13f2e1c
push ecx
call fcn.004ce800
mov esi, eax
add esp, 8
test esi, esi
jne 0x462bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x462bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e23e6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x462ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e22f9
xor eax, eax
jmp 0x462c0f
mov byte [esi], 0
push 0x13f2e18
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.004e22f9
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 0x474c80
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 0x474cee
cmp si, 0x69
ja 0x474cee
add esi, 0xffd0
cmp si, 0x11
je 0x474cbe
push 0x11
call edi
test ax, ax
jge 0x474cbe
or esi, 0x2000
cmp si, 0x10
je 0x474cd3
push 0x10
call edi
test ax, ax
jge 0x474cd3
or esi, 0x4000
cmp si, 0x12
je 0x474ce8
push 0x12
call edi
test ax, ax
jge 0x474ce8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x474cfb
mov esi, 0xbd
jmp 0x474caf
cmp si, 0x6e
jne 0x474d08
mov esi, 0xbe
jmp 0x474caf
cmp si, 0x6f
jne 0x474ca9
mov esi, 0xbf
jmp 0x474caf

Function at 0x476750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x140e988]
xor edx, edx
cmp eax, edx
jne 0x476776
xor eax, eax
mov byte [eax + 0x140e888], al
inc eax
cmp eax, 0x100
jl 0x47675e
mov dword [0x140e988], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x140e888
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x476807
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 0x4767da
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 0x4767a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x476880
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 0x4768d3
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 0x4768ba
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 0x47d310
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 0x47d4a8
cmp ebp, ebx
jle 0x47d4a8
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 0x47d36e
dec eax
or eax, 0xfffffff8
inc eax
je 0x47d375
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x47d384
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x47d38b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004e203a
add esp, 4
cmp eax, ebx
je 0x47d3ac
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.004e203a
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 0x47d49e
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 0x47d485
mov al, byte [edx]
cmp al, 0xc0
jbe 0x47d471
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x47d466
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 0x47d474
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x47d474
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x47d410
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 0x47d401
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 0x47f700
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.004e38b9
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret