joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474960
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
lea ecx, [ecx]
movzx edi, byte [edx + 0x48da90]
mov eax, edi
mov dword [esp + 0x10], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*8]
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
mov eax, dword [esp + 0x10]
or ebp, ecx
lea ecx, [eax*4]
xor ecx, eax
imul eax, edi, 0x11b
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x4adaf8], eax
mov dword [edx*8 + 0x4adafc], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x474970
pop edi
pop esi
pop ebp
mov byte [0x4adaf1], 1
pop ebx
add esp, 0x10
ret

Function at 0x474ac0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
xor eax, eax
push edi
movzx esi, byte [eax + str.cw]
mov edx, esi
mov ecx, esi
shr edx, 7
imul edi, edx, 0x1b000000
shl ecx, 0x19
imul edx, edx, 0x11b
xor edi, ecx
mov ecx, esi
shl ecx, 8
or ecx, esi
shl ecx, 8
or edi, ecx
lea ecx, [esi + esi]
xor edx, ecx
xor ecx, ecx
xor edx, esi
or ecx, edi
or edx, edi
mov dword [eax*8 + 0x4ad2e0], ecx
mov dword [eax*8 + 0x4ad2e4], edx
inc eax
cmp eax, 0x100
jl 0x474ac4
xorps xmm0, xmm0
pop edi
movlpd qword [0x4adae8], xmm0
movlpd qword [0x4adae0], xmm0
mov byte [0x4adaf0], 1
pop esi
ret
Function at 0x477320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x23
push str.Inflator:_error_in_compressed_block
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00402180
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x4773d7
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::BadBlockErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047db8e
add esp, 0x2c
ret

Function at 0x477490
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x1f
push str.Inflator:_error_in_bit_distance
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00402180
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x477547
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::BadDistanceErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047db8e
add esp, 0x2c
ret
Function at 0x4779d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487491
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4aa0cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4aa0cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x2c
push str.Inflator:_unexpected_end_of_compressed_block
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.00402180
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_void_]
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 4
lea eax, [esp + 0x10]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [esp + 0x3c], 1
mov byte [ecx], 0
call fcn.00401e80
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.CryptoPP::Inflator::Err.0
jb 0x477a87
push dword [esp + 0xc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Inflator::UnexpectedEndErr.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047db8e
add esp, 0x2c
ret

Function at 0x479cd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
mov edx, dword [esp + 0x14]
mov eax, 0
push ebx
xor bl, bl
test byte [esp + 0x10], 3
push ebp
sete al
push esi
test eax, eax
je 0x479d85
test cl, 3
mov eax, 0
sete al
test eax, eax
je 0x479d85
test edx, edx
je 0x479da5
mov ebx, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x10], eax
shr edi, 2
xor esi, esi
test edi, edi
je 0x479d4c
sub ebx, ecx
mov dword [esp + 0x14], edi
mov esi, ecx
xor ebp, ebp
mov eax, dword [ebx + esi]
lea esi, [esi + 4]
xor eax, dword [esi - 4]
or ebp, eax
dec edi
jne 0x479d30
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], ebp
shl esi, 2
pop edi
sub edx, esi
jne 0x479d66
mov ebp, dword [esp + 0xc]
xor eax, eax
pop esi
test ebp, ebp
pop ebp
sete al
pop ebx
add esp, 8
ret
add ebx, esi
add ecx, esi
mov dword [esp + 0x18], ebx
mov ebx, eax
shr eax, 0x10
shr ebx, 0x18
or bl, al
mov eax, dword [esp + 0xc]
shr eax, 8
or bl, al
or bl, byte [esp + 0xc]
test edx, edx
je 0x479da5
mov eax, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
mov al, byte [ecx + eax]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or bl, al
mov eax, dword [esp + 0x18]
dec edx
jne 0x479d93
xor eax, eax
test bl, bl
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x47d780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
lea ecx, [ecx*4 - 4]
movdqa xmm0, xmmword [edx + eax*8]
movdqa xmm1, xmmword [edx]
movdqa xmmword [edx], xmm0
movdqa xmmword [edx + eax*8], xmm1
mov eax, 4
cmp ecx, eax
jbe 0x47d7d0
mov edi, edi
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
add eax, 4
movdqa xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x47d7b0
aesimc xmm0, xmmword [edx + eax*4]
movdqa xmmword [edx + eax*4], xmm0
ret

Function at 0x47d7e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movdqu xmm0, xmmword [eax + edi - 0x10]
movdqa xmmword [esp + 0x2c], xmm0
call sub.MSVCR120.dll_memcpy
movdqa xmm1, xmmword [esp + 0x2c]
mov edx, edi
shr edx, 2
add esp, 0xc
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
lea edi, [esi + edx*4]
lea eax, [edx + 7]
mov dword [esp + 8], 0x48d954
shl eax, 4
xor ecx, 1
add eax, esi
mov dword [edi], ecx
mov dword [esp + 0xc], eax
lea eax, [edx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
lea eax, [edx*4 + 8]
mov dword [eax + esi], ecx
mov dword [esp + 0x14], eax
lea eax, [edx*4 + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + edx*4 + 0xc], eax
lea eax, [edx*4 + 0x10]
mov dword [esp + 0x1c], eax
add eax, esi
cmp eax, dword [esp + 0xc]
je 0x47d94e
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
cmp eax, 0x18
jne 0x47d8b6
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x47d8fb
cmp eax, 0x20
jne 0x47d8f4
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x47d8fb
pinsrd xmm1, dword [esi + 0x1c], 3
mov ecx, dword [esp + 8]
mov esi, edi
aeskeygenassist xmm0, xmm1, 0
pextrd eax, xmm0, 3
lea edi, [edx + esi]
xor eax, dword [ecx]
add ecx, 4
xor eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [edi]
mov dword [edx + esi + 4], eax
mov dword [esp + 8], ecx
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [eax + esi], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + esi], eax
mov eax, dword [esp + 0x1c]
add eax, esi
cmp eax, dword [esp + 0xc]
jne 0x47d895
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x480b50
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00480b60

Function at 0x480de0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x480dec
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00480e00
Function at 0x1000726a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10007307
push ebx
push esi
call fcn.10007233
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000717c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100072b4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007306
push edi
push eax
call fcn.10005342
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100072d4
call fcn.10005d8c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10007305
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000717c
add esp, 0x20
test eax, eax
jne 0x100072f3
push edi
call fcn.10005d8c
jmp 0x100072fb
push ebx
call fcn.10005d8c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007572
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e0
push 0x1000e4d8
push str.FlsAlloc
push 0x1e
call fcn.10007490
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100075a6
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d108]
call esi
jmp 0x100075ac
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100075f0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f0
push 0x1000e4e8
push str.FlsGetValue
push 0x20
call fcn.10007490
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007627
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000cbe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cc0d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cc0d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x710c72
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7109ec
push edi
pop eax
sub eax, 0x1345f4e4
call fcn.00710cae
add eax, edi
or eax, eax
inc eax
xor dword [esi], edx
or edi, eax
inc esi
or eax, edi
sub edi, 0x6427123f
or edi, edi
cmp esi, ebx
jne fcn.00710c72
sub eax, eax
and edi, eax
push edi
mov eax, dword [esp]
add esp, 4
ret
Function at 0x410740
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.....
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x410762
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410758
mov eax, 1
add ebx, ebx
jne 0x41077b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410770
jne 0x41078c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410770
xor ecx, ecx
sub eax, 3
jb 0x4107a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410812
mov ebp, eax
add ebx, ebx
jne 0x4107ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4107b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4107dc
inc ecx
add ebx, ebx
jne 0x4107c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4107bd
jne 0x4107d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4107bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4107fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4107ed
jmp 0x41075e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4107fc
add edi, ecx
jmp 0x41075e
pop esi
mov edi, esi
mov ecx, 0x213
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41081a
cmp byte [edi], 5
jne 0x41081a
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 eax, ebx
loop 0x41081f
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410897
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x113a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1141c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41084c
mov ecx, edi
jns 0x41087b
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 + 0x11420]
or eax, eax
je 0x410891
mov dword [ebx], eax
add ebx, 4
jmp 0x410869
call dword [esi + 0x11424]
popal
jmp 0x405808
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x17f95565
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7f341194
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x10c
push ebx
push esi
mov esi, dword [esp + 0x118]
push edi
test esi, esi
jne 0x402040
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov eax, dword [esi + 0x3c]
mov ebx, dword [esp + 0x120]
add eax, esi
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x10], eax
add edi, esi
xor eax, eax
cmp ebx, 0x10000
jae 0x402089
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
add ecx, eax
cmp ebx, ecx
jae 0x40211f
cmp ebx, eax
jb 0x40211f
mov edx, dword [edi + 0x1c]
sub ebx, eax
lea eax, [edx + ebx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x4020e4
mov ecx, dword [edi + 0x20]
mov edx, dword [esp + 0x10]
add ecx, esi
mov dword [esp + 0xc], 0
test edx, edx
je 0x402155
push ebp
mov ebp, ecx
mov edx, dword [ebp]
mov eax, esi
add eax, edx
push eax
push ebx
call fcn.00401f90
add esp, 8
test eax, eax
je 0x4020c8
mov ecx, dword [esp + 0x10]
inc ecx
add ebp, 4
mov dword [esp + 0x10], ecx
jmp 0x4020a5
mov ecx, dword [edi + 0x24]
mov edx, dword [esp + 0x10]
pop ebp
lea eax, [ecx + edx*2]
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov cx, word [eax + esi]
lea eax, [edx + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
test eax, eax
je 0x402155
cmp eax, edi
jb 0x402155
mov ecx, dword [esp + 0x10]
add ecx, edi
cmp eax, ecx
jae 0x402155
mov cl, byte [eax]
mov edi, eax
test cl, cl
je 0x40210b
cmp cl, 0x2e
je 0x402117
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4020fe
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov esi, edi
sub esi, eax
test esi, esi
jg 0x40212b
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret
push esi
lea edx, [esp + 0x18]
push eax
push edx
call fcn.00401fe0
add esp, 0xc
lea eax, [esp + 0x14]
mov byte [esp + esi + 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
inc edi
push edi
push eax
call fcn.00402020
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x10c
ret

Function at 0x402320
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.00402190
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x402375
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0xf0
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x42
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0xf0
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x402342
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret
Function at 0x40e791
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x41279f
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x1001b43a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1001b449
pop dword [ebp - 0x50]
mov eax, 0x1001b449
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x448c7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x588389d5
sub ecx, 0x5883315a
xor edi, edi
add edi, eax
mov ebx, 0x1118e619
sub ebx, 0x1152819
add ebx, dword [ebp - 0x50]
mov esi, 0x2c1794e9
xor dword [ebp - 0x28], 0xd543efd3
mov edx, dword [ebx]
xor dword [ebp - 0x4c], 0xd8e7a767
sub edx, esi
mov dword [ebp - 0x34], 0x1705092f
mov dword [edi], edx
add dword [ebp - 0x3c], 0xc97f79aa
add edi, 4
add ebx, 0xd4d19fe3
sub ebx, 0xd4d19fdf
loop 0x1001b49a
add eax, 0xbdcea284
add eax, 0x4232b23b
mov ebx, eax
add eax, 0xb7680fc9
add eax, 0x4897f03c
mov ecx, 0xb47d6c0f
sub ecx, 0xa47d6c0f
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001b43a
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001b43a
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret

Function at 0x401100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405044], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x405228
push 0x405290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40114b
xor eax, eax
jmp 0x401166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret