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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545c35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edi, dword [ebp + 0xc]
je 0x41474b
push esi
nop
cmp dword [edi + 0x14], 8
mov edx, edi
mov eax, dword [edi + 0x10]
jb 0x41459d
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
mov dword [ebp + 8], eax
je 0x4145c4
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4145b0
mov ebx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00413b20
cmp dword [ebp - 0x1c], 0
jne 0x41473e
cmp dword [ebx + 8], 0x7ffffff
je 0x41475d
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.004b9130
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
lea ecx, [ebx + 8]
push edi
call fcn.004153e0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0x1c]
inc ecx
mov dword [ebp + 8], eax
movss xmm3, dword [edx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x557d40]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x557d40]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
seta al
test al, al
je 0x4146e6
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.005243c0
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00514240
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp + 8]
cmp eax, ecx
jae 0x4146bc
cmp eax, 0x200
jae 0x4146ba
shl eax, 3
cmp eax, ecx
jae 0x4146bc
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0041f570
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + 8]
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00413b20
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x4146e9
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov dword [eax], ebx
mov dword [ecx + 4], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp + 8], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x24], 0
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x41471d
mov dword [ecx + eax*8], ebx
jmp 0x414730
cmp edx, dword [ebp + 8]
jne 0x414727
mov dword [ecx + eax*8], ebx
jmp 0x414734
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x414734
mov dword [ecx + eax*8 + 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edi, 0x18
cmp edi, dword [ebp + 0xc]
jne 0x414590
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00515695
int3
Function at 0x414c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b9130
mov edi, eax
add esp, 4
test edi, edi
je 0x414c8f
push 1
mov dword [ebp - 4], 0
call fcn.00515a04
add esp, 4
mov dword [edi + 4], eax
jmp 0x414c91
xor edi, edi
mov eax, dword [ebp - 0x10]
lea ebx, [esi + 4]
mov dword [ebp - 0x14], ebx
lea edx, [esi + 8]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
mov dword [esi + 0x34], edi
lea edi, [esi + 0x14]
mov dword [ebp - 0x18], edx
add esi, 0x24
mov edx, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [edx + 0x4c], 0
mov eax, dword [0x5d308c]
mov ecx, dword [0x5d3090]
pop edi
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, edx
pop esi
mov dword [edx + 0x38], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x415180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b9130
mov esi, eax
add esp, 4
test esi, esi
je 0x4151cf
push 1
mov dword [ebp - 4], 0
call fcn.00515a04
add esp, 4
mov dword [esi + 4], eax
jmp 0x4151d1
xor esi, esi
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
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 ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x415ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545e6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.005154fa
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x415b4b
push eax
push esi
call fcn.00515b04
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.005156d5
int3
Function at 0x417cb0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x545f7d
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xb3], 0
je 0x417e28
cmp dword [0x5cb024], 0
jle 0x417e18
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x74]
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x417d06
mov ecx, dword [ecx]
xor eax, eax
cmp byte [esi + 0xb5], al
push 0
sete al
push 0
add eax, 0x80000001
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00432520
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00416700
call fcn.00515839
mov edi, eax
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x14]
mov ebx, edx
push eax
push 0
push str.LastWin32DeprecationMessageTime
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417dd0
cmp dword [ebp - 0x14], 0xb
jne 0x417dd0
push eax
push 0x989680
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.005141d0
mov ecx, edi
sub ecx, eax
mov eax, ebx
push 0
push 0x989680
sbb eax, edx
push eax
push ecx
call fcn.00514120
mov dword [ebp - 0x18], eax
mov ecx, edx
mov eax, dword [0x5cb024]
cdq
cmp ecx, edx
jg 0x417dd0
jl 0x417db2
cmp dword [ebp - 0x18], eax
jae 0x417dd0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x417dc7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
jmp 0x417e28
push 0
push 0x989680
push ebx
push edi
call fcn.00514120
push 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0xb
push 0
push str.LastWin32DeprecationMessageTime
push dword [ebp - 0x30]
mov dword [ebp - 0x18], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x417e11
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [esi + 0x268]
push 0x30
push dword [ebp + 8]
call fcn.00424670
mov ecx, dword [esi + 0x1ec]
push 1
push 0x24
push str.Bootstrapper32BitWindowsClientLaunch
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp byte [0x5cc2dc], 0
je 0x417e67
mov dword [ebp + 8], 0xa09ef0
mov eax, dword [ebp + 8]
sub eax, 0x4b3f20
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f340
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x41f36b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41f354
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x422050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546a2d
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004b9130
mov edi, eax
add esp, 4
test edi, edi
je 0x4220e2
push 1
mov dword [ebp - 4], 0
call fcn.00515a04
add esp, 4
mov dword [edi + 4], eax
jmp 0x4220e4
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
push ebx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00414ad0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x422140
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x422140
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
pop ebx
jne 0x42215d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x42217e
cmp byte [ebp + 0xc], 0
je 0x42216c
push esi
call fcn.00515e8e
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x42218a
mov esi, str.ios_base::badbit_set
jmp 0x42219a
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00422410
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00415ef0
push 0x5bd8a0
lea eax, [ebp - 0x28]
push eax
call fcn.00518295
int3

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
cmp dword [esi + 0x14], 8
mov ebx, dword [esi + 0x10]
jb 0x4223b9
mov edi, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
add ebx, ebx
je 0x4223d5
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x4223c4
push edx
push esi
lea eax, [ebp - 8]
mov ecx, 0x5d3008
push eax
call fcn.00413b20
mov ecx, dword [0x5d300c]
pop edi
pop esi
mov eax, dword [eax + 4]
test eax, eax
pop ebx
cmovne ecx, eax
cmp ecx, dword [0x5d300c]
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x423080
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546aed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
mov dword [ebp - 4], esi
call dword [eax + 0x74]
cmp dword [eax + 0x14], 8
jb 0x4230c0
mov eax, dword [eax]
xor ecx, ecx
cmp byte [edi + 0xb5], cl
push ebx
sete cl
add ecx, 0x80000001
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push edx
push 0x2001f
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x4230fb
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov edx, dword [ebp - 0x20]
shr ebx, 0x1f
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x42313c
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423132
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231f5
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
test bl, bl
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
pop ebx
je 0x423184
cmp byte [0x5cc2e0], al
je 0x4231da
mov dword [ebp - 0x10], 0x9341a0
mov eax, dword [ebp - 0x10]
sub eax, 0x3de2f0
push 0
push eax
movzx eax, word [0x5cc2e0]
push eax
call fcn.004babc0
mov esi, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x4231da
push str.LaunchExp
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jns 0x4231c4
cmp byte [0x5cc2e4], 0
je 0x4231da
mov dword [ebp - 0x10], 0x942db0
mov eax, dword [ebp - 0x10]
sub eax, 0x3eced0
push 0
push eax
movzx eax, word [0x5cc2e4]
push eax
call fcn.004babc0
mov esi, dword [ebp - 0x1c]
add esp, 0xc
jmp 0x4231da
push 0
push 0
push 0x55569c
push str.Successfully_disabled_Windows_App_Beta
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
test esi, esi
je 0x4231e5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
int3
Function at 0x4238e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x546b2d
push eax
mov dword fs:[0], esp
sub esp, 0x24
cmp byte [0x5cb084], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
je 0x42391b
mov eax, dword [edi]
push esi
mov eax, dword [eax + 0x64]
call eax
test al, al
je 0x4239ec
mov eax, dword [edi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x74]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push 0
push eax
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [edi + 0xb5], al
sete al
add eax, 0x80000001
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00432520
add esp, 0x14
cmp dword [esi + 0x14], 8
jb 0x423962
mov esi, dword [esi]
test esi, esi
je 0x42399a
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423970
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.LaunchExp
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4239af
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0
cmp edx, 8
jb 0x4239ec
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4239e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4239fe
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0051bb5f
int3

Function at 0x424410
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.0046bb40
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0x74]
call esi
push 1
push dword [edi + 0x78]
call esi
push 1
push dword [edi + 0x7c]
call esi
push 0
push 0
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [0x5cb0d4], 0
pop edi
pop esi
je 0x4244a4
push 4
push str.Crash_Testing
push str.Simulate_bootstrapper_crash_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4244a4
cmp byte [0x5cc2dc], 0
je 0x424492
mov dword [ebp - 4], 0x6d730c
mov eax, dword [ebp - 4]
sub eax, 0x17f4c0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
add esp, 8
push 0x5556ff
push str.Simulated
call fcn.004bc5a0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x4245e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov esi, eax
shr eax, 4
inc eax
and esi, 0xf
movzx edi, ax
push edi
push 6
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x424619
push 0x409
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x42464a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42464a
xor ecx, ecx
nop dword [eax + eax]
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x424644
mov edi, edx
cmp ecx, esi
je 0x424650
lea eax, [eax + edi*2]
inc ecx
cmp ecx, 0x10
jl 0x424630
pop edi
xor al, al
pop esi
pop ebp
ret
cmp edi, dword [ebp + 0x14]
jge 0x42464a
mov esi, dword [ebp + 0x10]
push edi
push eax
push esi
call fcn.005244dd
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov al, 1
pop edi
pop esi
pop ebp
ret

Function at 0x424670
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ecx + 0x38]
mov edi, eax
mov dword [ebp - 4], ecx
shr eax, 4
and edi, 0xf
inc eax
movzx esi, ax
push esi
push 6
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x4246b2
push 0x409
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x424725
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424725
xor ecx, ecx
movzx edx, word [eax]
add eax, 2
test dx, dx
je 0x4246d5
mov esi, edx
cmp ecx, edi
je 0x4246e3
lea eax, [eax + esi*2]
inc ecx
cmp ecx, 0x10
jl 0x4246c1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp esi, 0x100
jae 0x424725
push esi
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.005244dd
xor eax, eax
add esp, 0xc
mov word [ebp + esi*2 - 0x204], ax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x38]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push 0x55569c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x42e250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e269
test al, 0x10
je 0x42e269
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x42e5c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42e619
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42e619
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42e60a
cmp esi, edx
jae 0x42e619
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42e5f8
cmp esi, edx
jae 0x42e619
cmp word [esi], 0
je 0x42e619
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x432520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5470be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov dword [ebp - 0x14], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push dword [ebp + 0x10]
movzx edi, byte [ebp + 0x18]
lea eax, [ebp - 0x30]
push str.Failed_to_create_key__s
shl edi, 8
push eax
mov dword [ebp - 4], 0
add edi, 0x2001f
mov dword [ebp - 0x14], 1
call fcn.004b99e0
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [esi + 8]
mov dword [ebp - 4], 2
mov dword [ebp + 0x18], 0
test ebx, ebx
je 0x432602
cmp dword [ebx], 0
je 0x4325f2
push 0x555710
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4325c2
mov ebx, dword [ebp + 0x10]
lea ecx, [eax + 1]
jmp 0x432649
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4325f8
push 0
push dword [ebx]
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push 0
push edi
push 0
push 0
push 0
push ebx
push dword [ebp + 0xc]
call eax
jmp 0x432620
cmp dword [ebx + 4], 0
jne 0x432602
mov ebx, dword [ebp + 0x10]
mov ecx, 1
jmp 0x432622
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x18]
push eax
push 0
push edi
push 0
push 0
push 0
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x432649
mov eax, dword [esi]
test eax, eax
je 0x43263b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, eax
mov dword [esi], 0
mov eax, dword [ebp + 0x18]
and edi, 0x300
mov dword [esi], eax
mov dword [esi + 4], edi
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
call fcn.00437850
mov edx, dword [ebp - 0x1c]
add esp, 8
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x432697
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43268d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43270b
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x4326f8
push edi
push ebx
lea eax, [ebp - 0x30]
push str.Failed_to_set_default_value_for_key__s_to__s
push eax
call fcn.004b99e0
add esp, 0x10
mov ebx, eax
mov ecx, edi
mov dword [ebp - 4], 3
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4326c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
push eax
call fcn.00437850
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00416700
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
int3