joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415412
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040dd23
and dword [ebp - 0x14], 0
cmp dword [0x423644], 0
mov dword [ebp - 0x18], eax
jne 0x4154c5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41556d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41556d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423644], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x423648], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42364c], eax
call edi
push eax
call esi
mov dword [0x423654], eax
test eax, eax
je 0x4154c5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423650], eax
mov eax, dword [0x423650]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41551e
cmp dword [0x423654], ecx
je 0x41551e
push eax
call esi
push dword [0x423654]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41551e
test ebx, ebx
je 0x41551e
call edi
test eax, eax
je 0x415515
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415515
test byte [ebp - 8], 1
jne 0x41551e
or dword [ebp + 0x10], 0x200000
jmp 0x415551
mov eax, dword [0x423648]
cmp eax, dword [ebp - 0x18]
je 0x415551
push eax
call esi
test eax, eax
je 0x415551
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415551
mov eax, dword [0x42364c]
cmp eax, dword [ebp - 0x18]
je 0x415551
push eax
call esi
test eax, eax
je 0x415551
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423644]
call esi
test eax, eax
je 0x41556d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41556f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004097da
leave
ret
Function at 0x4022d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x402302
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00402130
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00403db0
pop ecx
mov esi, eax
test esi, esi
je 0x402357
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00402130
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x40b500], eax
mov dword [0x40b504], esi
jmp 0x40235f
push 1
call fcn.00401dc0
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402370
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov edx, eax
mov dword [ebp - 4], edx
test eax, eax
je 0x40241a
mov eax, dword [ebp - 4]
mov ebx, eax
xor ecx, ecx
jmp 0x4023ad
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40239a
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x4023ab
add ecx, esi
add ebx, esi
cmp byte [ebx], 0
jne 0x402395
inc ecx
push ecx
call fcn.00403db0
pop ecx
mov edi, eax
mov dword [0x40b50c], eax
cmp dword [0x40b50c], 0
je 0x402427
mov eax, dword [ebp - 4]
mov ebx, eax
jmp 0x4023fb
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4023d6
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x4023f9
mov ecx, edi
mov edx, ebx
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4023ec
pop eax
add edi, esi
add ebx, esi
cmp byte [ebx], 0
jne 0x4023d1
mov byte [edi], 0
mov eax, dword [ebp - 4]
cmp eax, dword [0x40b5d4]
je 0x40242f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x40242f
mov eax, dword [0x40b5d4]
mov dword [ebp - 4], eax
jmp 0x40238c
push 1
call fcn.00401dc0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484a71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x484a80
pop dword [ebp - 0x3c]
mov eax, 0x484a80
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x47725c7b
sub dword [ebp - 0x4c], 0xf9201730
mov dword [ebp - 0x48], 0x65ccf904
sub dword [ebp - 0x48], 0x3399acbf
mov dword [ebp - 0x44], 0x8ec3e0be
sub dword [ebp - 0x44], 0x42779c90
mov dword [ebp - 0x40], 0x4547f9b6
add dword [ebp - 0x40], 0xbab8064a
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xb45e5bed
sub eax, 0xb414cb99
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x17e0992a
sub dword [ebp - 0x4c], 0xa36e2fd4
mov dword [ebp - 0x48], 0xf0bfc830
sub dword [ebp - 0x48], 0xaf5366bb
mov dword [ebp - 0x44], 0x1d44a4a
sub dword [ebp - 0x44], 0x9e64ddde
mov dword [ebp - 0x40], 0xe750dc57
add dword [ebp - 0x40], 0x18af23a9
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x60548afc
sub eax, 0x600afad8
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x6f9b5
push 0
call eax
mov ecx, 0x4ffb
mov edi, eax
mov esi, 0x9035cf1e
add esi, 0x70168ee2
add esi, dword [ebp - 0x3c]
mov ebx, 0x3c662d57
mov edx, dword [esi]
sub dword [ebp - 0x28], 0x8c349885
xor edx, ebx
add dword [ebp - 0x24], 0xdc3c8bc4
mov dword [edi], edx
sub dword [ebp - 0x24], 0x26abd7d3
add edi, 0x89f971d7
add edi, 0x76068e2d
add esi, 4
loop 0x484b91
add eax, 0x1ae760d9
add eax, 0xe519d1e6
xor ebx, ebx
add ebx, eax
add eax, 0x10dfeb5d
sub eax, 0x10dfeb58
mov ecx, 0x7e546f6a
sub ecx, 0x7e146f6a
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x403e59
pop dword [ebp - 0x14]
mov eax, 0x4f669c92
add eax, 0xb0d9a1c7
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x83c6b639
add dword [ebp - 0x24], 0xca8b8f12
mov dword [ebp - 0x20], 0x1eb957c3
add dword [ebp - 0x20], 0x1379f482
mov dword [ebp - 0x1c], 0xe4c5bf18
sub dword [ebp - 0x1c], 0x98797aea
mov dword [ebp - 0x18], 0xa1f48f84
sub dword [ebp - 0x18], 0xa1f48f84
lea eax, [ebp - 0x24]
push eax
mov eax, 0x81fe8125
sub eax, 0x81be0099
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x97a375d3
add dword [ebp - 0x24], 0xdccef383
mov dword [ebp - 0x20], 0xbb72ec02
sub dword [ebp - 0x20], 0x7a068a8d
mov dword [ebp - 0x1c], 0xaf440c7d
add dword [ebp - 0x1c], 0xb42b5fef
mov dword [ebp - 0x18], 0xa25101ee
sub dword [ebp - 0x18], 0xa25101ee
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x27fea7a8
sub eax, 0x27be26d4
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x39d01
push 0
call eax
mov ecx, 0xbc57c422
sub ecx, 0xbc576fdf
mov edi, eax
mov edx, 0xd5e27b3c
add edx, 0x2a5e94c4
add edx, dword [ebp - 0x14]
mov esi, 0xe5148187
xor dword [ebp - 4], eax
mov ebx, dword [edx]
xor dword [ebp - 4], eax
sub ebx, esi
sub dword [ebp - 0xc], esi
mov dword [edi], ebx
mov dword [ebp - 0xc], 0xf0a90496
add edi, 0x914d9a7c
sub edi, 0x914d9a78
add edx, 0xceef0701
add edx, 0x3110f903
loop 0x403f75
add eax, 0x143df
xor ebx, ebx
add ebx, eax
add eax, 0xca71e72f
add eax, 0x358e18d6
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x103bccd8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103bcce2
pushal
call 0x103bcce8
pop ebp
sub ebp, 0x10
sub ebp, 0x3bccd8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103bcd0c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103bcd15
mov eax, 0x3bccd8
add eax, ebp
add eax, 0x63
mov ecx, 0x5dd
mov edx, 0x7afe4b12
xor byte [eax], dl
inc eax
dec ecx
jne 0x103bcd2c
jmp 0x103bcd3f
cdq
fistp word [ecx + 0x12122e9b]
adc dl, byte [ebx + 0x1212ead3]
adc dl, byte [ecx]
fild qword [edx + 0x12121216]
test al, 0x3a
adc dl, byte [edx]
adc ah, ch
invalid

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
push esi
pop eax
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
push eax
pop esi
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret

Function at 0x100010d0
Capabilities:
Encode data using xor

Disassembly:
xor al, 0xed
enter 0xffffffffffffbe9c, 0x63
outsd dx, dword [esi]
fmulp st(4)
mov esi, 0xccde6f63
or dh, byte [edi + 0x5ee6cf2d]
mov esi, cs
arpl word [edi - 0x7b], bx
mov esi, 0xb06ac2bf
inc ecx
pop ecx
and al, 0x44
aad 0x9a
rcl dword [eax + 0x4f7924fe]
mov ebx, 0xb05ae635
push edx
bound ebx, qword [ecx + 0x58]
stc
pop edx
in eax, 0xae
daa
arpl cx, si
xor dword [ebx - 0x4a41ef78], edx
ja 0x100010d4
retf 0x1cc

Function at 0x103da578
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103da582
pushal
call 0x103da588
pop ebp
sub ebp, 0x10
sub ebp, 0x3da578
mov al, byte [esp + 0x28]
cmp al, 1
je 0x103da5ac
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103da5b5
mov eax, 0x3da578
add eax, ebp
add eax, 0x63
mov ecx, 0x60e
mov edx, 0x6dd5f70a
xor byte [eax], dl
inc eax
dec ecx
jne 0x103da5cc
jmp 0x103da5df
add edi, 0xa368381
or cl, byte [edx]
mov ecx, ebx
or cl, byte [edx]
or cl, byte [ecx]
invalid
Function at 0x103d1ed4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x103d1ede
pushal
call 0x103d1ee4
pop ebp
sub ebp, 0x10
sub ebp, 0x3d1ed4
mov al, byte [esp + 0x28]
in eax, dx
aam 0x1e
cmp eax, 0x24848a00
sub byte [eax], al
add byte [eax], al
cmp al, 1
je 0x103d1f08
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x103d1f11
mov eax, 0x3d1ed4
add eax, ebp
add eax, 0x63
mov ecx, 0x5f9
mov edx, 0x66b415fb
add eax, 0xfbba0000
adc eax, 0x103066b4
xor byte [eax], dl
inc eax
dec ecx
jne 0x103d1f28
jmp 0x103d1f3b
jo 0x103d1f73
jo 0x103d1fb1
invalid
sti
sti
sti
clc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xchg ebx, eax
jnp 0x103d1eec
cmc
sti
xchg ebx, eax
test eax, 0xfafbd55a
xlatb
fist word [ebx - 0x5550f330]
scasd eax, dword es:[edi]
stosb byte es:[edi], al
adc edi, esi
sti
sti
sti
adc cl, ch
sti
sti
sti
jbe 0x103d1f20
fild word [edi]
jb 0x103d1f5c
fbstp tbyte [esi - 0x69]
invalid
invalid
Function at 0x1101262
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call fcn.0110126e

Function at 0x11018e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.011018fa

Function at 0x1101961
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.01101974

Function at 0x930184
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93018a
pop ebp
sub ebp, 6
sub ebp, 0x530184
jmp 0x9301e8
and bl, bl
xchg ebp, eax
pop edx
fcom dword [esi + 0x6a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
pop eax
sub byte [ebx], ah
pop esi
jmp 0x9301f1
mov eax, 0x530184
add eax, ebp
add eax, 0x93
mov ecx, 0x61b
mov edx, 0x56e25cb6
xor byte [eax], dl
inc eax
dec ecx
jne 0x930208
jmp 0x93021b
fdivr st(6), st(0)
fidiv word [esi - 0x2149495a]
mov dh, 0x7a
lcall 0x9d73, 0xfa4637b6
div byte [edi]
inc esi
cli
jae 0x9301cf
test byte [ebp + 0x2349e676], 0xce
idiv edi
mov dh, 0xe6
cmp eax, 0x8a3f3d7b
mov dh, 0xb6
mov dh, 0x37
ja 0x930296
mov dh, 0xb6
mov dh, 0xb5
jnp 0x93025c
mov al, 0xb6
mov dh, 0xb6
or al, 0x9e
mov dh, 0xb6
mov dh, 0xc
sahf
mov dh, 0xb6
mov dh, 0x41
push esp
mov ch, 0x7e
cmp eax, 0xb6b6ba37
mov dh, 0xb5
aaa
mov edx, 0xb5b6b6b6
jae 0x93024a
fidiv word [esi - 0x80]
mov edi, 0x7c74deb6
push dword [esi - 0x216d6549]
mov dh, 0xb6
mov dh, 0xb6
pop esi
mov bh, 0x9a
xchg edx, eax
fidiv word [esi + 0x5eb6b6b6]
mov bl, 0xb6
mov dh, 0xb6
pop edi
sahf
mov dh, 0xb6
mov dh, 0xe3
loop 0x93026e
cmp eax, 0xb6b6be33
mov dh, 0x3d
and edi, dword [edx + 0x3db6b6b6]
cmp esp, dword [esi + 0x77b6b6b6]
pop edi
mov ah, 0x87
mov ah, 0x35
je 0x93024f
invalid
Function at 0x4cc6a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a77cb
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.005982be
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4cc722
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00594ac7
mov eax, dword [eax]
push 0x7e7eb4
push eax
call fcn.00585c64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00598549
test bl, bl
je 0x4cc722
push 0x7e7eb4
lea ecx, [esp + 0xc]
call fcn.005988d9
push 0x7e7ec0
lea ecx, [esp + 0xc]
call fcn.005988d9
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 0x4cc75e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00598549
jmp 0x4cc829
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 0x4cc7e2
lea edx, [esp + 0x7c]
push 0x7e7ebc
push edx
call fcn.00585c64
add esp, 8
test eax, eax
je 0x4cc7e2
lea eax, [esp + 0x7c]
push 0x7e7eb8
push eax
call fcn.00585c64
add esp, 8
test eax, eax
je 0x4cc7e2
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 0x4cc772
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.00598549
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 0x4cd030
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 0x4cd092
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 0x4cd0a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a784b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x800f78]
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 0x4cd1d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4cd106
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00598549
xor eax, eax
jmp 0x4cd24f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00598686
push esi
lea ecx, [esp + 0xc]
call fcn.00598915
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 0x4cd22d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004cd030
test eax, eax
jne 0x4cd22d
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.004cd030
test eax, eax
jne 0x4cd22d
lea eax, [esp + 0x14]
push 0x7e7ed0
push eax
call fcn.00586db0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cd20c
lea ecx, [esp + 0x14]
push 0x7e7ecc
push ecx
call fcn.00586d30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4cd20c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4cd20f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00598636
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4cd11e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00598549
xor eax, eax
jmp 0x4cd24f
mov byte [esi], 0
push 0x7e7ec8
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.00598549
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 0x4e0510
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 0x4e057e
cmp si, 0x69
ja 0x4e057e
add esi, 0xffd0
cmp si, 0x11
je 0x4e054e
push 0x11
call edi
test ax, ax
jge 0x4e054e
or esi, 0x2000
cmp si, 0x10
je 0x4e0563
push 0x10
call edi
test ax, ax
jge 0x4e0563
or esi, 0x4000
cmp si, 0x12
je 0x4e0578
push 0x12
call edi
test ax, ax
jge 0x4e0578
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4e058b
mov esi, 0xbd
jmp 0x4e053f
cmp si, 0x6e
jne 0x4e0598
mov esi, 0xbe
jmp 0x4e053f
cmp si, 0x6f
jne 0x4e0539
mov esi, 0xbf
jmp 0x4e053f

Function at 0x4e2210
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x811dd0]
xor edx, edx
cmp eax, edx
jne 0x4e2236
xor eax, eax
mov byte [eax + 0x811cd0], al
inc eax
cmp eax, 0x100
jl 0x4e221e
mov dword [0x811dd0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x811cd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e22c7
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 0x4e229a
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 0x4e2268
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e2340
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 0x4e2393
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 0x4e237a
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