joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412082
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x418680], 0
push ebx
push esi
mov esi, 0x418688
jne 0x4120ae
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x4186a0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x418680], 1
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x41214b
push 0x14
push 8
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412175
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x418684]
test eax, eax
je 0x4120f0
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x418684], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41217a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x4186a0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418010]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412175
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4c134ae
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2ce3b32
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x7ff900
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ff90a
pushal
call 0x7ff910
pop ebp
sub ebp, 0x10
sub ebp, 0x3ff900
jmp 0x7ff926
add al, 0
add byte [eax], al
rcr byte [edx], cl
jmp 0x7ff90a
mov eax, 0x3ff900
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f8
mov edx, 0x706e1aa0
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ff93d
jmp 0x7ff950
sub ebp, dword [ebp + 0x2b]
sub dword [eax + 0x6121a0a0], ebx
pop eax
mov al, byte [0x6da3a0a0]
sbb byte [esi + 0x1aa0a0a0], ah
mov byte [eax + 0x4257a0a0], ah
mov dword [0xac212b68], eax
mov al, byte [0x65a3a0a0]
sub eax, 0x295c84c4
movsb byte es:[edi], byte [esi]
test byte [0x295c84c4], ch
movsb byte es:[edi], byte [esi]
test al, cl
inc eax
or eax, 0xbfc8a0ae
jmp 0x7ff91e
Function at 0x805c18
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805c1e
pop ebp
sub ebp, 6
sub ebp, 0x405c18
jmp 0x805c7c
jmp 0x805c85
mov eax, 0x405c18
add eax, ebp
add eax, 0x93
mov ecx, 0x61e
mov edx, 0xb20866f8
xor byte [eax], dl
inc eax
dec ecx
jne 0x805c9c
jmp 0x805caf
xchg edx, eax
mov eax, 0xf8e8f890
clc
nop
clc
xor al, 0xd4
clc
jns 0x805cc5
push es
imul esp, dword [eax - 0x44], 0x69060879
pushal
mov esp, 0x7a838cb
insd dword es:[edi], dx
clc
sub esi, ecx
clc
test al, 0x73
xor eax, 0xf8c47173
clc
clc
jns 0x805d14
add al, bh
clc
clc
sti
xor eax, 0xf8f8fe40
clc
inc edx
sar al, 1
clc
clc
invalid
lodsd eax, dword [esi]
lodsb al, byte [esi]
movsd dword es:[edi], dword [esi]
jae 0x805d96
invalid
adc byte [esi + 0x73f8f8f8], bl
inc ebp
invalid
mov al, 0xf8
clc
clc
sahf
jae 0x805d6c
sar dword [eax + 3], 0x10
idiv dword [edx - 8]
clc
clc
js 0x805d97
adc edi, esi
jl 0x805d81
jmp 0x9f795694
clc
clc
clc
sahf
jns 0x805da1
pop es
invalid
jl 0x805d90
clc
clc
clc
mov ecx, 0x7073411
pop es
sal dword [ecx + eax*8 - 0x2c68407], 1
jnp 0x805dc5
cld
adc dword [ebp + 7], eax
pop es
pop es
shr dword [ecx + eax*8 - 0x1c68406], 1
jnp 0x805dd6
cld
jnp 0x805dd7
std
adc dword [ebx + 7], edx
pop es
pop es
movsd dword es:[edi], dword [esi]
cmp dh, ah
clc
lodsd eax, dword [esi]
jae 0x805de8
scasb al, byte es:[edi]
scasd eax, dword es:[edi]
lodsd eax, dword [esi]
jae 0x805d66
hlt
jo 0x805de9
invalid
jns 0x805e2b
stc
clc
clc
clc
inc ebx
cli
clc
clc
clc
cli
sub dh, bh
jge 0x805df7
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805ded
mov esi, 0x7bf72aea
and byte [edi], al
pop es
pop es
cli
sub dh, bh
jge 0x805e0a
ljmp 0x707:0x207bf72a
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e00
mov esi, 0x7bf72aea
xchg edx, eax
clc
clc
clc
retf
ljmp 0xf8f9:0xd27bf72a
jnp 0x805dff
stc
clc
clc
cli
sub dh, bh
jge 0x805e32
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e28
mov esi, 0x38eb2aea
cli
sub dh, bh
jge 0x805e41
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e37
mov esi, 0x38eb2aea
cli
sub dh, bh
jge 0x805e50
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e46
mov esi, 0x38eb2aea
cli
sub dh, bh
jge 0x805e5f
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e55
mov esi, 0x38eb2aea
idiv dword [esi + edi*8 - 8]
clc
clc
jae 0x805e9b
daa
shl dword [eax], cl
jb 0x805e73
jo 0x805e79
invalid
mov edi, 0xf8f8fa43
clc
adc dword [eax + 0x40070707], ecx
pop es
pop es
pop es
inc eax
stc
clc
clc
clc
cli
sub dh, bh
jge 0x805e8c
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e82
mov esi, 0x38eb2aea
cli
sub dh, bh
jge 0x805e9b
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805e91
mov esi, 0x7af72aea
pop es
pop es
pop es
sar dword [ebx], cl
inc ebx
stc
clc
clc
clc
idiv dword [ebp - 0x34]
clc
clc
clc
inc ecx
stc
clc
clc
clc
cli
sub dh, bh
jge 0x805ec0
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805eb6
mov esi, 0x31eb2aea
cli
sub dh, bh
jge 0x805ecf
idiv dword [ebp - 3]
clc
clc
clc
jb 0x805ec5
mov esi, 0x7af72aea
pop es
pop es
pop es
scasb al, byte es:[edi]
jae 0x805ef2
ror dword [0x11a65c0b], cl
invalid
invalid
Function at 0x914994
Capabilities:
Encode data using xor

Disassembly:
jmp 0x91499e
pushal
call 0x9149a4
pop ebp
sub ebp, 0x10
sub ebp, 0x514994
jmp 0x9149ba
mov eax, 0x514994
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f2
mov edx, 0x4e6b7cda
xor byte [eax], dl
inc eax
dec ecx
jne 0x9149d1
jmp 0x9149e4
push ecx
pop ss
push ecx
push ebx
out 0xda, al
fcmovu st(0), st(2)
pop ebx
sbb esp, dword [edx]
fcmovu st(0), st(2)
fcmovu st(0), st(1)
pop ss
invalid
Function at 0x414de4
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edi
mov eax, edx
add esi, 4
or ebx, ebx
or eax, eax
mov ebx, eax
cmp esi, ecx
jne fcn.00414de4
ret
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

Function at 0x414ddb
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], ebx
dec eax
sub eax, 0x7268465c
add eax, edx
add ecx, 4
cmp ecx, edi
jne fcn.00414ddb
and eax, esi
mov edx, 0xcd1737c4
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4484ab
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4484d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4484f7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00448415
jmp 0x4484f7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4484f7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00448415
test edi, edi
mov eax, edi
jne 0x4484e1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x5726ec]
test ecx, ecx
je 0x4485aa
jmp 0x4484aa
ret 8

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x429fb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp 0x429fca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429fc0
mov eax, 1
add ebx, ebx
jne 0x429fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429fd8
jne 0x429ff4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429fd8
xor ecx, ecx
sub eax, 3
jb 0x42a008
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a07a
mov ebp, eax
add ebx, ebx
jne 0x42a013
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a020
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a044
inc ecx
add ebx, ebx
jne 0x42a030
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a025
jne 0x42a041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a025
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a064
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a055
jmp 0x429fc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a064
add edi, ecx
jmp 0x429fc6
pop esi
mov edi, esi
mov ecx, 0xdae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a082
cmp byte [edi], 9
jne 0x42a082
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 0x42a087
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x42a0ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a8f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a958]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a0b4
mov ecx, edi
jns 0x42a0e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a960]
or eax, eax
je 0x42a0f9
mov dword [ebx], eax
add ebx, 4
jmp 0x42a0d1
call dword [esi + 0x2a95c]
mov ebp, dword [esi + 0x2a964]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x42a133
sub esp, 0xffffff80
jmp 0x414b04
Function at 0x401170
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402eb0
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x268], edi
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
mov byte [ebp - 0x23d], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x244], eax
cmp eax, 0xffffffff
jne 0x4011e9
xor al, al
jmp 0x40138d
lea ecx, [ebp - 0x23c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40137b
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x26c], eax
nop dword [eax + eax]
mov ecx, dword [edi + 0x14]
mov ebx, dword [edi + 0x10]
cmp ecx, 0x10
jb 0x40121f
add ebx, dword [edi]
jmp 0x401228
add ebx, edi
mov esi, edi
cmp ecx, 0x10
jb 0x40122a
mov esi, dword [edi]
mov eax, ebx
mov dword [ebp - 0x25c], 0
mov edx, 7
xor ecx, ecx
sub eax, esi
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], edx
cmp eax, edx
jbe 0x401275
mov byte [ebp - 0x260], cl
lea ecx, [ebp - 0x25c]
push dword [ebp - 0x260]
push eax
call fcn.00401d70
mov edx, dword [ebp - 0x248]
xor ecx, ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 4], 0
cmp esi, ebx
je 0x4012e4
movsx ax, byte [esi]
movzx edi, ax
cmp ecx, edx
jae 0x4012b1
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
xor edx, edx
mov word [eax + ecx*2], di
mov word [eax + ecx*2 + 2], dx
jmp 0x4012cb
push edi
mov byte [ebp - 0x264], 0
push dword [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00401f10
mov edx, dword [ebp - 0x248]
inc esi
cmp esi, ebx
je 0x4012de
mov ecx, dword [ebp - 0x24c]
jmp 0x401280
mov edi, dword [ebp - 0x268]
cmp edx, 8
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x25c]
cmovae eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov edx, dword [ebp - 0x248]
add esp, 8
test eax, eax
sete bl
cmp edx, 8
jb 0x40134d
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401343
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40136e
push edx
push ecx
call fcn.004020ab
add esp, 8
test bl, bl
jne 0x401374
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401210
jmp 0x40137b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x23d], 1
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x23d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040206d
mov esp, ebp
pop ebp
ret
Function at 0x407004
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x407548
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x41a1b0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x407600
cmp byte [0x418059], 0
je 0x4075ba
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.004012e4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4075a3
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.004012e4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4075a3
lea ebx, [ebp - 0x54]
jmp 0x4075a4
inc ebx
call fcn.00407500
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x407621
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x41a1b4
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00401284
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x41a1b7
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x407621
cmp dword [0x41a1b0], 0xffffffff
je 0x407621
mov eax, dword [0x41a1b0]
test eax, eax
je 0x407621
cmp byte [eax], 0
je 0x407621
push esi
push eax
call fcn.004076b0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407f00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov dword [ebp - 4], edi
cmp esi, 1
jne 0x407fa2
mov eax, dword [0x41c5e4]
inc dword [0x41c5e4]
test eax, eax
jne 0x408015
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x41c5bc], eax
mov edx, dword [ebp + 0x10]
mov dword [0x418062], edx
cmp dword [0x41a238], 0
je 0x407f72
call fcn.00407c28
mov ebx, eax
test eax, eax
je 0x407f72
mov edx, dword [ebx]
cmp dword [ebx + edx*4 + 4], 0xffffffff
je 0x407f72
mov ecx, dword [ebx]
inc dword [ebx]
mov dword [ebx + ecx*4 + 4], edi
jmp 0x408015
xor eax, eax
mov dword [0x41a238], eax
jmp 0x407f7d
call ebx
push 0
lea edx, [ebp - 8]
push edx
call fcn.00407c30
add esp, 8
mov ebx, eax
test eax, eax
jne 0x407f7b
mov edx, dword [ebp + 0x18]
push edx
push esi
mov ecx, dword [ebp + 0x10]
push ecx
call dword [edi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x408015
test esi, esi
jne 0x408006
dec dword [0x41c5e4]
jne 0x407fde
mov eax, dword [ebp + 0x18]
push eax
push esi
mov edx, dword [ebp + 0x10]
push edx
call dword [edi + 0x18]
mov dword [ebp - 0xc], eax
cmp dword [0x41a238], 0
jne 0x407fde
jmp 0x407fca
call ebx
push 1
lea ecx, [ebp - 8]
push ecx
call fcn.00407c30
add esp, 8
mov ebx, eax
test eax, eax
jne 0x407fc8
cmp dword [0x41c5e4], 0
jne 0x408015
cmp dword [0x41c5bc], 0
je 0x408015
mov edx, dword [0x41c5bc]
push edx
call sub.KERNEL32.dll_FreeEnvironmentStringsA
xor ecx, ecx
mov dword [0x41c5bc], ecx
jmp 0x408015
mov eax, dword [ebp + 0x18]
push eax
push esi
mov edx, dword [ebp + 0x10]
push edx
call dword [edi + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c897
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [0x4181f8], 0
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
jne 0x40c8b4
call fcn.0040c858
test edi, edi
jbe 0x40c8d4
mov eax, ebx
xor edx, edx
xor al, byte [esi]
inc esi
and al, 0xff
mov dl, al
shr ebx, 8
mov ecx, dword [edx*4 + 0x41a5b0]
xor ecx, ebx
dec edi
mov ebx, ecx
jne 0x40c8b8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
add byte [edi], bl
push edx
mov eax, dword [0x26e64650]
push ebp
xchg edi, eax
fbstp tbyte [edi + 0xdb7d497]
mov dword [0xaba2cd7e], eax
imul esp, edi, 0x4950f18f
cwde
in al, dx
xchg esi, eax
push edi
and eax, 0x87b32c55
pop ss
xchg esi, eax
xorps xmm6, xmmword [0x58fb7d7]
imul ecx, dword [eax - 0x68], 0x9848cdbd
stosb byte es:[edi], al
cmpsd dword cs:[esi], dword es:[edi]
pop es
adc al, 0x96
pop edi
mov dh, 0xd3
imul ecx, dword [eax - 0x52], 0x67b79696
push ebp
xchg esi, eax
mov bh, 0x67
push ebp
xchg esi, eax
mov bh, 0x67
push ebp
xchg esi, eax
mov bh, 0x67
stosb byte es:[edi], al
imul ecx, dword [eax - 0x68], 0x67b79655
stosb byte es:[edi], al
imul ecx, dword [eax - 0x68], 0x67b79655
push ebp
xchg esi, eax
mov bh, 0x67
push ebp
xchg esi, eax
mov bh, 0x67
push ebp
xchg esi, eax
xor al, 0x8b
push ecx
push ecx
mov bl, 0x43
mov ecx, 0x5c67f53e
insd dword es:[edi], dx
clc
andnps xmm4, xmm6
mul byte [edi + 0x1b]
ror dword [edi], 1
mov edi, 0xdc31acd7
lcall 0xf169, 0x7c22d7c7
ficom word [ebp - 0x7a]
mul dword [edi - 0x2c]
push ecx
mov dh, 0x67
push ebp
xchg esi, eax
mov dword ss:[eax + 0x78d485bf], edi
mov dh, 0x67
push ebp
xchg esi, eax
or eax, 0xb7d71e47
out 0xba, al
xor al, 0x7b
push ebx
jno 0x414b05
dec eax
invalid

Function at 0x414ddd
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edi
add esi, 4
sub ebx, eax
sub edx, ebx
cmp esi, ecx
jne fcn.00414ddd
sub eax, 0x4fbd52c9
add ebx, ebx
add eax, eax
ret