joyce8/EMBER2024-capa huggingface dataset:
Function at 0x697dc8
Capabilities:
Hash data with md5

Disassembly:
mov dword [esp], esp
jmp 0x697df1
push ebp
mov ebp, eax
lea ebp, [ebp + 0x10]
jmp 0x697dfd
push esi
mov esi, 0x1bc6e5fe
lea esi, reloc.WINMM.dll_midiStreamOut
mov dword [ebp], esi
pop esi
jmp 0x6cc40d
pop ebp
call fcn.006cc4a5
jmp 0x6cc474
and dword [eax], 0
jmp 0x6cc44f
mov dword [eax + 8], reloc.WINMM.dll_midiStreamOut
call fcn.006cc439
mov dword [eax + 0xc], reloc.WINMM.dll_midiStreamOut
jmp 0x6cc486
mov word [esp], bx
pop word [esp]
lea esp, [esp + 2]
and dword [eax + 4], 0
jmp 0x6cc415
mov dword [eax + 0x10], reloc.WINMM.dll_midiStreamOut
pushal
lea esp, [esp + 0x20]
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x6a5de0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
mov byte [esp + 3], ah
mov byte [esp + 3], cl
mov dword [esp + 0x24], edi
jmp 0x6a5e6a
jmp dword [esi - 9]
lea esp, [esp + 0x24]
pushfd
call fcn.006a5e2f
mov esi, dword [esp + 0x2c]
rol ecx, 4
jmp 0x6a5e94
not ax
sub dh, 0x98
jns 0x6a5e74
js 0x6a5e74
jb 0x6a5eaa
rdtsc
rol di, cl
jmp 0x6a5eb7
rdtsc
rol di, cl
xchg ecx, ebx
jmp 0x6a5efa
xchg ecx, ebx
call fcn.006a5ed4
xor byte [edx + edx*2 + 0x605c435], bh
mov dword [ecx], ebx
js 0x6a5e54
dec esp
test al, 0xcb
bound ebx, qword [ebp + 0x22b7ffec]
jmp 0x6a5e8a
jmp 0x6a5f10
lea ebp, [esp]
not al
mov edx, dword [esp]
lea edi, [ebx + edi]
shl ecx, cl
jmp 0x6a5f8d
sub esp, 0xc0
mov edi, esp
neg bx
jmp 0x6a5f91
mov edx, dword [esp]
jmp 0x6a5f7d
xchg ebx, ecx
xchg edx, eax
mov edx, dword [esp]
mov ebx, esi
lea edx, [esi + edi]
pushal
mov ah, cl
jmp 0x6a6015
jl 0x6a5f3b
jge 0x6a5f3b
jl 0x6a5f77
xchg ebx, ecx
xchg edx, eax
jmp 0x6a5f48
mov ah, 0xc3
bswap edx
bt ecx, esp
jl 0x6a5ffa
mov ax, 0x16c9
mov al, byte [esp]
jmp 0x6a60b4
mov dx, bx
mov ax, sp
xor esi, 0x2b26d6d6
xchg ecx, edx
lea edx, [eax*4]
jmp 0x6a5fb7
mov al, byte [esp]
mov dl, byte [esp]
jmp 0x6a6088
mov ax, 0x16c9
jmp 0x6a5fe4
mov byte [esp + 5], dl
lea ecx, [ecx + ecx]
lea eax, [esp + ecx]
xchg ah, ch
lea ecx, reloc.WINMM.dll_midiStreamOut
mov eax, 0x802ca28
jmp 0x6a5fcd
push ebx
push word [esp + 2]
bswap edx
jmp 0x6a605c
jmp 0x6a602e
rol dx, 7
jl 0x6a6067
mov eax, esp
bt cx, bp
mov eax, dword [esp]
jmp 0x6a606f
not eax
lea esp, [esp + 2]
ror esi, 0
jmp 0x6a6046
mov eax, esp
bt cx, bp
jmp 0x6a60cf
sub esp, 0xa
setb dl
jmp 0x6a60d8
dec esi
xchg ah, ch
xchg edx, eax
stc
jo 0x6a6044
push ebx
push word [esp + 2]
bswap edx
not eax
lea esp, [esp + 2]
jmp 0x6a6062
mov dl, byte [esp]
jmp 0x6a6088
lea esp, [esp + 0xc]
add esi, 0xd329383
mov eax, edi
sub esp, 0x17
jmp 0x6a60e7
mov eax, dword [esp]
sub esp, 0xa
setb dl
neg dx
lea edx, [edx + 0xca]
lea esp, [esp + 2]
jmp 0x6a60b9
jo 0x6a60fd
clc
sbb ch, 0x24
jmp 0x6a6169
clc
sbb ch, 0x24
bswap edx
lea esp, [esp + 6]
lea esp, [esp + 1]
jmp 0x6a6130
add esi, dword [ebp]
mov dh, 0xcf
lea ecx, [ecx*4]
xchg ch, dh
jmp 0x6a6140
lea esp, [esp + 0x10]
sub esi, 0x621ab02a
xchg dh, cl
not ch
jmp 0x6a6119
mov ax, word [esp]
jmp 0x6a61b7
bswap edx
lea esp, [esp + 6]
lea esp, [esp + 1]
jmp 0x6a6130

Function at 0x6b2397
Capabilities:
Hash data with md5

Disassembly:
jmp 0x6b2fea
jmp 0x697e20
jmp 0x6b23f5
jmp 0x697e3f
Function at 0x6b25f0
Capabilities:
Hash data with md5

Disassembly:
and dword [eax], 0
push ebx
pop word [esp]
lea esp, [esp + 2]
jmp 0x697dde
jmp 0x6b3000
mov dword [eax + 8], reloc.WINMM.dll_midiStreamOut
mov dword [eax + 0xc], 0xfea85248
call fcn.00697dc8
jmp 0x697db2
jmp 0x6b262d
pushal
lea esp, [esp + 0x20]
jmp 0x697e1b
and dword [eax + 4], 0
jmp 0x697d9c

Function at 0x6ca1a6
Capabilities:
Encode data using base64

Disassembly:
pop eax
jmp fcn.006c95cb
lea esp, [esp + 4]
jmp 0x6ca0fa

Function at 0x6cb0a9
Capabilities:
Encode data using base64

Disassembly:
pop word [esp]
jmp 0x6cb0f1
lea esp, [esp + 2]
je 0x6cab1e
pushfd
lea esp, [esp + 4]
jmp 0x6cb0cf

Function at 0x6cb102
Capabilities:
Encode data using base64

Disassembly:
mov byte [esp + 1], dh
lea esp, [esp + 4]
je 0x6cab1e
jne 0x6ca9ba

Function at 0x6cb5fb
Capabilities:
Encode data using base64

Disassembly:
cmp al, 0x5a
jmp 0x6cb1ea
push bp
lea esp, [esp + 0x14]
cmp cl, 0x7a
jbe 0x6cab1e
ja 0x6cab07
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x6cb176
lea esp, [esp + 4]
cmp al, 0x2f
call fcn.006cb160
cmp al, 0x39
push ebx
push word [esp + 3]
lea esp, [esp + 2]
jmp 0x6cb202
lea esp, [esp + 0xc]
jb 0x6cab07
sub esp, 0x17
mov dword [esp + 2], esp
lea esp, [esp + 3]
jmp 0x6cb12c
movzx eax, al
push bp
mov word [esp], sp
call fcn.006cab64
out 0x66, eax
hlt
lea esp, [esp + 4]
ja 0x6cab5d
movzx eax, al
stc
call fcn.006cb1e8
lea esp, [esp + 0x20]
sub eax, 0x47
jmp 0x6cab84
push dword [esp + 2]
push ebp
jmp 0x6cb1b8

Function at 0x6cc413
Capabilities:
Hash data with md5

Disassembly:
mov dword [esp], esp
jmp 0x697df1
push ebp
mov ebp, eax
lea ebp, [ebp + 0x10]
jmp 0x697dfd
push esi
mov esi, 0x1bc6e5fe
lea esi, reloc.WINMM.dll_midiStreamOut
mov dword [ebp], esi
pop esi
jmp 0x6cc40d
pop ebp
call fcn.006cc4a5
jmp 0x6cc474
and dword [eax], 0
jmp 0x6cc44f
mov dword [eax + 8], reloc.WINMM.dll_midiStreamOut
call fcn.006cc439
mov dword [eax + 0xc], reloc.WINMM.dll_midiStreamOut
jmp 0x6cc486
mov word [esp], bx
pop word [esp]
lea esp, [esp + 2]
and dword [eax + 4], 0
jmp 0x6cc415
mov dword [eax + 0x10], reloc.WINMM.dll_midiStreamOut
pushal
lea esp, [esp + 0x20]
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x791d9f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp + 1]
pop word [esp + 7]
add esp, 0xb
jmp 0x791de4
mov ecx, edx
not cl
mov cl, al
not edx
push di
xchg bl, al
jmp 0x791e0c
lea ebx, [esp - 0x7a]
bsf edx, edi
lea esp, [esp + 1]
mov dl, bl
cmc
xchg dx, ax
jmp 0x791dce
pop edx
push word [esp]
mov edx, dword [esp + 1]
bts edi, esi
mov di, word [esp]
jmp 0x791e5a
pop bp
xchg cx, si
bt ebx, eax
mov bl, byte [esp]
cpuid
mov ebx, 0x6736a26b
jmp 0x791df6
sub esp, 0xe
lea esp, [esp + 0xc]
rdtsc
mov dh, byte [esp + 1]
jmp 0x791e7f
pop ebp
xchg cl, bl
mov ecx, dword [esp]
mov byte [esp], ch
mov byte [esp], dl
std
jmp 0x791e44
xchg esi, eax
mov si, 0x4815
btr ax, si
sub esp, 0x1b
bsf ax, di
jmp 0x791e93
mov esi, 0x145b3217
btc edi, eax
mov edx, dword [esp]
add esp, 2
rdtsc
mov ah, 0xb7
jmp 0x791e69
not ebp
call fcn.00791f23
lea esi, [edx + ebx]
mov word [esp + 0x12], cx
lea ebx, [edx*4]
sub esp, 0x10
cpuid
jmp 0x791ee1
bsf ebp, eax
mov eax, ebx
clc
pop dword [esp + 7]
ror esi, cl
clc
jmp 0x791efc
xchg dword [esp + 9], ecx
mov cx, word [esp + 0x1f]
xchg byte [esp + 0xe], dh
lea esp, [esp + 0x19]
or esi, 0xf5e0858c
not ebp
jmp 0x791ecb
or al, 3
neg ebx
mov bx, word [esp + 4]
adc cx, bx
lea ebp, reloc.WINMM.dll_midiStreamOut
xchg cx, bx
jmp 0x791f50
or cl, 0x8d
call fcn.00791fae
pushal
not byte [ecx - 0x62f076a0]
or eax, 0x6c02a754
jg 0x791f96
bswap esi
bswap esi
cpuid
xchg byte [esp + 0xb], bl
xchg ah, cl
setp bh
jmp 0x791f39
pop ecx
xchg ch, al
mov bh, 0x76
sub esp, 0xf
neg edx
mov bh, ah
pop dword [esp + 0xd]
jmp 0x791fd9
xchg al, dh
mov edi, 0x1646340a
bts bp, sp
pop word [esp]
jmp 0x791fe9
rcr ebp, cl
add esp, 0x11
lea esp, [esp]
push esi
mov dx, 0xe0cb
stc
jmp 0x791fc3
mov ch, byte [esp + 1]
xchg byte [esp + 1], cl
mov si, word [esp + 2]
cmp bh, dh
jmp 0x793b22
neg edi
cpuid
call fcn.0079202b
or al, 0xa
lea eax, [esi - 0x29]
lea eax, [ebp*4]
ror ecx, cl
and di, dx
bswap edi
jmp 0x792067
xchg byte [esp], dh
lea edx, [edx*4]
lea esp, [esp]
xchg bx, ax
sbb dh, cl
mov bp, word [esp]
jmp 0x792874
mov edx, 0x6e6574dc
neg ah
mov byte [esp], cl
inc ax
add esp, 1
mov ch, byte [esp]
jmp 0x792cb0
mov ah, 0x67
add esp, 1
xchg byte [esp], dl
xchg byte [esp], dl
add esp, 0
ror eax, 0xb
jmp 0x79329b

Function at 0x7921dc
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bx, dx
pop word [esp + 5]
setg dl
xchg byte [esp + 3], ah
jmp 0x792251
mov ecx, 0x174bb1eb
jmp 0x7921c6
neg ecx
push word [esp + 3]
bt dx, sp
xchg edi, esi
mov word [esp + 3], dx
mov bh, bl
jmp 0x792207
cpuid
xchg word [esp], bx
mov esi, dword [esp + 3]
mov dword [esp + 3], esp
pop word [esp + 3]
mov eax, 0xbadf2483
jmp 0x792223
Function at 0x79249f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 2], si
rdtsc
mov dl, ah
mov cl, byte [esp + 1]
push dword [esp]
jmp 0x7924a8
lea ebx, [esi*4]
jmp 0x792489
not dh
lea edi, [eax + edx]
mov ax, 0x9032
rdtsc
inc ebp
lea esp, [esp + 4]
jmp 0x7924f4
setp ch
lea esp, [esp + 1]
dec bl
bts bx, bx
mov byte [esp], bh
mov byte [esp], dh
jmp 0x792547
lea esi, [eax*4]
pop bx
mov bx, di
sbb ebp, ebp
lea ecx, reloc.WINMM.dll_midiStreamOut
mov dh, 0x76
jmp 0x7924d6
mov di, word [esp]
cmp cl, 0x98
lea eax, [eax*4]
jmp 0x79256c
xchg bp, ax
not bl
lea ebx, [eax + edx]
seto dh
mov ch, 0x7b
cpuid
jmp 0x79250c
mov dh, byte [esp]
pop si
mov esi, edi
rcl dl, cl
rol dh, 4
cmc
jmp 0x792522
dec al
xchg di, dx
btr bp, bp
mov esi, ecx
sub esp, 0x1f
jmp 0x792580
lea edi, [ecx + esi]
mov si, word [esp]
mov si, word [esp]
lea eax, [edi + ebp]
xchg cl, bl
rdtsc
jmp 0x792556
mov ah, 0xfe
shl cx, 7
mov word [esp + 0x1c], bx
cpuid
jmp 0x7926f7
lea esp, [esp + 4]
mov byte [esp], bh
push word [esp]
mov word [esp], bx
jmp 0x79265e
setb bl
mov edx, dword [esp + 0x1a]
mov word [esp + 0xc], bp
sub esp, 0x1b
push ebx
xchg word [esp + 0x38], dx
call fcn.007925b7
pushfd
mov dword [esp], esi
mov dword [esp], eax
pushal
lea esp, [esp + 0x1a]
jmp 0x7925c3
cpuid
bswap ebx
sub edx, 0x96ee40d4
mov dh, 0xd1
shl bp, 0xb
mov esi, dword [esp + 7]
jmp 0x7925da
mov dword [esp], ecx
call 0x792648
mov word [esp + 0xf], bx
pop word [esp + 7]
bsr ebx, ebp
xchg ecx, ebx
lea edx, [eax*4]
xchg byte [esp + 0x11], al
jmp 0x792632
Function at 0x40d3f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x480f4b
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.0047527a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40d472
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047277d
mov eax, dword [eax]
push 0x49f220
push eax
call fcn.004649e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475505
test bl, bl
je 0x40d472
push 0x49f220
lea ecx, [esp + 0xc]
call fcn.00475895
push 0x4a2d9c
lea ecx, [esp + 0xc]
call fcn.00475895
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 0x40d4ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475505
jmp 0x40d579
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 0x40d532
lea edx, [esp + 0x7c]
push 0x4a2d98
push edx
call fcn.004649e4
add esp, 8
test eax, eax
je 0x40d532
lea eax, [esp + 0x7c]
push 0x4a2d94
push eax
call fcn.004649e4
add esp, 8
test eax, eax
je 0x40d532
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 0x40d4c2
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.00475505
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 0x40dd70
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 0x40ddd2
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 0x40dde0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x480fcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4af86c]
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 0x40df18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40de46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475505
xor eax, eax
jmp 0x40df8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475642
push esi
lea ecx, [esp + 0xc]
call fcn.004758d1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4a2dd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40df6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040dd70
test eax, eax
jne 0x40df6d
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.0040dd70
test eax, eax
jne 0x40df6d
lea eax, [esp + 0x14]
push 0x4a2db0
push eax
call fcn.00465a20
mov esi, eax
add esp, 8
test esi, esi
jne 0x40df4c
lea ecx, [esp + 0x14]
push 0x4a2dac
push ecx
call fcn.004659a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40df4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40df4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004755f2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40de5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475505
xor eax, eax
jmp 0x40df8f
mov byte [esi], 0
push 0x4a2da8
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.00475505
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 0x4212d0
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 0x42133e
cmp si, 0x69
ja 0x42133e
add esi, 0xffd0
cmp si, 0x11
je 0x42130e
push 0x11
call edi
test ax, ax
jge 0x42130e
or esi, 0x2000
cmp si, 0x10
je 0x421323
push 0x10
call edi
test ax, ax
jge 0x421323
or esi, 0x4000
cmp si, 0x12
je 0x421338
push 0x12
call edi
test ax, ax
jge 0x421338
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42134b
mov esi, 0xbd
jmp 0x4212ff
cmp si, 0x6e
jne 0x421358
mov esi, 0xbe
jmp 0x4212ff
cmp si, 0x6f
jne 0x4212f9
mov esi, 0xbf
jmp 0x4212ff

Function at 0x422a40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4c00d8]
xor edx, edx
cmp eax, edx
jne 0x422a66
xor eax, eax
mov byte [eax + 0x4bffd8], al
inc eax
cmp eax, 0x100
jl 0x422a4e
mov dword [0x4c00d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bffd8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422af7
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 0x422aca
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 0x422a98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422b70
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 0x422bc3
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 0x422baa
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 0x429600
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 0x429798
cmp ebp, ebx
jle 0x429798
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 0x42965e
dec eax
or eax, 0xfffffff8
inc eax
je 0x429665
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x429674
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42967b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00475246
add esp, 4
cmp eax, ebx
je 0x42969c
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.00475246
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 0x42978e
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 0x429775
mov al, byte [edx]
cmp al, 0xc0
jbe 0x429761
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x429756
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 0x429764
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x429764
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x429700
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 0x4296f1
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 0x42c7a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4828e8
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 0x42c7d9
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.0047cbf9
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.0047cc45
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.0042c860
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.0047cc82
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
Function at 0x430d20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x483078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004318a0
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x430dc9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004309b0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0047beaa
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.004400f0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0047bf1c
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14