joyce8/EMBER2024-capa huggingface dataset:
Function at 0x179c8a2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x17a6670
cmp edx, dword [eax]
je 0x179c8c4
add eax, 8
inc ecx
cmp eax, 0x17a6700
jl 0x179c8b5
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x17a6670]
jne 0x179c9f2
mov eax, dword [0x17a9b18]
cmp eax, 1
je 0x179c9cc
test eax, eax
jne 0x179c8f5
cmp dword [0x17a9b1c], 1
je 0x179c9cc
cmp edx, 0xfc
je 0x179c9f2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x179c92c
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0179fd60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0179ede0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x179c96f
lea eax, [ebp - 0x1a4]
push eax
call fcn.0179ede0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x17a3b1c
push edi
call fcn.0179fec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0179fd60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0179fd70
lea eax, [ebp - 0xa0]
push 0x17a3afc
push eax
call fcn.0179fd70
push dword [esi + 0x17a6674]
lea eax, [ebp - 0xa0]
push eax
call fcn.0179fd70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.017a080f
add esp, 0x2c
pop edi
jmp 0x179c9f2
lea eax, [ebp + 8]
lea esi, [esi + 0x17a6674]
push 0
push eax
push dword [esi]
call fcn.0179ede0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c0a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x419104
push ebx
push edi
push esi
test eax, eax
mov esi, eax
mov edi, edx
mov eax, edx
je 0x4191ab
mov edx, dword [esi - 4]
test edx, edx
je 0x4191ab
mov ebx, edx
call fcn.00405bf4
mov edi, dword [edi]
cmp ebx, 0x20
jg 0x4191b3
mov eax, dword [ebx + esi - 4]
mov ecx, 0x7f7f7f7f
mov edx, eax
not edx
and ecx, eax
and edx, 0x80808080
add ecx, 0x5050505
and ecx, 0x7f7f7f7f
add ecx, 0x1a1a1a1a
and ecx, edx
shr ecx, 2
xor eax, ecx
mov dword [ebx + edi - 4], eax
sub ebx, 1
and ebx, 0xfffffffc
je 0x4191a7
add esi, ebx
add edi, ebx
neg ebx
mov eax, dword [ebx + esi]
mov ecx, 0x7f7f7f7f
mov edx, eax
not edx
and ecx, eax
and edx, 0x80808080
add ecx, 0x5050505
and ecx, 0x7f7f7f7f
add ecx, 0x1a1a1a1a
and ecx, edx
shr ecx, 2
xor eax, ecx
mov dword [ebx + edi], eax
add ebx, 4
jne 0x419172
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
pop ebx
jmp fcn.0040557c
movq mm4, qword [0x7c7d28]
movq mm5, qword [0x7c7d30]
movq mm6, qword [0x7c7d38]
movq mm0, qword [esi]
movq mm1, qword [esi + 8]
pshufw mm2, mm0, 0xe4
pshufw mm3, mm1, 0xe4
paddb mm2, mm4
paddb mm3, mm4
pcmpgtb mm2, mm5
pcmpgtb mm3, mm5
pand mm2, mm6
pand mm3, mm6
psubb mm0, mm2
psubb mm1, mm3
movq qword [edi], mm0
movq qword [edi + 8], mm1
sub ebx, 0x10
movq mm0, qword [ebx + esi]
movq mm1, qword [ebx + esi + 8]
pshufw mm2, mm0, 0xe4
pshufw mm3, mm1, 0xe4
paddb mm2, mm4
paddb mm3, mm4
pcmpgtb mm2, mm5
pcmpgtb mm3, mm5
pand mm2, mm6
pand mm3, mm6
psubb mm0, mm2
psubb mm1, mm3
movq qword [ebx + edi], mm0
movq qword [ebx + edi + 8], mm1
mov ecx, edi
add esi, ebx
add ebx, edi
and edi, 0xfffffff0
sub ebx, edi
add edi, ebx
sub ebx, 0x10
neg ebx
movq mm0, qword [ebx + esi]
movq mm1, qword [ebx + esi + 8]
pshufw mm2, mm0, 0xe4
pshufw mm3, mm1, 0xe4
paddb mm2, mm4
paddb mm3, mm4
pcmpgtb mm2, mm5
pcmpgtb mm3, mm5
pand mm2, mm6
pand mm3, mm6
psubb mm0, mm2
psubb mm1, mm3
movq qword [ebx + edi], mm0
movq qword [ebx + edi + 8], mm1
add ebx, 0x10
jl 0x41923d
emms
pop esi
pop edi
pop ebx
ret

Function at 0x40c118
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x4195c0
cmp eax, edx
je 0x41960e
test eax, edx
je 0x419611
mov ecx, dword [edx]
cmp cl, byte [eax]
je 0x4195d7
movzx eax, byte [eax]
movzx ecx, cl
sub eax, ecx
ret
push ebx
mov ebx, dword [eax]
cmp ebx, ecx
je 0x419621
mov eax, dword [eax - 4]
mov edx, dword [edx - 4]
cmp ch, bh
je 0x4195fa
test eax, eax
je 0x4195f6
test edx, edx
je 0x4195f6
movzx eax, bh
movzx edx, ch
sub eax, edx
pop ebx
ret
cmp eax, 2
jbe 0x4195f6
cmp edx, 2
jbe 0x4195f6
mov eax, ebx
bswap eax
bswap ecx
sub eax, ecx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x41961d
test edx, edx
jne 0x4195c8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
add ecx, 4
jns 0x41965a
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
je 0x419636
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x41965a
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
pop eax
pop ebx
ret
Function at 0x4353f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4353f6
ret

Function at 0x48dcc4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x7e3efc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x48de9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00485d30
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00486fa8
mov eax, dword [esi]
call fcn.004a21f4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x48dd36
mov eax, dword [esi]
call fcn.004a21f4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004a2200
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x48dd5a
mov eax, dword [esi]
call fcn.004a2200
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004a21e8
cmp eax, dword [ebp - 0x18]
jle 0x48dd70
mov eax, dword [esi]
call fcn.004a21e8
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004a21dc
cmp eax, dword [ebp - 0xc]
jle 0x48dd86
mov eax, dword [esi]
call fcn.004a21dc
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0048c64c
push eax
call fcn.004092d4
call fcn.004085e4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x48de4d
mov eax, ebx
call fcn.00405868
cmp eax, 0x64
jge 0x48de4d
cmp dword [0x7c8ea0], 0
je 0x48de4d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00409334
cmp dword [ebp - 8], 0
je 0x48de4d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00409334
cmp dword [ebp - 8], 0
je 0x48de10
mov bl, 2
jmp 0x48de2b
lea edx, [ebp - 0x20]
mov eax, dword [0x7e6ef4]
call fcn.00490f5c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x48de29
xor ebx, ebx
jmp 0x48de2b
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x7c8fa8]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0048c64c
push eax
call dword [0x7c8ea0]
mov eax, dword [0x7e3d2c]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00489d80
push 4
mov eax, dword [ebp - 4]
call fcn.0048c64c
push eax
call fcn.00409324
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dea4
call fcn.004085e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4c710c
Capabilities:
Encode data using xor

Disassembly:
dec edx
jle 0x4c7136
push ebx
push esi
mov esi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
mov ah, byte [esi]
push esi
inc esi
mov al, byte [esi]
ror ebx, 3
mov cl, bl
and cl, 7
xor al, bh
rol al, cl
sub ah, al
mov byte [esi], al
dec edx
jne 0x4c711b
pop esi
mov byte [esi], ah
pop esi
pop ebx
ret

Function at 0x4c7308
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
add edx, 0xffffeffc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
xor eax, dword [ecx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
shl eax, 2
add ecx, eax
mov eax, 8
xor ebx, ebx
mov bl, byte [ebp - 9]
mov ebx, dword [edx + ebx*4]
movzx esi, byte [ebp - 0xa]
add ebx, dword [edx + esi*4 + 0x400]
movzx esi, byte [ebp - 0xb]
xor ebx, dword [edx + esi*4 + 0x800]
movzx esi, byte [ebp - 0xc]
add ebx, dword [edx + esi*4 + 0xc00]
xor ebx, dword [ebp - 0x10]
xor ebx, dword [ecx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
shl ebx, 2
add ecx, ebx
xor ebx, ebx
mov bl, byte [ebp - 0xd]
mov ebx, dword [edx + ebx*4]
movzx esi, byte [ebp - 0xe]
add ebx, dword [edx + esi*4 + 0x400]
movzx esi, byte [ebp - 0xf]
xor ebx, dword [edx + esi*4 + 0x800]
movzx esi, byte [ebp - 0x10]
add ebx, dword [edx + esi*4 + 0xc00]
xor ebx, dword [ebp - 0xc]
xor ebx, dword [ecx]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
shl ebx, 2
add ecx, ebx
dec eax
jne 0x4c733e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ecx]
mov edx, dword [ebp - 4]
mov dword [edx], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c73d0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff98
push ebx
push esi
push edi
mov byte [ebp - 0x1009], cl
mov dword [ebp - 0x1008], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x1014]
lea edi, [ebp - 0x1018]
cmp dword [ebp - 0x1008], 0
je 0x4c75b6
push esi
push edi
mov esi, 0x7c9a3c
lea edi, [ebp - 0x1068]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x7c9a84
lea edi, [ebp - 0x1004]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
call fcn.00405868
test eax, eax
jle 0x4c7521
mov eax, ebx
call fcn.00405868
push eax
mov eax, ebx
call fcn.00405a68
mov edx, eax
lea eax, [ebp - 0x1068]
pop ecx
call fcn.004c72d0
xor eax, eax
mov dword [ebp - 0x1010], eax
xor eax, eax
mov dword [edi], eax
xor eax, eax
mov dword [ebp - 0x101c], eax
push ebp
push 1
lea ecx, [ebp - 0x1068]
lea edx, [ebp - 0x101c]
mov eax, edi
call fcn.004c7308
pop ecx
mov eax, dword [ebp - 0x1010]
mov edx, dword [edi]
mov dword [ebp + eax*4 - 0x1068], edx
inc dword [ebp - 0x1010]
mov eax, dword [ebp - 0x1010]
mov edx, dword [ebp - 0x101c]
mov dword [ebp + eax*4 - 0x1068], edx
inc dword [ebp - 0x1010]
cmp dword [ebp - 0x1010], 0x11
jb 0x4c7477
xor eax, eax
mov dword [ebp - 0x1010], eax
lea ebx, [ebp - 0x1004]
xor eax, eax
mov dword [esi], eax
push ebp
push 1
lea ecx, [ebp - 0x1068]
lea edx, [ebp - 0x101c]
mov eax, edi
call fcn.004c7308
pop ecx
mov eax, dword [esi]
mov edx, dword [edi]
mov dword [ebx + eax*4], edx
inc dword [esi]
mov eax, dword [esi]
mov edx, dword [ebp - 0x101c]
mov dword [ebx + eax*4], edx
inc dword [esi]
cmp dword [esi], 0xff
jb 0x4c74d7
inc dword [ebp - 0x1010]
add ebx, 0x400
cmp dword [ebp - 0x1010], 4
jne 0x4c74d3
cmp byte [ebp - 0x1009], 0
je 0x4c753d
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x1020], eax
mov edi, 1
jmp 0x4c754c
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x1020], eax
or edi, 0xffffffff
mov ebx, dword [ebp - 0x1008]
shr ebx, 3
dec ebx
test ebx, ebx
jl 0x4c75b6
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004c72cc
mov dword [ebp - 0x1010], eax
mov eax, dword [ebp - 4]
add eax, 4
mov eax, dword [eax]
call fcn.004c72cc
mov dword [esi], eax
push ebp
push edi
mov edx, esi
lea eax, [ebp - 0x1010]
mov ecx, dword [ebp - 0x1020]
call fcn.004c7308
pop ecx
mov eax, dword [ebp - 0x1010]
call fcn.004c72cc
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [esi]
call fcn.004c72cc
mov edx, dword [ebp - 4]
add edx, 4
mov dword [edx], eax
add dword [ebp - 4], 8
dec ebx
jne 0x4c755b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c7944
Capabilities:
Encode data using xor

Disassembly:
dec edx
jle 0x4c7991
push ebx
push esi
push edi
mov esi, eax
mov ebx, dword [esi]
xor ebx, 0xf1a4a032
mov edi, dword [esi + 4]
xor edi, 0x4fdfab97
lea esi, [esi + 8]
mov ah, byte [esi]
push esi
inc esi
mov al, byte [esi]
shl ebx, 1
rcl edi, 1
adc bl, 0
shl ebx, 1
rcl edi, 1
adc bl, 0
shl ebx, 1
rcl edi, 1
adc bl, 0
mov cl, bl
and cl, 7
xor al, bh
ror al, cl
sub ah, al
mov byte [esi], al
dec edx
jne 0x4c7963
pop esi
mov byte [esi], ah
pop edi
pop esi
pop ebx
ret

Function at 0x4c95a8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov ecx, dword [0x7e7b68]
xor ecx, dword [0x7e7a58]
mov dword [0x7cabc0], ecx
mov esi, eax
mov ecx, edx
mov eax, 0xffffffff
jecxz 0x4c95dc
mov edx, eax
shr edx, 0x18
xor dl, byte [esi]
inc esi
shl eax, 8
xor eax, dword [edx*4 + 0x7cabbc]
loop 0x4c95c6
bswap eax
pop esi
ret
Function at 0x5129d8
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x512a80
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040769c
cmp esi, dword [ebx + 8]
jae 0x512a62
lea eax, [ebp - 4]
call fcn.0040769c
push eax
push 0x7cd0cc
push 3
push 0
push 0x7cd39c
call fcn.004251e0
call fcn.00425308
test al, al
je 0x512a62
push 0
lea eax, [ebp - 8]
call fcn.0040769c
push eax
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
jne 0x512a62
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
push 0
mov eax, edi
call fcn.0040769c
push eax
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512a87
lea eax, [ebp - 8]
call fcn.0040769c
lea eax, [ebp - 4]
call fcn.0040769c
ret

Function at 0x51ddec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x51de83
push dword fs:[eax]
mov dword fs:[eax], esp
lea ebx, [esi + 0x30]
xor eax, eax
mov dword [ebx + 0xc], eax
test byte [ebp - 1], 2
je 0x51de27
or dword [ebx + 0xc], 1
mov eax, dword [esi + 0x254]
mov dword [ebx + 0x10], eax
test byte [ebp - 1], 4
je 0x51de3f
or dword [ebx + 0xc], 2
mov eax, dword [esi + 0x21c]
call fcn.0043d618
mov dword [ebx + 0x14], eax
test byte [ebp - 1], 8
je 0x51de6d
or dword [ebx + 0xc], 4
lea eax, [ebp - 8]
push eax
mov ecx, 0x7f
mov edx, 1
mov eax, dword [esi + 0x220]
call fcn.00405ac8
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x18]
call fcn.0040df34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51de8a
lea eax, [ebp - 8]
call fcn.0040557c
ret

Function at 0x524384
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00524f54
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x526700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x526826
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00526a68
mov eax, dword [esi]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x17], 0
lea edx, [ebx + 0x18]
mov ecx, 4
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0xc]
mov esi, eax
lea edx, [ebx + 0x20]
mov ecx, 8
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
add esi, eax
lea edx, [ebx + 8]
mov ecx, 8
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
add esi, eax
push ebp
lea eax, [ebx + 0x2c]
call fcn.00526690
pop ecx
add esi, eax
push ebp
lea eax, [ebx + 0x30]
call fcn.00526690
pop ecx
add esi, eax
push ebp
lea eax, [ebx + 0x28]
call fcn.00526690
pop ecx
add esi, eax
movzx eax, word [0x7d0d20]
cmp eax, dword [ebp + 8]
jg 0x5267d7
lea edx, [ebx + 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
add esi, eax
lea edx, [ebx + 0x34]
mov ecx, 4
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
add esi, eax
lea edx, [ebx + 6]
mov ecx, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
add esi, eax
jmp 0x526810
cmp dword [ebp + 8], 0x100
jle 0x526810
lea edx, [ebx + 4]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
add esi, eax
lea edx, [ebx + 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
add esi, eax
push ebp
lea eax, [ebp - 8]
call fcn.00526690
pop ecx
add esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52682d
lea eax, [ebp - 8]
call fcn.0040557c
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x216f0fd5
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x6c9b729b
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x407ef0
Capabilities:
Encode data using xor

Disassembly:
adc al, 0x50
mov eax, dword [ebp + 0x10]
push 0xffffffffffffff94
popfd
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
xchg ebp, eax
push edx
call fcn.00407ef0
int1
les ebx, [ebx*2 - 0x656f6f3d]
nop
jle 0x407e7d
seto byte [ecx]
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0x10], 0xffffff9a
jl 0x407ecb
invalid
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80d004]
jne 0x401010
repz ret
jmp fcn.004014f3

Function at 0x407a15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404c04
and dword [ebp - 4], 0
cmp dword [0x80fc9c], 0
mov ebx, eax
jne 0x407ac6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407b77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407b77
push eax
call fcn.00404b92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80fc9c], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80fca0], eax
call esi
push eax
call fcn.00404b92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80fca4], eax
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fcac], eax
test eax, eax
je 0x407ac6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b92
pop ecx
mov dword [0x80fca8], eax
mov eax, dword [0x80fca8]
cmp eax, ebx
je 0x407b1e
cmp dword [0x80fcac], ebx
je 0x407b1e
push eax
call fcn.00404c0d
push dword [0x80fcac]
mov esi, eax
call fcn.00404c0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b1e
test edi, edi
je 0x407b1e
call esi
test eax, eax
je 0x407b15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b15
test byte [ebp - 0xc], 1
jne 0x407b1e
or dword [ebp + 0x10], 0x200000
jmp 0x407b57
mov eax, dword [0x80fca0]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b57
mov eax, dword [0x80fca4]
cmp eax, ebx
je 0x407b57
push eax
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80fc9c]
call fcn.00404c0d
pop ecx
test eax, eax
je 0x407b77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407b79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409ba0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x80d004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x2af7cb4], 0x930
jne 0x409bca
push 0x80b6ac
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x2af7cb4], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x2af7af8], eax
jne 0x409bfd
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call sub.KERNEL32.dll_VerLanguageNameA
lea edx, [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
mov esp, ebp
pop ebp
ret
Function at 0x2580fdb2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x2580fdc1
pop dword [ebp - 0x24]
mov eax, 0x32d4fdae
sub eax, 0xd53ffed
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x575f5d45
sub dword [ebp - 0x34], 0x90d17fa
mov dword [ebp - 0x30], 0x59e63c97
sub dword [ebp - 0x30], 0x27b2f052
mov dword [ebp - 0x2c], 0x1a653b00
add dword [ebp - 0x2c], 0x31e7092e
mov dword [ebp - 0x28], 0xe5685adb
add dword [ebp - 0x28], 0x1a97a525
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x860f80a1
add dword [ebp - 0x34], 0xee62e8b5
mov dword [ebp - 0x30], 0x344d62ef
sub dword [ebp - 0x30], 0xf2e1017a
mov dword [ebp - 0x2c], 0xa1a2e1a9
sub dword [ebp - 0x2c], 0x3e33753d
mov dword [ebp - 0x28], 0xa68e4c98
sub dword [ebp - 0x28], 0xa68e4c98
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x1eb792c4
add eax, 0x6ca3dbc
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3a7c4
push 0
call eax
mov ecx, 0x94a70dbe
add ecx, 0x6b5931e1
mov esi, eax
mov edi, 0x5de8fc8a
sub edi, 0x3866668a
add edi, dword [ebp - 0x24]
mov ebx, 0x6491fd56
mov dword [ebp - 0x18], 0x6f4a68e1
mov edx, dword [edi]
sub dword [ebp - 4], 0xd622bf48
add edx, ebx
add dword [ebp - 0x10], eax
mov dword [esi], edx
xor dword [ebp - 0x18], 0xc22d9272
add esi, 0xc7c56cc1
add esi, 0x383a9343
add edi, 0xed552341
add edi, 0x12aadcc3
loop 0x2580fed8
add eax, 0x659db97d
add eax, 0x9a6337d2
mov ebx, eax
add eax, 0x600c011
add eax, 0xf9ff3ff4
mov ecx, 0x5f23e9d6
add ecx, 0xc65c162a
add ecx, dword [ebp - 0x24]
call ebx
leave
ret