joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412330
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a707c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x220], ebx
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.00411630
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004517d0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x224]
push 0x104
push eax
push 0x4ad424
push 0x4ae198
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x22c]
push eax
call fcn.0041ab90
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x228]
or ebx, 0xffffffff
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 0
test esi, esi
je 0x412408
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x412408
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x412408
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x219], 0
je 0x41248e
lea eax, [ebp - 0x22c]
push eax
call fcn.0041ab90
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
call fcn.0040b500
mov esi, eax
push str.local__updated_ver_
push esi
mov byte [ebp - 4], 3
call fcn.00401870
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00401870
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x2c4]
call fcn.004033d0
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x41248e
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x41248e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41248e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x220]
push dword [eax + 0x64]
call fcn.00470cba
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x224]
sete cl
add eax, 0xfffffff0
mov dword [ebp - 0x220], ecx
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4124dd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
jmp 0x4124df
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret
Function at 0x412c70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x24]
jne 0x412d7b
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x412cb4
push dword [ebp + 0x14]
mov dword [esi + 0x24], eax
call fcn.00412520
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [esi + 0x24], 0
je 0x412d7b
mov dword [esi + 0x24], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x412ce3
mov dword [esi + 0x24], 1
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x24], 0
je 0x412d7b
mov dword [esi + 0x24], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret 0x18
cmp eax, 0x10
jne 0x412d01
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x24], 1
cmp dword [eax - 0xc], 0
je 0x412cc2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x412cc2
cmp eax, 2
jne 0x412d20
push dword [esi + 4]
mov dword [esi + 0x24], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x412cc2
cmp eax, 0x1417
jne 0x412d4e
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x1417
call fcn.00412960
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
mov dword [esi + 0x24], edi
pop edi
pop esi
pop ebp
ret 0x18
cmp eax, 0x1419
jne 0x412d7b
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov dword [esi + 0x24], edi
pop edi
pop esi
pop ebp
ret 0x18
mov dword [esi + 0x24], edi
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x4132f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x413331
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00414fb0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x4135c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x413661
cmp byte [esi + 0x3d], 0
je 0x413661
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x413617
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x413629
sub eax, 1
je 0x41362d
sub eax, 2
je 0x413661
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x41364a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004731fc
add esp, 0x10
cmp edi, eax
jne 0x413617
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0044418a
mov esp, ebp
pop ebp
ret
Function at 0x4185c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00417c70
test eax, eax
je 0x4185d4
mov ecx, esi
pop esi
jmp fcn.004185e0
xor eax, eax
pop esi
ret
Function at 0x41b400
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7eff
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
push 0x180
push 0x40
push 0x8101
push ebx
push edi
mov dword [ebp - 0x2c], 0
call fcn.00475e03
add esp, 0x14
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41b611
mov dword [ebp - 0xcc], 0x4ad6a0
mov dword [ebp - 0x7c], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x2c], 1
call fcn.0040b060
mov eax, dword [ebp - 0xcc]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xd0], eax
mov dword [ebp - 0xc8], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00443d4a
mov esi, eax
add esp, 4
test esi, esi
je 0x41b4eb
push 1
mov byte [ebp - 4], 2
call fcn.0041d8ce
add esp, 4
mov dword [esi + 4], eax
jmp 0x41b4ed
xor esi, esi
lea eax, [ebp - 0xc4]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc8], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 4
push 0x4b1004
push dword [ebp - 0x30]
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 3
push str._error.__
push ebx
push str.open
push eax
call fcn.00401870
add esp, 8
push eax
call fcn.00401870
add esp, 8
push eax
call fcn.00401870
add esp, 8
mov ecx, eax
call fcn.0040f390
push eax
call fcn.00401870
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xcc]
push eax
call fcn.0041b700
cmp dword [eax + 0x14], 8
jb 0x41b5f7
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.00402d50
lea ecx, [ebp - 0xcc]
call fcn.004033d0
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x41b627
push 2
push 0
push eax
call fcn.00476463
add esp, 0xc
jmp 0x41b62a
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret 4
Function at 0x41b970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 8], 0
je 0x41b997
call fcn.0041b650
mov byte [esi + 8], 0
cmp dword [esi + 4], 0x40000000
jle 0x41b9d3
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
je 0x41b9b8
push eax
call fcn.00475fb6
add esp, 4
mov dword [esi + 0x24], 0xffffffff
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x41b9c3
mov eax, dword [eax]
push eax
call fcn.00475019
add esp, 4
mov ecx, esi
call fcn.0041b650
push 0xfde9
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041b7c0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x41b9f0
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
cmp ecx, 0xffffffff
je 0x41ba07
push edx
push eax
push ecx
call fcn.00476a9e
add esp, 0xc
mov ebx, eax
jmp 0x41ba0a
or ebx, 0xffffffff
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x41ba3a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ba30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ba76
push edx
push ecx
call fcn.00443d7a
add esp, 8
test ebx, ebx
jle 0x41ba54
add dword [esi + 4], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x14], 8
jb 0x41ba5c
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044418a
mov esp, ebp
pop ebp
ret 4
call fcn.0045b816
int3

Function at 0x41bb90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8010
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
mov esi, dword [ebp + 8]
je 0x41bc21
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x41bc21
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bc21
push 0x4ad424
lea ecx, [ebp - 0x40]
call fcn.0040b390
push dword [esi]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0040b390
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call fcn.004478a0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00402d50
lea ecx, [ebp - 0x40]
call fcn.00402d50
mov eax, esi
jmp 0x41bc23
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret 4
Function at 0x438950
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], ebx
test edi, edi
je 0x438b18
test eax, eax
je 0x438b18
mov ecx, dword [ebp + 0x10]
cmp ecx, 0x20
jl 0x438b18
push ecx
push ebx
push eax
call fcn.004517d0
add esp, 0xc
push ebx
push 1
push 3
push ebx
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x84], edi
test edi, edi
je 0x438b18
cmp edi, 0xffffffff
je 0x438b11
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0043add0
add esp, 8
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x438b11
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x74]
je 0x438aa7
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, eax
mov dword [ebp - 0x70], edx
test edx, edx
je 0x438b11
mov ecx, dword [ebp - 0x74]
xorps xmm0, xmm0
movq qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jg 0x438aa7
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x8c]
jl 0x438a40
cmp edi, esi
jae 0x438aa7
nop
sub esi, edi
sbb ecx, eax
js 0x438a55
jg 0x438a50
cmp esi, 0x400000
jb 0x438a55
mov esi, 0x400000
push esi
push edi
push eax
push 4
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x438aa7
push esi
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0043ae20
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x7c]
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
add edi, 0x400000
adc eax, ebx
mov dword [ebp - 0x7c], eax
cmp eax, ecx
jge 0x438a9b
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
jmp 0x438a40
jg 0x438aa7
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0x70]
cmp edi, esi
jb 0x438a40
lea eax, [ebp - 0x6c]
push eax
call fcn.0043ab00
mov edi, dword [ebp - 0x80]
add esp, 4
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push 3
push edi
call fcn.0040f080
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x438ac0
push dword [ebp + 0x10]
push dword [ebp - 0x80]
call fcn.0047f12c
add esp, 8
mov esi, 1
test ebx, ebx
je 0x438afd
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x438b0b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x84]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044418a
mov esp, ebp
pop ebp
ret

Function at 0x43cf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043ca70
Function at 0x43e1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaa83
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x80], 0
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004130d0
mov eax, dword [ebp - 0x80]
add esp, 8
test eax, eax
je 0x43e3f3
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
call esi
test eax, eax
je 0x43e3f3
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x43e3f3
push eax
call esi
test eax, eax
je 0x43e3f3
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x201
push dword [ebp - 0x80]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
push SysReAllocStringLen
call fcn.0043e130
mov esi, dword [ebp - 0x90]
test eax, eax
jne 0x43e3e4
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004517d0
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push 0
push dword [ebp - 0x7c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e3e4
mov eax, dword [ebp - 0x84]
cmp eax, 1
je 0x43e30b
cmp eax, 2
jne 0x43e3e4
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x43e32c
test cl, 1
jne 0x43e3e4
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x43e332
jmp 0x43e3e4
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x43e3e4
lea ecx, [ebp - 0x78]
call fcn.0043c4d0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x78]
call fcn.0043c5b0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0x20]
push 0x4b57e4
push eax
call fcn.0043e890
push 0x2a
push dword [ebp - 0x78]
call fcn.0043ca70
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x84], eax
jne 0x43e3dc
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43e392
sub edx, ecx
lea eax, [ebp - 0x74]
sar edx, 1
mov ecx, ebx
push edx
push eax
call fcn.0043c250
push dword [0x4ce1fc]
lea eax, [ebp - 0x74]
push dword [0x4ce1f8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x43e3cd
mov dword [edi], 1
lea ecx, [ebp - 0x78]
call fcn.00415570
mov edi, 1
jmp 0x43e3e6
lea ecx, [ebp - 0x78]
call fcn.00415570
xor edi, edi
test esi, esi
je 0x43e3f5
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e3f5
xor edi, edi
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x80]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret
Function at 0x43e430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x43e445
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e450
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x441750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4417c1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x44178f
cmp eax, 2
jne 0x4417ab
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4417bb
test ecx, ecx
je 0x4417b6
test cl, 1
jne 0x4417ab
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4417bb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x447660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x447845
test edi, edi
je 0x447845
mov ecx, dword [esi + 0x20]
mov eax, 0x532ae21d
sub ecx, dword [esi + 0x1c]
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x447845
imul eax, ebx, 0x314
mov ebx, dword [esi + 0x1c]
mov ebx, dword [eax + ebx]
test byte [ebx + 0x26], 0x10
jne 0x447845
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x18], eax
ja 0x447845
mov esi, dword [esi + 0xc]
mov edx, dword [ebx + 0x2a]
movzx eax, word [edx + esi + 0x1c]
movzx ecx, word [edx + esi + 0x1a]
add eax, edx
add ecx, eax
lea eax, [esi + 0x1e]
add eax, ecx
movzx ecx, word [ebx + 0xa]
mov dword [ebp - 8], eax
test cx, cx
jne 0x44785a
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x44774d
test eax, eax
je 0x447719
cmp ecx, esi
jb 0x447719
push esi
push eax
push edi
call fcn.00450cd0
add esp, 0xc
jmp 0x44774d
push ecx
push 0
push edi
call fcn.004517d0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x447738
call fcn.0045b92d
mov dword [eax], 0x16
jmp 0x447748
cmp dword [ebp - 0xc], esi
jae 0x44774d
call fcn.0045b92d
mov dword [eax], 0x22
call fcn.0045b806
mov edx, dword [ebx + 0x14]
test edx, edx
je 0x44783e
or eax, 0xffffffff
cmp edx, 8
jb 0x447816
mov esi, edx
shr esi, 3
nop dword [eax]
movzx ecx, byte [edi]
sub edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
movzx ecx, byte [edi + 7]
add edi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
sub esi, 1
jne 0x447770
test edx, edx
je 0x44783a
nop word [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b5d48]
sub edx, 1
jne 0x447820
not eax
jmp 0x447840
xor eax, eax
cmp eax, dword [ebx + 0x10]
je 0x447886
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 8
jne 0x447845
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push edi
push dword [ebx + 0x14]
push eax
call fcn.0044d7a0
add esp, 0x14
test eax, eax
je 0x447845
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x10]
jne 0x447845
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044418a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4493e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
test edx, edx
je 0x4494df
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4494df
or eax, 0xffffffff
cmp esi, 8
jb 0x4494b7
push edi
mov edi, esi
shr edi, 3
nop dword [eax]
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
sub edi, 1
jne 0x449410
pop edi
test esi, esi
je 0x4494da
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4b75a8]
sub esi, 1
jne 0x4494c0
not eax
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret