joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008e45
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10008e54
pop dword [ebp - 0x38]
mov eax, 0x31f55dbb
add eax, 0xde0b3099
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x6cdf15be
add dword [ebp - 0x48], 0xe1732f8d
mov dword [ebp - 0x44], 0x24554a12
sub dword [ebp - 0x44], 0xf221fdcd
mov dword [ebp - 0x40], 0x5393f54c
add dword [ebp - 0x40], 0xf8b84ee2
mov dword [ebp - 0x3c], 0xa1d4a400
add dword [ebp - 0x3c], 0x5e2b5c00
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x9ecf3c35
add dword [ebp - 0x48], 0xd5a32d21
mov dword [ebp - 0x44], 0x9eea4399
sub dword [ebp - 0x44], 0x5d7de224
mov dword [ebp - 0x40], 0x994edcd3
sub dword [ebp - 0x40], 0x35df7067
mov dword [ebp - 0x3c], 0x506298bb
sub dword [ebp - 0x3c], 0x506298bb
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3c3b3
push 0
call eax
mov ecx, 0x5927
mov ebx, eax
mov esi, 0x7daf3588
add esi, 0x92553e78
add esi, dword [ebp - 0x38]
mov edx, 0xbcc113fb
add edx, 0x21354306
xor dword [ebp - 0x18], ecx
mov edi, dword [esi]
add dword [ebp - 0x28], ecx
add edi, edx
sub dword [ebp - 8], 0x77250609
mov dword [ebx], edi
add ebx, 0xbc827f62
sub ebx, 0xbc827f5e
add esi, 4
loop 0x10008f66
add eax, 0x1576f
mov ebx, eax
add eax, 0xcfe7e9fc
sub eax, 0xcfe7e9f7
mov ecx, 0xf314b09e
add ecx, 0x1ceb4f62
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x10007baf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10007bbe
pop dword [ebp - 0x20]
mov eax, 0x10007bbe
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xb2a25ce1
sub dword [ebp - 0x30], 0x64501796
mov dword [ebp - 0x2c], 0x34ed6cf
add dword [ebp - 0x2c], 0x2ee47576
mov dword [ebp - 0x28], 0x9efa521b
sub dword [ebp - 0x28], 0x52ae0ded
mov dword [ebp - 0x24], 0xb6f198d3
add dword [ebp - 0x24], 0x490e672d
lea eax, [ebp - 0x30]
push eax
mov eax, 0x98fb5f8d
sub eax, 0x88fadf41
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x26212eb2
sub dword [ebp - 0x30], 0xb1aec55c
mov dword [ebp - 0x2c], 0x44216dde
add dword [ebp - 0x2c], 0xfd4af397
mov dword [ebp - 0x28], 0x5597c4c8
sub dword [ebp - 0x28], 0xf228585c
mov dword [ebp - 0x24], 0x4f4a3044
sub dword [ebp - 0x24], 0x4f4a3044
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x832fc0f1
sub eax, 0x732f40a9
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x359ba
push 0
call eax
mov ecx, 0x43c3
mov ebx, eax
mov edx, 0x7ab9a943
add edx, 0x954750bd
add edx, dword [ebp - 0x20]
mov edi, 0x7818db3f
add edi, 0x83f77ca8
xor dword [ebp - 0x1c], esi
mov esi, dword [edx]
xor dword [ebp - 8], 0x418710aa
sub esi, edi
xor dword [ebp - 0xc], edi
mov dword [ebx], esi
mov dword [ebp - 0x1c], 0x15391054
add ebx, 0x34cb4b3a
add ebx, 0xcb34b4ca
add edx, 0x30e4e322
add edx, 0xcf1b1ce2
loop 0x10007cd5
add eax, 0x75461fd0
add eax, 0x8abae20f
mov ebx, eax
add eax, 5
mov ecx, 0x965b038f
sub ecx, 0x865b038f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x401720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41da90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x429068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004064ec
mov esi, eax
add esp, 4
test esi, esi
je 0x401779
push 1
mov dword [ebp - 4], 0
call fcn.00405b83
add esp, 4
mov dword [esi + 4], eax
jmp 0x40177b
xor esi, esi
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.00402b70
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x2c], edx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4c], 0
mov eax, dword [0x429f5c]
mov ecx, dword [0x429f60]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402980
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x429068]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x402a42
cmp byte [esi + 0x3d], 0
je 0x402a42
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x402a2f
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4029f4
sub eax, 1
je 0x4029f8
sub eax, 2
jne 0x402a2f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0040652f
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x402a17
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040bf8f
add esp, 0x10
cmp edi, eax
jne 0x402a2f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0040652f
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0040652f
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0040652f
add esp, 0x28
ret
Function at 0x403c40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x429068]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x403c70
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x403cad
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x403cad
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x403db7
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x403cd5
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x403d09
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0040b618
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
mov byte [esp + 0xc], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x403d72
sub eax, 1
je 0x403d72
sub eax, 2
jne 0x403db7
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.00401400
add esp, 8
or ecx, 0xffffffff
test al, al
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x403d91
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0040bf8f
add esp, 0x10
cmp edi, eax
jne 0x403db7
lea ecx, [esp + 0xc]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040652f
add esp, 0x30
ret 4
Function at 0x404bc0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x404be1
jl 0x404bd7
test esi, esi
jne 0x404be1
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x404c94
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.00402a60
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x404c51
jg 0x404c19
test esi, esi
je 0x404c51
cmp ebp, eax
jg 0x404c29
jl 0x404c23
cmp edi, esi
jae 0x404c29
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.00407950
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x404c70
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x404c80
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x404c00
jl 0x404c80
test edi, edi
jne 0x404c00
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x404cd9
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x404ce0
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.00407950
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x404ce0
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x404d49
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x404d0a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x404d34
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.0040b908
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x404d49
cmp edi, eax
ja 0x404d12
test edi, edi
je 0x404d49
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.0040b908
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x404e40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
cmp dword [ebp + 0x38], 0
je 0x404f1e
mov edx, dword [esp + 0x30]
mov ebx, edx
mov ecx, dword [esp + 0x2c]
mov edi, ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
test edx, edx
jl 0x404f0e
jg 0x404e80
test ecx, ecx
je 0x404f0e
nop dword [eax]
mov ecx, ebp
call fcn.00403010
mov ebp, edx
mov esi, eax
test ebp, ebp
jl 0x404ece
jg 0x404e95
test esi, esi
je 0x404ece
cmp ebx, ebp
jg 0x404ea3
jl 0x404e9f
cmp edi, esi
jae 0x404ea3
mov esi, edi
mov ebp, ebx
mov eax, dword [esp + 0x28]
push esi
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
push dword [eax]
call fcn.00407950
add esp, 0xc
sub edi, esi
sbb ebx, ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x30]
sub dword [eax], esi
mov eax, dword [ebp + 0x20]
add dword [eax], esi
jmp 0x404ef4
mov ebp, dword [esp + 0x10]
mov ecx, ebp
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x404f06
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x28], esi
test ebx, ebx
jg 0x404e80
jl 0x404f06
test edi, edi
jne 0x404e80
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sub ecx, edi
pop edi
pop esi
pop ebp
sbb edx, ebx
mov eax, ecx
pop ebx
add esp, 0x14
ret 0xc
mov eax, dword [ebp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
lea eax, [ebp + 0x30]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x404f48
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x404f4e
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x404fb6
jg 0x404f65
test esi, esi
je 0x404fb6
test ecx, ecx
jl 0x404fb0
jg 0x404f6f
test eax, eax
je 0x404fb0
cmp edi, ecx
jg 0x404f83
jl 0x404f79
cmp esi, eax
jae 0x404f83
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0x28]
push eax
push ebx
push dword [esp + 0x20]
call fcn.00407950
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebx, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebp + 0x20]
add dword [eax], ecx
jmp 0x404fba
mov ebx, dword [esp + 0x28]
jmp 0x404fc4
mov ebx, dword [esp + 0x28]
test edi, edi
jl 0x404fdd
jg 0x404fc4
test esi, esi
je 0x404fdd
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x404fdd
push eax
push esi
push 1
push ebx
call fcn.0040bf8f
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x407136
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407175
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407175
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407175
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407175
cmp dword [ecx + 0x74], 0xe
jbe 0x407175
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x412619
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041248f

Function at 0x41d670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d69d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d69d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41c437
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41c446
pop dword [ebp - 0x4c]
mov eax, 0x760dc080
add eax, 0x8a3403c6
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x2ee9e39c
add dword [ebp - 0x5c], 0x1f6861af
mov dword [ebp - 0x58], 0x15fb53fe
sub dword [ebp - 0x58], 0xe3c807b9
mov dword [ebp - 0x54], 0x8da67401
sub dword [ebp - 0x54], 0x415a2fd3
mov dword [ebp - 0x50], 0x1c80aa3c
sub dword [ebp - 0x50], 0x1c80aa3c
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xb0605509
sub dword [ebp - 0x5c], 0x3bedebb3
mov dword [ebp - 0x58], 0xa381ba40
add dword [ebp - 0x58], 0x9deaa735
mov dword [ebp - 0x54], 0x40432126
add dword [ebp - 0x54], 0x232c4b46
mov dword [ebp - 0x50], 0xd355e8f6
add dword [ebp - 0x50], 0x2caa170a
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x32221d51
add eax, 0xce204307
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b845
push 0
call eax
mov ecx, 0xc0d403fb
add ecx, 0x3f2c3b24
mov ebx, eax
mov esi, 0x69d12830
add esi, 0x9672c1d0
add esi, dword [ebp - 0x4c]
mov edx, 0xccce5779
mov dword [ebp - 0x34], 0x3231eab6
mov edi, dword [esi]
xor dword [ebp - 0x3c], 0x5da9e9a5
xor edi, edx
sub dword [ebp - 8], edi
mov dword [ebx], edi
sub dword [ebp - 0x14], esi
add ebx, 0xcbc4b823
sub ebx, 0xcbc4b81f
add esi, 0x14f2b292
add esi, 0xeb0d4d72
loop 0x41c55d
add eax, 0xbbae6e2c
add eax, 0x44528123
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe3feab17
sub ecx, 0xe3beab17
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x458726
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x458735
pop dword [ebp - 0x50]
mov eax, 0x458735
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xd6ccf183
sub dword [ebp - 0x60], 0x887aac38
mov dword [ebp - 0x5c], 0xe7773463
add dword [ebp - 0x5c], 0x4abc17e2
mov dword [ebp - 0x58], 0xaa1c441
add dword [ebp - 0x58], 0x41aa7fed
mov dword [ebp - 0x54], 0x617241fe
add dword [ebp - 0x54], 0x9e8dbe02
lea eax, [ebp - 0x60]
push eax
mov eax, 0xbe92956e
sub eax, 0xbe4692d6
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x6bb4e075
sub dword [ebp - 0x60], 0xf742771f
mov dword [ebp - 0x5c], 0xeb935d80
add dword [ebp - 0x5c], 0x55d903f5
mov dword [ebp - 0x58], 0xcbe6b21b
sub dword [ebp - 0x58], 0x687745af
mov dword [ebp - 0x54], 0x17d996f7
add dword [ebp - 0x54], 0xe8266909
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4590b210
add eax, 0xbabb50b4
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x74048
push 0
call eax
mov ecx, 0x59a0a503
sub ecx, 0x59a053e3
mov edx, eax
mov edi, 0x9461ac24
sub edi, 0x940e3824
add edi, dword [ebp - 0x50]
mov esi, 0x8369b722
add esi, 0x8c0ca176
xor dword [ebp - 8], 0x46f2d038
mov ebx, dword [edi]
xor dword [ebp - 0x30], edi
sub ebx, esi
mov dword [ebp - 0x4c], 0x3387b2b0
mov dword [edx], ebx
sub dword [ebp - 0x24], eax
add edx, 4
add edi, 0x1aeab048
add edi, 0xe5154fbc
loop 0x458852
add eax, 0x13753
mov ebx, eax
add eax, 0xcf49b32d
add eax, 0x30b64cd8
mov ecx, 0x28aca869
add ecx, 0xd7935797
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401ded
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4052f8
cmp edx, dword [eax]
je 0x401e0f
add eax, 8
inc ecx
cmp eax, 0x405388
jl 0x401e00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4052f8]
jne 0x401f3d
mov eax, dword [0x40549c]
cmp eax, 1
je 0x401f17
test eax, eax
jne 0x401e40
cmp dword [0x405034], 1
je 0x401f17
cmp edx, 0xfc
je 0x401f3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401e77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004024e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402650
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401eba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402650
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404378
push edi
call fcn.004032e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004024e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004024f0
lea eax, [ebp - 0xa0]
push 0x404358
push eax
call fcn.004024f0
push dword [esi + 0x4052fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004024f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040324e
add esp, 0x2c
pop edi
jmp 0x401f3d
lea eax, [ebp + 8]
lea esi, [esi + 0x4052fc]
push 0
push eax
push dword [esi]
call fcn.00402650
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 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401443
pop dword [ebp - 0x50]
mov eax, 0x401443
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xae671d51
add dword [ebp - 0x60], 0x9feb27fa
mov dword [ebp - 0x5c], 0x38c7c0ad
sub dword [ebp - 0x5c], 0x6947468
mov dword [ebp - 0x58], 0xfc1c0528
add dword [ebp - 0x58], 0x50303f06
mov dword [ebp - 0x54], 0x89b152b4
add dword [ebp - 0x54], 0x764ead4c
lea eax, [ebp - 0x60]
push eax
mov eax, 0xf5634660
add eax, 0xadd3aa4
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xdf85f8ef
sub dword [ebp - 0x60], 0x6b138f99
mov dword [ebp - 0x5c], 0xffecaa24
sub dword [ebp - 0x5c], 0xbe8048af
mov dword [ebp - 0x58], 0x4c8a56be
add dword [ebp - 0x58], 0x16e515ae
mov dword [ebp - 0x54], 0xc97e8ca1
sub dword [ebp - 0x54], 0xc97e8ca1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xa6b2a638
sub eax, 0xa6722538
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3bea2
push 0
call eax
mov ecx, 0x568e
mov edx, eax
mov ebx, 0x9ae1dcf9
sub ebx, 0x9a9c9af9
add ebx, dword [ebp - 0x50]
mov edi, 0x65b89004
xor dword [ebp - 0x3c], ecx
mov esi, dword [ebx]
mov dword [ebp - 0x24], 0xcdc30d14
add esi, edi
xor dword [ebp - 0x30], 0x99266606
mov dword [edx], esi
add dword [ebp - 0x28], edx
add edx, 0xbf58f450
sub edx, 0xbf58f44c
add ebx, 4
loop 0x401554
add eax, 0x4d71a22d
sub eax, 0x4d705522
mov ebx, eax
add eax, 5
mov ecx, 0xc14fad8c
sub ecx, 0xc10fad8c
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x434f90]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004064be
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x434f90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x434f90], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27