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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, edx
mov eax, edx
xor eax, dword [ebp + 0x10]
shr ecx, 5
inc ecx
cmp edx, ecx
jb 0x11675ab
push esi
push edi
mov esi, dword [ebp + 8]
movzx esi, byte [esi + edx - 1]
mov edi, eax
shl edi, 5
add esi, edi
mov edi, eax
shr edi, 2
add esi, edi
sub edx, ecx
xor eax, esi
cmp edx, ecx
jae 0x116758b
pop edi
pop esi
pop ebp
ret

Function at 0x116b710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
mov esi, 0x200
call fcn.0115f3b6
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0115f255
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.01176b5d
add esp, 0x20
jmp 0x116b772
cmp esi, 0x3fffffff
ja 0x116b756
add esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0115f255
push dword [ebp + 0xc]
push esi
push 1
push eax
call fcn.01176b5d
add esp, 0x18
add dword [ebp - 0x208], eax
cmp eax, esi
jae 0x116b74c
lea eax, [ebp - 0x210]
push eax
call fcn.0115f31e
pop ecx
pop esi
leave
ret

Function at 0x116b78c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 8]
call fcn.0115f3b6
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push eax
call fcn.0115f255
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push 1
push eax
call fcn.01176b5d
mov esi, eax
add dword [ebp - 0x208], esi
lea eax, [ebp - 0x210]
push eax
call fcn.0115f31e
xor eax, eax
add esp, 0x24
cmp eax, esi
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x116ba7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, eax
call fcn.01160364
pop ecx
mov esi, eax
sub esi, ebx
push 1
pop edi
je 0x116bb0e
push ebx
push dword [ebp + 8]
dec esi
call fcn.011604f3
pop ecx
pop ecx
cmp eax, 3
jne 0x116bad7
test edi, edi
je 0x116bb03
push 0
push ebx
push dword [ebp + 8]
call fcn.011606dc
fstp qword [esp + 4]
mov dword [esp], str._.14g
push dword [ebp + 0xc]
call fcn.0117419d
add esp, 0x10
test eax, eax
jle 0x116bb03
xor edi, edi
inc edi
jmp 0x116bb05
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call fcn.0115fed8
add esp, 0xc
test edi, edi
je 0x116bb03
push dword [ebp + 0xc]
xor edi, edi
push dword [ebp - 4]
inc edi
push edi
push eax
call fcn.0117578e
add esp, 0x10
cmp eax, dword [ebp - 4]
je 0x116bb05
xor edi, edi
inc ebx
test esi, esi
jne 0x116ba98
test edi, edi
je 0x116bb13
xor eax, eax
inc eax
jmp 0x116bb22
push 0
push 0
push dword [ebp + 8]
call fcn.0115f07f
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7ffe537e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
inc esi
dec esi
not eax
not eax
and al, 0xff
not eax
not eax
push es
pop ds
pushf
popf
inc esi
dec esi
add al, 4
sub al, 4
inc esi
dec esi
pushf
popf
inc esi
dec esi
not eax
not eax
push eax
pop eax
xor eax, ecx
xor eax, ecx
add al, 0
add al, 4
sub al, 4
push eax
pop eax
add al, 4
sub al, 4
and al, 0xff
add al, 4
sub al, 4
add al, 0
add al, 4
sub al, 4
push eax
pop eax
not eax
not eax
and al, 0xff
push bx
inc esp
inc esp
add al, 0
push bx
inc esp
inc esp
push es
pop ds
pushf
popf
inc esi
dec esi
not eax
not eax
and al, 0xff
add al, 4
sub al, 4
inc esi
dec esi
push bx
inc esp
inc esp
push eax
pop eax
pushf
popf
push eax
pop eax
inc esi
dec esi
call 0x7ffe53ff
pop edx
push es
pop ds
not eax
not eax
push es
pop ds
push eax
pop eax
xor dx, dx
and al, 0xff
push eax
pop eax
add edx, 0xd5e0
and al, 0xff
add al, 4
sub al, 4
add al, 0
xor ecx, ecx
mov cl, 0x1e
pushf
popf
push eax
pop eax
xor byte [ecx + edx], 5
loop 0x7ffe5429
push bx
inc esp
inc esp
push es
pop ds
add al, 4
sub al, 4
push dword fs:[0x24]
and al, 0xff
add al, 4
sub al, 4
pop dword [edx + 0xa]
cld
inc esi
dec esi
mov cl, 0xff
push eax
pop eax
pushf
popf
push edx
loop 0x7ffe5454
cld
mov dword [edx + 0x11], 0xffffacbb
add al, 4
sub al, 4
push eax
pop eax
cld
push es
pop ds
mov ecx, dword [eax + 0x2c]
push bx
inc esp
inc esp
clc
push es
pop ds
mov dword [edx + 0x1b], ecx
clc
push eax
pop eax
mov dword [edx + 0x100], ecx
and al, 0xff
push bx
inc esp
inc esp
cld
mov dword [eax + 0x2c], esp
pushf
popf
cld
push 0
add al, 4
sub al, 4
push es
pop ds
nop
push 0
inc esi
dec esi
push 0
xor eax, ecx
xor eax, ecx
and al, 0xff
xor eax, ecx
xor eax, ecx
push 0
push es
pop ds
add al, 0
push 0x30
inc esi
dec esi
add al, 4
sub al, 4
push 0x20
nop
push 0
pushf
popf
nop
push 0
add edx, 0xffff7f34
add al, 4
sub al, 4
add al, 0
push edx
push es
pop ds
clc
push edx
push bx
inc esp
inc esp
push es
pop ds
push 0
pushf
popf
and al, 0xff
add al, 4
sub al, 4
call dword [edx + 0x820f]
push es
pop ds
add al, 0
add esp, 0x3f8
push es
pop ds
xor eax, ecx
xor eax, ecx
nop
xor eax, eax
xor eax, ecx
xor eax, ecx
push eax
pop eax
and al, 0xff
inc eax
cld
and al, 0xff
ret 0xc
Function at 0x100011ad
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, ecx
or eax, dword [ebp + 8]
mov esi, edx
sub esi, eax
mov dword [ebp - 4], esi
mov esi, dword [ebp - 4]
or esi, dword [ebp + 0x10]
add esi, dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov esi, edx
sub esi, dword [ebp + 8]
add esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 0xc]
and esi, dword [ebp + 0x10]
or esi, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0
mov esi, dword [ebp - 8]
cmp esi, edx
jge 0x1000123e
push edi
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
xor esi, eax
xor esi, edx
mov dword [ebp - 4], esi
mov esi, dword [ebp - 4]
xor esi, dword [ebp + 0xc]
sub edi, esi
mov esi, dword [ebp - 0x14]
xor edi, esi
mov dword [ebp - 0x14], edi
mov esi, dword [ebp - 0x14]
imul esi, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
and esi, edx
imul esi, edi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
imul esi, ecx
and esi, edi
mov edi, dword [ebp - 0xc]
or esi, edi
mov dword [ebp - 0xc], esi
inc dword [ebp - 8]
mov esi, dword [ebp - 8]
cmp esi, edx
jl 0x100011f1
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
or ecx, eax
mov eax, dword [ebp - 4]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
sub eax, ecx
pop esi
leave
ret 0xc
Function at 0x100018ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
or esi, edx
imul esi, eax
mov dword [ebp + 8], esi
mov esi, ecx
and esi, edx
add esi, eax
mov dword [ebp + 0x10], esi
mov esi, edx
xor esi, eax
add esi, dword [ebp + 8]
mov dword [ebp + 0xc], esi
mov esi, ecx
xor esi, edx
xor esi, eax
mov dword [ebp - 0xc], esi
mov esi, eax
sub esi, edx
xor esi, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 4]
cmp esi, eax
jge 0x10001962
push edi
mov esi, dword [ebp + 8]
sub esi, ecx
add esi, dword [ebp + 0x10]
add esi, dword [ebp + 8]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
sub esi, eax
imul esi, edi
add esi, dword [ebp + 0x10]
mov dword [ebp + 0x10], esi
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
sub esi, edi
imul esi, edx
add esi, dword [ebp + 0xc]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
add esi, ecx
add esi, eax
xor esi, edi
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
or esi, ecx
and esi, edx
imul esi, edi
mov dword [ebp - 8], esi
inc dword [ebp - 4]
mov esi, dword [ebp - 4]
cmp esi, eax
jl 0x10001908
pop edi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
imul eax, ecx
mov ecx, dword [ebp + 0xc]
xor eax, ecx
mov ecx, dword [ebp + 0x10]
or eax, ecx
mov ecx, dword [ebp + 8]
imul eax, ecx
pop esi
leave
ret 0xc

Function at 0x10001980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ecx, edx
xor ecx, esi
push edi
add ecx, eax
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
lea edi, [ecx + eax]
xor edi, dword [ebp + 0xc]
mov dword [ebp + 8], edi
mov ebx, dword [ebp + 0x10]
lea edi, [edx + esi]
sub edi, ebx
mov dword [ebp + 0x18], edi
mov edi, dword [ebp + 0x10]
add edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
imul edi, ebx
mov dword [ebp - 4], edi
mov dword [ebp + 0x14], 0
mov edi, dword [ebp + 0x14]
cmp edi, eax
jge 0x10001a1f
mov dword [ebp - 8], ecx
sub dword [ebp - 8], eax
mov edi, dword [ebp + 0x18]
imul edi, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
or edi, ebx
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edi, edx
and edi, ebx
add edi, dword [ebp + 8]
mov dword [ebp + 8], edi
mov edi, dword [ebp + 0x18]
or edi, esi
add edi, dword [ebp - 4]
mov ebx, dword [ebp + 0x18]
xor edi, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x18], edi
mov edi, dword [ebp + 8]
and edi, ecx
sub ebx, edi
mov edi, dword [ebp - 4]
and ebx, edi
mov dword [ebp - 4], ebx
inc dword [ebp + 0x14]
mov edi, dword [ebp + 0x14]
cmp edi, eax
jl 0x100019d4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
sub eax, ecx
mov ecx, dword [ebp + 8]
pop edi
or eax, ecx
add eax, dword [ebp + 0x10]
pop esi
pop ebx
leave
ret 0x14
Function at 0x10001d4d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x100064e8]
mov edx, dword [0x100066b8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
imul ecx, esi
mov edi, dword [ebp + 8]
lea eax, [edi + esi]
and eax, dword [0x100086b0]
not edx
push eax
mov eax, dword [0x10007e80]
or eax, dword [0x1000851c]
and edx, esi
and eax, dword [0x10007234]
or ecx, esi
push eax
lea eax, [edi - 0x27462a85]
push eax
call fcn.10001a36
cmp dword [0x1000e190], 0
mov ebx, eax
jne 0x10001da9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [0x10009180]
mov edx, dword [0x100093c0]
push esi
lea eax, [ebx + esi*2]
push eax
or ecx, esi
and ecx, dword [0x10008f24]
lea eax, [edi - 0x27462a99]
xor edx, ebx
push eax
xor edx, esi
call fcn.10001a36
mov ecx, dword [0x1000e1a4]
mov dword [0x1000e1a8], ecx
mov ecx, eax
sub ecx, ebx
or ecx, dword [0x1000986c]
lea edx, [edi - 0x27462995]
push ecx
lea ecx, [ebx + esi]
imul ecx, eax
push ecx
mov ecx, ebx
imul ecx, esi
or ecx, eax
mov dword [ebp + 8], eax
call fcn.10001255
mov ecx, dword [0x10009094]
sub ecx, edi
sub ecx, 0x5bd2baa9
mov dword [0x1000e1bc], ecx
mov ecx, eax
sub ecx, esi
and ecx, dword [0x1000a348]
pop edi
and ecx, eax
mov eax, dword [ebp + 8]
sub eax, ecx
pop esi
or eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x10001f3b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi + edi]
lea ecx, [esi - 0x1258e589]
push ecx
mov ecx, eax
and ecx, edi
push ecx
mov ecx, edi
sub ecx, dword [0x1000630c]
or ecx, edi
push ecx
push eax
push edi
call fcn.10001980
lea ecx, [eax + edi]
mov dword [ebp + 0x14], eax
mov eax, esi
cdq
mov ebx, 0x31605
idiv ebx
mov dword [ebp - 4], ecx
and ecx, esi
mov dword [0x1000e1a4], 0x10004030
push eax
mov eax, dword [0x100064e8]
add eax, edi
push ecx
add eax, esi
push eax
call fcn.100010e4
mov dword [ebp + 8], eax
mov eax, esi
cdq
mov ecx, 0x9fa6fc87
idiv ecx
push dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov eax, dword [0x10008760]
add eax, esi
mov ebx, dword [ebp + 0xc]
sub edx, 0x72b1ed66
push edx
cdq
push 0x13
pop ecx
idiv ecx
add eax, 0x11eb41
push eax
lea eax, [ebx - 0x45787e2]
push eax
lea eax, [ebx + 0xd1db29f]
push eax
mov eax, dword [0x100078e4]
lea eax, [eax + ebx - 0x29120e8a]
push eax
mov eax, esi
cdq
idiv dword [0x100090ac]
mov eax, 0xfbed783d
add edx, edx
sub eax, edx
push eax
lea eax, [esi + 0x7061]
push eax
lea eax, [esi - 0x40fa2865]
push eax
call fcn.100013d2
mov eax, dword [0x100068b8]
xor eax, dword [ebp + 0x14]
add esp, 0x24
or eax, dword [ebp + 8]
push eax
mov eax, ebx
and eax, esi
add eax, edi
push eax
mov eax, dword [0x1000d5d0]
cdq
idiv esi
mov ecx, dword [0x10006844]
mov edx, dword [ebp + 0x14]
or ecx, dword [0x100066b8]
sub edx, dword [ebp + 8]
add ecx, esi
add edx, edi
add eax, 0x66e
push eax
call fcn.10001a36
imul edi, edi
mov ecx, dword [0x1000e1a4]
mov edx, dword [ebp + 0x18]
lea ecx, [ecx + esi - 0x1258cdac]
mov dword [0x1000e1d0], ecx
mov ecx, dword [0x1000776c]
lea ecx, [ecx + edx + 0x3df6798b]
push ecx
mov ecx, ebx
xor ecx, esi
add ecx, eax
push ecx
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp + 0x14]
or edi, eax
or ecx, eax
push ecx
mov ecx, dword [0x10006d70]
and ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
imul ecx, dword [ebp + 8]
push ecx
push edi
call fcn.10001980
cmp dword [0x1000e190], 0
mov edi, eax
jne 0x100020ac
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0x18]
mov ecx, dword [0x10007748]
mov edx, dword [0x10006cd8]
sub edx, dword [ebp + 0x10]
sub ecx, eax
mov eax, edi
and eax, dword [ebp + 0xc]
push ecx
or eax, dword [0x10007678]
mov ecx, dword [0x10007234]
push eax
mov eax, dword [ebp + 8]
xor eax, dword [ebp + 0x14]
sub ecx, edi
add eax, esi
push eax
sub edx, 0x4c481978
add ecx, ebx
call fcn.100011ad
mov ecx, dword [0x1000e1a4]
mov dword [0x1000e1a8], ecx
mov ecx, dword [ebp - 4]
inc ecx
imul ecx, eax
mov eax, dword [ebp + 0xc]
imul ecx, edi
sub eax, ecx
or eax, dword [ebp + 8]
pop edi
xor eax, dword [ebp + 0x14]
pop esi
pop ebx
leave
ret 0x14
Function at 0x10002116
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x7cc4]
imul eax, ebx
cdq
mov ecx, 0x24038
idiv ecx
mov ecx, dword [0x10005fa4]
push edi
inc ecx
push eax
mov eax, dword [ebp + 0x18]
push dword [0x1000630c]
imul ecx, eax
push ecx
mov ecx, eax
imul eax, eax
imul ecx, ecx, 3
push ecx
push eax
call fcn.10001980
mov ecx, eax
mov eax, dword [esi + 0x7758]
imul eax, ebx
mov edi, dword [ebp + 0x14]
sub eax, 0x40c73c20
mov dword [0x1000e1bc], eax
mov eax, ecx
imul eax, ebx
mov edx, dword [ebp + 0x18]
imul eax, edi
push eax
mov eax, dword [esi + 0xa70]
add eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
xor eax, dword [esi + 0x9fc]
xor ecx, dword [ebp + 0x18]
push eax
and ecx, dword [esi + 0x6a0]
lea eax, [edi + 0x4e9d40ac]
sub edx, ebx
xor edx, dword [esi + 0x870]
push eax
call fcn.10001a36
mov dword [ebp + 0xc], eax
mov eax, dword [0x1000e194]
test eax, eax
jne 0x100021e9
mov eax, dword [esi + 0x4088]
imul eax, edi
push 0x1000e1d4
add eax, 0x258c13ea
push eax
push 0x1000e1bc
push 0x1000e1a8
push 0xffffffffffffffff
call dword [0x1000e190]
test eax, eax
je 0x100021e9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x10]
and eax, ebx
and eax, edi
push eax
mov eax, ebx
xor eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
add eax, dword [ebp + 0xc]
lea edx, [ebx + 0x7fc04c9d]
push eax
mov eax, dword [esi + 0xd8c]
imul eax, ebx
imul eax, edi
push eax
mov eax, dword [ebp + 0x10]
and eax, dword [ebp + 0x18]
sub ecx, eax
call fcn.100011ad
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x1c]
cdq
mov ecx, 0x1980
idiv ecx
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x4e9d95f0]
add ecx, 0x84fdc45a
add edx, 0x906
push edx
push eax
mov eax, dword [0x10008d1c]
lea eax, [eax + edi - 0x33e060f4]
push eax
mov eax, dword [0x1000e194]
neg eax
sbb eax, eax
not eax
and eax, ecx
push eax
mov eax, edi
cdq
mov ecx, 0x4c54
idiv ecx
mov eax, dword [esi + 0x1b04]
imul eax, ebx
mov ecx, 0x3d51
add edx, 0x8f0d
push edx
cdq
idiv ecx
mov eax, dword [esi + 0x2774]
push dword [0x1000e1a4]
imul eax, ebx
mov ecx, 0x47d8
add edx, 0x66df
push edx
cdq
idiv ecx
lea ecx, [edi + 0x4e9d4a49]
add edx, 0x171f
push edx
mov edx, 0x10004030
call fcn.100016d5
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x1c]
mov edx, dword [esi + 0x69a8]
imul edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor eax, ebx
push eax
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
add edx, 0x3f61d7f3
sub ecx, eax
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0xc]
push ecx
mov ecx, edi
sub ecx, eax
call fcn.10001255
mov ecx, eax
xor ecx, dword [ebp + 0x18]
mov edx, dword [esi + 0xe90]
sub edx, ecx
add edx, eax
or edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
xor edx, dword [ebp + 0xc]
pop edi
pop esi
sub eax, edx
pop ebx
pop ebp
ret
Function at 0x10002ccf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 4], ebx
mov eax, dword [0x100064e8]
mov edi, dword [ebp + 0xc]
add eax, edi
xor eax, edi
push eax
mov eax, esi
xor eax, edi
push esi
mov ecx, esi
sub ecx, eax
push ecx
mov eax, esi
push 0x4d
cdq
pop ecx
idiv ecx
xor ecx, ecx
inc ecx
sub ecx, edi
imul ecx, edi
add edx, 0x5b
call fcn.100011ad
mov dword [ebp - 0xc], eax
mov eax, dword [0x1000e194]
test eax, eax
jne 0x10002d49
mov eax, dword [0x10006d70]
cdq
idiv esi
push 0x1000e1d4
add eax, 0x3e
push eax
push 0x1000e1bc
push 0x1000e1a8
push 0xffffffffffffffff
call dword [0x1000e190]
test eax, eax
je 0x10002d49
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
sub eax, dword [ebp + 0x14]
mov ecx, 0x3aa87d40
or eax, dword [0x100066b8]
mov edi, 0x10005e48
push eax
lea eax, [esi - 0x707dfbeb]
push eax
mov eax, ebx
cdq
idiv ecx
mov eax, dword [0x10007f90]
add ebx, 0x639e991e
mov ecx, 0x25eba48b
sub ecx, dword [ebp + 0x14]
add edx, 0x24ce3d2c
push edx
push edi
push ebx
mov ebx, dword [ebp + 0x10]
imul eax, ebx
add eax, 0x74d5230d
push eax
lea edx, [esi - 0x2eb09187]
call fcn.10002a59
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
add eax, 0xf229fac8
push edi
push eax
mov eax, dword [0x1000c2e4]
imul eax, ebx
push 5
cdq
pop ecx
idiv ecx
mov ecx, ebx
sub ecx, dword [0x10007234]
sub ecx, dword [ebp - 4]
lea edx, [eax - 0x30e3ab2]
call fcn.10003172
and ebx, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
add ebx, esi
push ebx
lea eax, [esi + 0x187e4be4]
push eax
mov eax, dword [ebp + 8]
sub eax, dword [0x1000b014]
mov ecx, 0x482be53f
cdq
idiv ecx
push edi
sub edx, 0x7b897447
push edx
call fcn.10001af5
mov edx, eax
mov eax, dword [0x10007748]
xor eax, dword [ebp - 8]
mov ecx, edx
or ecx, esi
mov esi, dword [ebp - 4]
add eax, ecx
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp + 0xc]
add esi, ecx
add esi, dword [ebp + 8]
pop edi
xor eax, esi
imul eax, edx
and eax, dword [ebp + 0x10]
pop esi
and eax, dword [ebp - 8]
pop ebx
or eax, ecx
leave
ret 0x10
Function at 0x4012f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401309
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401344
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401340
lea ebx, [ebx]
cmp esi, eax
jae 0x401344
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401330
cmp esi, eax
jb 0x40134a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x439db8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x44d6b8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.0040c124
movzx ecx, word [esp + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x44]
push 0xa
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40187e
call fcn.0040c124
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40187e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x40187e
call fcn.0040c124
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x44]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x40187e
lea ecx, [esp + 0x10]
call fcn.0041638d
mov edx, dword [esp + 0x34]
push 0
push 0x1001
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0
call fcn.004167be
test eax, eax
lea ecx, [esp + 0x10]
je 0x401871
push esi
push ebx
call fcn.004160db
lea ecx, [esp + 0x10]
call fcn.0041632b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00416489
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
mov dword [esp + 0x28], 0xffffffff
call fcn.00416489
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x404470
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43a150
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x44d6b8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, 1
push 0xc8
mov dword [esp + 0x28], edi
call fcn.00409673
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0x20019
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x38]
push 0
push edi
push ecx
mov dword [esp + 0x28], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40453a
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4044fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404523
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x10
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x20]
push edx
push 0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404581
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40457c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
jmp 0x404502
mov ecx, dword [esp + 0x38]
push esi
call fcn.00403ad0
push esi
call fcn.00409678
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4045c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 0x10