joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426990
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1824
call fcn.00489190
mov eax, dword [0x4ef52c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1820], ebx
mov dword [ebp - 0x1818], eax
call fcn.00406510
push 0x800
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x180c], 0
push 0
push eax
mov dword [ebp - 0x1808], 0
call fcn.0048ba70
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.0048ba70
push 0x800
lea eax, [ebp - 0x1804]
push 0
push eax
call fcn.0048ba70
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x180c]
mov ecx, dword [0x4f50e0]
add esp, 0x24
or eax, 0x20019
mov dword [ebp - 0x181c], ecx
mov dword [ebp - 0x1824], 0xf003f
mov dword [ebp + 0xc], eax
push edx
push eax
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426a5b
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488461
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
xor esi, esi
push edi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1814]
mov dword [ebp - 0x1814], 0x400
push eax
lea eax, [ebp - 0x1004]
push eax
push esi
push dword [ebp - 0x180c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
jne 0x426b6a
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x181c]
lea eax, [ebp - 0x804]
push str._s_s
push 0x400
push eax
call fcn.0040fe40
add esp, 0x14
lea eax, [ebp - 0x1808]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push edi
push eax
push dword [ebp - 0x1820]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426bab
lea eax, [ebp - 0x1814]
mov dword [ebp - 0x1814], 0x800
push eax
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x1824]
push eax
push edi
push str.DisplayName
push dword [ebp - 0x1808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426b62
lea edx, [ebp - 0x180d]
lea ecx, [ebp - 0x1804]
call fcn.00415f90
test al, al
je 0x426b62
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426b40
mov ecx, dword [ebp - 0x1818]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00406160
push dword [ebp - 0x1808]
call ebx
mov eax, dword [ebp - 0x1818]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x426b81
inc esi
test edi, edi
je 0x426a65
push dword [ebp - 0x180c]
call ebx
mov ecx, dword [ebp - 0x1818]
pop edi
pop esi
pop ebx
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488461
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp - 0x1808]
call ebx
push dword [ebp - 0x180c]
call ebx
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488461
mov esp, ebp
pop ebp
ret 0xc
Function at 0x428320
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b55de
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ef52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x4bb8e0
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.00416ca0
mov dword [ebp - 4], 2
call fcn.0046d7a8
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4284a4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 1
cmp dword [eax - 0xc], 0
je 0x42846f
push str._netcfg.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00407a60
add esp, 0xc
mov dword [ebp - 4], 4
mov ecx, dword [eax]
mov ebx, dword [edi]
sub ebx, 0x10
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x42840e
cmp dword [ebx + 0xc], 0
jl 0x428403
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x428403
push edx
call fcn.00403430
add esp, 4
mov dword [ebp + 8], eax
mov ecx, esi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4283fc
lfence
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
jmp 0x42840e
push dword [ecx - 0xc]
push ecx
mov ecx, edi
call fcn.00406160
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42842b
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x428465
shr eax, 4
not al
test al, 1
je 0x428465
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42848e
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42848e
mov ecx, edi
call fcn.00406510
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42848e
lfence
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403750
int3
Function at 0x431b20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x94], eax
lea eax, [ebp - 0x24]
push eax
mov dword [esi], 0
mov dword [esi + 0x90], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 4]
cmp ecx, dword [ebp - 8]
mov dword [eax], 0
cmovb ecx, dword [ebp - 8]
xor eax, 0xb37cc16a
push 0x78
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push 0
push eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], 0x10
mov dword [esi + 0xa0], 0x20
mov dword [esi + 0xa4], 0
mov dword [esi + 0xc], esi
mov dword [esi + 0x14], 0
call fcn.0048ba70
add esp, 0xc
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4328e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00432870
mov ebx, eax
test bl, 1
jne 0x432915
mov edx, ebx
or edx, 1
lock cmpxchg dword [esi], edx
cmp eax, ebx
cmovne ebx, eax
test bl, 1
je 0x432a50
mov eax, dword [0x4f4f58]
test eax, eax
je 0x43292b
mov eax, dword [0x4f4f58]
test eax, eax
je 0x43292b
call eax
jmp 0x43292d
rdtsc
mov edi, edx
xor ecx, ecx
shrd eax, edi, 1
sar edi, 1
xor esi, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test ebx, 0xfffffff8
jne 0x43298b
mov edi, dword [esp + 0x10]
mov edx, ebx
or edx, 8
mov eax, ebx
lock cmpxchg dword [edi], edx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x43298b
mov ebx, eax
test al, 1
jne 0x432980
mov edi, dword [esp + 0x10]
mov edx, eax
or edx, ecx
or edx, 1
lock cmpxchg dword [edi], edx
cmp eax, ebx
jmp 0x432a40
test eax, 0xfffffff8
je 0x432a47
add esi, 1
je 0x4329ba
cmp esi, 1
jne 0x432999
push 0
jmp 0x4329b4
mov ecx, esi
call fcn.00432b30
mov ecx, eax
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x10]
call fcn.00432870
mov ebx, eax
mov eax, dword [0x4f4f58]
test eax, eax
je 0x4329db
mov eax, dword [0x4f4f58]
test eax, eax
je 0x4329db
call eax
jmp 0x4329dd
rdtsc
mov ecx, eax
shrd ecx, edx, 1
sar edx, 1
sub ecx, dword [esp + 0x18]
sbb edx, edi
shrd ecx, edx, 7
sar edx, 7
test edx, edx
jl 0x432a07
jg 0x432a00
cmp ecx, 0x1fffffff
jbe 0x432a07
mov ecx, 0x1fffffff
xor edx, edx
shld edx, ecx, 3
shl ecx, 3
test ecx, ecx
jne 0x432a19
mov ecx, 8
jmp 0x432a24
cmp ecx, 8
mov eax, 0x10
cmove ecx, eax
test bl, 1
jne 0x432941
mov edi, dword [esp + 0x10]
mov edx, ebx
or edx, ecx
mov eax, ebx
or edx, 1
lock cmpxchg dword [edi], edx
cmp eax, ebx
mov edi, dword [esp + 0x14]
cmovne ebx, eax
test bl, 1
jne 0x432941
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, edx
mov dword [esp + 0xc], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
push edi
cmp esi, 8
jbe 0x439061
mov edi, 0xcc9e2d51
nop dword [eax]
cmp esi, 0x400
jbe 0x439081
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
shr esi, 0xa
nop
mov edx, 0x400
mov ecx, ebx
call fcn.0043b340
mul edi
mov ecx, 0xcc9e2d51
mov edi, eax
mov ebx, edx
mov eax, dword [esp + 0x14]
mul ecx
mov edx, 0xcc9e2d51
mov ecx, eax
mov eax, dword [esp + 0x10]
mul edx
add ecx, edx
mov edx, dword [esp + 0x18]
add edi, eax
adc ebx, ecx
xor ecx, ecx
xor ecx, ebx
mov eax, ebx
mov ebx, dword [esp + 0x1c]
xor eax, edi
sub edx, 0x400
mov dword [esp + 0x10], eax
add ebx, 0x400
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edi, 0xcc9e2d51
mov dword [esp + 0x1c], ebx
sub esi, 1
jne 0x438ff0
mov esi, edx
cmp edx, 8
ja 0x438fd0
cmp esi, 4
jb 0x43908e
lfence
mov eax, dword [ebx + esi - 4]
lea ecx, [esi*8 - 0x20]
xor edx, edx
call fcn.004b2930
mov edi, eax
or edi, dword [ebx]
jmp 0x4390bd
mov edx, esi
mov ecx, ebx
call fcn.0043b340
mov edi, eax
jmp 0x4390bb
test esi, esi
je 0x4390e5
mov edx, esi
lea ecx, [esi*8 - 8]
shr edx, 1
lfence
movzx edi, byte [ebx + esi - 1]
shl edi, cl
movzx eax, byte [edx + ebx]
lea ecx, [edx*8]
shl eax, cl
or edi, eax
movzx eax, byte [ebx]
or edi, eax
xor edx, edx
add edi, dword [esp + 0x10]
mov ecx, 0xcc9e2d51
adc edx, dword [esp + 0x14]
mov eax, edx
mul ecx
mov esi, eax
mov eax, edi
mul ecx
add esi, edx
xor edx, edx
mov ecx, esi
xor eax, ecx
xor edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov edx, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4453f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
test eax, eax
jg 0x44541b
jl 0x44540e
test ecx, ecx
jne 0x44541b
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
mov edi, ecx
je 0x4454f4
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov ecx, ebx
call fcn.0043cbf0
mov ecx, edx
mov esi, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jl 0x44548b
jg 0x44544b
test esi, esi
je 0x44548b
mov eax, dword [esp + 0xc]
cmp eax, ecx
jg 0x44545f
jl 0x445459
cmp edi, esi
jae 0x44545f
mov esi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x18]
call fcn.0048b4f0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
sub edi, esi
sbb ecx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x4454ae
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x4454dd
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
adc ecx, 0xffffffff
add eax, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
jg 0x445432
jl 0x4454e1
test edi, edi
jne 0x445432
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
sbb edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
sbb edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
test eax, eax
je 0x445543
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [esp + 0x14], edx
mov eax, dword [eax]
test eax, eax
je 0x44554a
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.0048b4f0
mov eax, dword [ebp + 8]
sub edi, esi
add eax, esi
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x10]
jmp 0x44554d
lea eax, [ebx + 0x2c]
mov dword [esp + 0x14], eax
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x4455b7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x445577
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 + 0x14]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x4455a2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.0049a077
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4455b7
cmp edi, eax
ja 0x445580
test edi, edi
je 0x4455b7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.0049a077
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6d43
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ef52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.re2::Regexp::Walker_struct_re2::Frag_.0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046d45d
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov byte [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi], vtable.re2::Compiler.0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x48], 0x4cc180
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [ebp - 4], 2
mov eax, dword [0x4cf134]
mov ecx, dword [0x4cf138]
push 0x180
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], ecx
mov byte [edi + 0x68], 0
call fcn.0046d45d
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x447714
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x178], 0
mov dword [eax + 0x17c], 0
jmp 0x447716
xor eax, eax
push 1
mov ecx, edi
mov dword [edi + 0x20], eax
mov byte [edi + 0x24], 0
mov dword [edi + 0x28], 1
mov byte [edi + 0x2c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.004479f0
mov ecx, dword [edi + 0x34]
or dword [ecx + eax*8], 7
mov eax, edi
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46cc80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x4ef52c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x46ce66
cmp word [edi], 0
je 0x46ce66
push 0x410
lea eax, [ebp - 0x428]
mov dword [ebp - 0x18], 0x6f0053
push 0
push eax
mov dword [ebp - 0x14], 0x740066
mov dword [ebp - 0x10], 0x610077
mov dword [ebp - 0xc], 0x650072
mov dword [ebp - 8], 0x5c
call fcn.0048ba70
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499101
add esp, 0x18
test esi, esi
je 0x46cd2e
cmp word [esi], 0
je 0x46cd2e
push esi
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499434
push 0x4dd1c0
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499434
add esp, 0x18
push 0x410
lea eax, [ebp - 0x838]
push 0
push eax
call fcn.0048ba70
add esp, 0xc
lea eax, [ebp - 0x838]
push 0x206
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x838]
push 0x5c
push eax
call fcn.0048af93
add esp, 8
test eax, eax
jne 0x46cd75
lea eax, [ebp - 0x838]
jmp 0x46cd78
add eax, 2
push eax
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499434
push 0x4dd1c0
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499434
push str.XMessageBox
lea eax, [ebp - 0x428]
push 0x208
push eax
call fcn.00499434
add esp, 0x24
mov dword [ebp - 0x840], 0
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x428]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46ce50
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x840]
mov dword [ebp - 0x844], 4
push eax
lea eax, [ebp - 0x848]
push eax
push 0
push edi
push dword [ebp - 0x83c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x83c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x840]
xor ecx, ecx
test esi, esi
pop edi
cmovne eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488461
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x840]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488461
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.00488461
mov esp, ebp
pop ebp
ret

Function at 0x46d62d
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push esi
call fcn.0047d2be
test eax, eax
je 0x46d685
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0048efa2
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x46d67c
lfence
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x46d66a
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.0046da61
int3
Function at 0x46e2c6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x46e30e
call fcn.0046dff5
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46e30e
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46e31b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x46e357
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x46e33a
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x46e343
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x46e355
test di, di
jne 0x46e355
test dx, dx
je 0x46e357
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46e6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x4b86af
call fcn.0048907a
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.0046dff5
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x46e70f
call fcn.0046dff5
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46e723
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x46e71f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x46e72b
or eax, 0xffffffff
jmp 0x46e87d
mov ecx, edi
call fcn.0046ecc7
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.00470284
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x46e7b7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x46e7b7
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46e7b7
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.0046e230
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x46e7b4
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x4bb6b4]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x46e7b4
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.004763c3
test eax, eax
je 0x46e7b4
push 0
mov ecx, esi
call fcn.00476249
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.004700d5
push ebx
call fcn.004715a4
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0046e653
test eax, eax
jne 0x46e800
cmp dword [edi + 0x9c], eax
jne 0x46e800
call fcn.0046dff5
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.004715a4
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.0046e653
and dword [edi + 0x9c], 0
jmp 0x46e82b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x46e83f
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.00476249
test esi, esi
je 0x46e84c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x46e862
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x46e862
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x4bb6b4]
mov ecx, edi
call esi
mov ecx, edi
call fcn.0046ec7e
mov eax, dword [edi + 0x68]
call fcn.00488fdf
ret
Function at 0x471537
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x471576
call fcn.0046dff5
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x471576
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47157e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0046cf06
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x471c43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x471ccf
cmp dword [esi + 0x20], 0
je 0x471ccf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x471ccf
cmp dword [ebp + 8], 0
je 0x471ccf
xor edi, edi
mov ebx, edi
call fcn.0046dff5
push 0x4befc0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x471cb3
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x471ccf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00480094
mov edi, eax
add esp, 0xc
test edi, edi
je 0x471ccb
mov ecx, esi
call fcn.00471a1d
mov eax, edi
jmp 0x471cd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4