joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret
Function at 0x42222f
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.004179f0
and dword [ebp - 4], 0
cmp dword [0x435abc], 0
mov ebx, eax
jne 0x4222e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422391
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422391
push eax
call fcn.0041797e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435abc], eax
call esi
push eax
call fcn.0041797e
mov dword [esp], 0x42a634
push edi
mov dword [0x435ac0], eax
call esi
push eax
call fcn.0041797e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435ac4], eax
call esi
push eax
call fcn.0041797e
pop ecx
mov dword [0x435acc], eax
test eax, eax
je 0x4222e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041797e
pop ecx
mov dword [0x435ac8], eax
mov eax, dword [0x435ac8]
cmp eax, ebx
je 0x422338
cmp dword [0x435acc], ebx
je 0x422338
push eax
call fcn.004179f9
push dword [0x435acc]
mov esi, eax
call fcn.004179f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422338
test edi, edi
je 0x422338
call esi
test eax, eax
je 0x42232f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42232f
test byte [ebp - 0xc], 1
jne 0x422338
or dword [ebp + 0x10], 0x200000
jmp 0x422371
mov eax, dword [0x435ac0]
cmp eax, ebx
je 0x422371
push eax
call fcn.004179f9
pop ecx
test eax, eax
je 0x422371
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422371
mov eax, dword [0x435ac4]
cmp eax, ebx
je 0x422371
push eax
call fcn.004179f9
pop ecx
test eax, eax
je 0x422371
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435abc]
call fcn.004179f9
pop ecx
test eax, eax
je 0x422391
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422393
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x116c0000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x116c000a
jmp 0x116c200f
jmp fcn.11458058

Function at 0x408948
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub edx, eax
sub eax, 0xa714174c
call fcn.00408967
and eax, edx
xor dword [ebx], esi
inc ebx
cmp ebx, edi
jne fcn.00408948
sub edx, eax
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x40cf40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov dword [0x457880], eax
xor eax, eax
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x45787c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x457880], edx
cmp eax, 0x26f
jl 0x40cf50
mov dword [0x445d70], 0x270
mov esp, ebp
pop ebp
ret

Function at 0x40cf90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, 0xffffffff
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x457884]
mov ebx, dword [eax*4 + 0x457880]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x457eb4]
mov dword [eax*4 + 0x457880], edx
cmp eax, 0xe2
jl 0x40cfa0
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x457884]
mov ebx, dword [eax*4 + 0x457880]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x4574f4]
mov dword [eax*4 + 0x457880], edx
cmp eax, 0x26e
jl 0x40cff0
mov edx, dword [0x457880]
mov ecx, dword [0x45823c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x457eb0]
mov dword [0x45823c], eax
mov dword [0x445d70], 0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d080
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [0x445d70]
add dword [0x445d70], 1
mov eax, dword [0x456420]
cmp eax, dword [0x4454c0]
jne 0x40d0a6
cmp ebx, 0x271
jb 0x40d0c8
mov eax, dword [0x456420]
call fcn.0040cf40
not dword [0x456420]
mov eax, dword [0x456420]
mov dword [0x4454c0], eax
mov ebx, 0x270
lea esi, [esi]
cmp ebx, 0x270
jne 0x40d0e4
call fcn.0040cf90
xor ebx, ebx
mov dword [0x445d70], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x457880]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ec60
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ax, word [0x445210]
cmp ax, 0xcb
je 0x40ed6c
cmp ax, 0xcc
je 0x40ed6c
mov edx, dword [0x458480]
test edx, edx
je 0x40ec95
mov eax, dword [0x458330]
call edx
mov ebx, eax
jmp 0x40ec9a
mov ebx, 0x458334
cmp word [0x458320], 0
jle 0x40ecc0
mov eax, 0x458300
call fcn.0040eee0
mov eax, ebx
call fcn.0040e7e0
mov eax, ebx
call fcn.0040e860
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x40ece2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40ecdd
mov edx, edi
mov eax, ebx
call fcn.0040dc30
jmp 0x40ece0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40ecc8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x458320], 0
jle 0x40ed6c
mov edx, 0x458240
mov eax, ebx
call fcn.0040dd80
mov edi, eax
test edi, edi
je 0x40ed3c
mov eax, dword [0x4582d4]
mov dword [edi + 0xc], eax
cmp dword [0x4582d4], 0
je 0x40ed30
mov eax, dword [0x4582d4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x4582d4], eax
nop
sub word [0x458320], 1
cmp word [0x458320], 0
sete bl
mov eax, 0x458300
call fcn.0040ef00
test bl, bl
je 0x40ed6c
mov eax, 0x458300
call fcn.0040eed0
lea esi, [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411050
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x457660], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00411230
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x457660]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402a50
call sub.kernel32.dll_GetCommandLineA
mov dword [0x445290], eax
mov ebx, eax
jmp 0x4111f3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x4110d8
cmp byte [ebx], 0
je 0x4111fc
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x411153
mov al, byte [ebx]
cmp al, 1
jb 0x411148
sub al, 0x20
jbe 0x411118
sub al, 2
je 0x41112c
jmp 0x411148
mov al, byte [ebp - 0x114]
test al, al
je 0x411158
add dword [ebp - 0x110], 1
jmp 0x411150
cmp byte [ebx + 1], 0x22
je 0x411143
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x411150
add ebx, 1
jmp 0x411150
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x411108
test dword [ebp - 0x10c], 0xffffffff
je 0x4111ec
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00411230
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x457660]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x4111e3
mov al, byte [ebx]
cmp al, 1
jb 0x4111d8
sub al, 0x20
jbe 0x4111a8
sub al, 2
je 0x4111bc
jmp 0x4111d8
mov al, byte [ebp - 0x114]
test al, al
je 0x4111e8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x4111e0
cmp byte [ebx + 1], 0x22
je 0x4111d3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4111e0
add ebx, 1
jmp 0x4111e0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x411198
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x4110db
mov ebx, dword [ebp - 0x10c]
mov dword [0x457650], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x457660
call fcn.0040ea90
mov eax, dword [0x457660]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00413310
push ebp
push 0x411f00
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x413430
mov al, byte [ebp - 0x110]
test al, al
je 0x4133f9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00403ed0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004081f0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00408f20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x448dbc
call fcn.00431800
mov edx, 0x41338a
mov ecx, ebp
call fcn.00411da0
jmp 0x413430
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x448dbc
call fcn.00431800
mov edx, 0x4133f9
mov ecx, ebp
call fcn.00411da0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x4134f4
mov al, byte [ebp - 0x110]
test al, al
je 0x4134bd
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00403ed0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004081f0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00408f20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x448dbc
call fcn.00431800
mov edx, 0x41344e
mov ecx, ebp
call fcn.00411da0
jmp 0x4134f4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x448dbc
call fcn.00431800
mov edx, 0x4134bd
mov ecx, ebp
call fcn.00411da0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00413050
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00413310
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4327f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.004327e0
push ebp
push 0x411f00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x432860
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.00409fd0
cmp ebx, 1
jle 0x432850
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.00409a80
jmp 0x43286b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00407960
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004327e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x432c70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00432c60
push ebp
push 0x411f00
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x458d5c]
xor edx, edx
call fcn.00407960
mov dword [ebx*4 + 0x458d7c], 0xffffffff
cmp ebx, 7
jl 0x432c98
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x432d24
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00408360
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0042a020
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x432d24
push 4
push ebx
push esi
mov eax, 0x432b40
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x432bd0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00432c60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x458dc0], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x458c20], eax
mov eax, dword [ebp - 0x90]
mov dword [0x458c30], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x458c40], eax
mov eax, dword [ebp - 0x88]
mov dword [0x458c50], eax
mov edx, 0x458c61
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00402a50
lea eax, [ebp - 0x80]
call fcn.00403950
mov byte [0x458c60], al
mov eax, str.kernel32
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x458dd0], eax
test eax, eax
je 0x433400
mov eax, str.GetDiskFreeSpaceExA
push eax
push dword [0x458dd0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x458dc0], eax
nop
cmp dword [0x458c30], 6
jae 0x433414
mov dword [0x446260], 0
nop
cmp dword [0x458c30], 6
jb 0x433430
cmp dword [0x458c40], 1
jb 0x433430
mov dword [0x446270], 2
mov esp, ebp
pop ebp
ret
Function at 0x1000e3d1
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x1000e40e
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x1000e407
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x1000e413
add edx, 0x28
cmp edx, esi
jne 0x1000e3f8
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1000e410

Function at 0x10017533
Capabilities:
Encode data using xor

Disassembly:
call 0x100174ac
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100174dc
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100174f8
xor edx, 0
jmp 0x10017503
xor edx, edx
jmp 0x1001751a
jmp 0x10017526
xor eax, eax
push 0x8427d7c0
call 0x10017533
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001756f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10017548
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x10017586
add eax, 0
jno 0x1001758b
add esi, 0
ret 0x10
Function at 0x100182f4
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10018316
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100184b8
cmp edi, dword [ebp + 0x10]
jb 0x100184b8
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10017de0
inc edi
jmp 0x1001839f
jmp 0x100183ac
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017de0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017de0
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10018400
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100183e4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001842e
add dword [eax], 0x39
jle 0x1001840a
sub al, 0xf5
mov ch, al
call fcn.10018443
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001a11b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1001a131
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1001a142
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001a183
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x1001c4ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1001c438
add ebx, 0
push ecx
call 0x1001c44d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x721490cd
sub ebx, dword [0x7216890c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x721688fc
call fcn.10017f17
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10017425
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001c5ab
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001c5ab
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1001c562
mov eax, 1
lock xchg dword [0x72168908], eax
push 0x3dd1fc71
call 0x1001c4ef
push esi
add esp, 8
cmp eax, 0
jne 0x1001c4d8
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001c4fe
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001c513
cmp ecx, edx
cmp eax, 0
je 0x1001c538
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1001c522
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001c551
dec eax
loope 0x1001c554
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72168908], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1001c588
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001c59d
jmp 0x1001c5a8
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001c496