joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4489b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4489dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x448a04
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x448a0a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x448a72
jg 0x448a21
test esi, esi
je 0x448a72
test ecx, ecx
jl 0x448a6d
jg 0x448a2b
test eax, eax
je 0x448a6d
cmp edi, ecx
jg 0x448a3f
jl 0x448a35
cmp esi, eax
jae 0x448a3f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x448a75
mov ecx, dword [ebp + 8]
jmp 0x448a7f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x448a99
jg 0x448a7f
test esi, esi
je 0x448a99
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x448a99
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448ab0
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 0x448adb
jl 0x448ace
test ecx, ecx
jne 0x448adb
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x448af7
push eax
push ecx
push dword [ebp + 8]
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x448b49
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x448b50
mov edi, dword [ebp + 8]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [esp + 0x18]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x14]
jmp 0x448b53
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x4c], 0
je 0x448bc6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x448b7d
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 + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x448bb4
nop word [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x448bc6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x448b90
test edi, edi
je 0x448bc6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
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 0x449023
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x449040
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x44907d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44907d
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x449162
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4490a5
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4490b1
movsx eax, bl
jmp 0x4490f1
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x44911c
sub eax, 1
je 0x44911c
sub eax, 2
jne 0x449162
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x44913c
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x449162
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052d3c5
add esp, 0x30
ret 4
Function at 0x449380
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x449442
cmp byte [esi + 0x3d], 0
je 0x449442
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44942f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4493f3
sub eax, 1
je 0x4493f7
sub eax, 2
jne 0x44942f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x449417
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x44942f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0052d3c5
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.0052d3c5
add esp, 0x28
ret
Function at 0x46c6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599ccd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x34], 8
lea edx, [eax + 0x20]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x38], ecx
jb 0x46c73a
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c754
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00403d10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov edi, dword [esi + 0x17c]
lea ecx, [esi + 0x178]
push eax
cmp edi, dword [esi + 0x180]
je 0x46c7b5
mov ecx, edi
call fcn.004037a0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1c], eax
add dword [esi + 0x17c], 0x20
jmp 0x46c7bb
push edi
call fcn.004883d0
mov edi, dword [esi + 0x30]
test edi, edi
je 0x46c7db
mov ecx, edi
call fcn.004e0560
push 0x3c
push edi
call fcn.0052d747
add esp, 8
mov dword [esi + 0x30], 0
push 0
push 0
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.0046fe20
test eax, eax
jne 0x46c7f1
xor esi, esi
jmp 0x46c800
mov eax, dword [esi + 0x30]
mov esi, 1
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x46c83c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46c832
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46c832
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x471940
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a34d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov bl, byte [ebp + 8]
movzx eax, bl
mov dword [ebp - 0x30], eax
add eax, 0xfffffff1
mov byte [ebp - 0x34], bl
cmp eax, 0xeb
ja case.0x47198e.16
movzx eax, byte [eax + 0x471b74]
jmp dword [eax*4 + 0x471b54]
call fcn.0047bce0
test eax, eax
jne 0x471b4c
mov ecx, edi
call fcn.0047bb60
test eax, eax
jne 0x471b4c
cmp dword [0x5e47bc], eax
jne 0x471b4c
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
push 0x5e4790
push dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004e05e0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x30]
mov dword [eax + 0x10], esi
cmp bl, 0x14
jne 0x471a0a
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.00455070
cmp al, 0xff
jne 0x471a50
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.00403860
mov eax, esi
jmp 0x471aec
cmp bl, 0x15
jne 0x471a50
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx + 0x10]
call fcn.00455070
cmp al, 0xff
je 0x471a3a
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
push dword [eax + 8]
call fcn.00403760
cmp dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
jne 0x471a4b
call fcn.00403990
lea ecx, [ebp - 0x40]
xor esi, esi
call fcn.00403860
mov eax, esi
jmp 0x471aec
call fcn.00403990
cmp dword [0x5e47c0], 0
jne 0x471ad7
mov ebx, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call ebx
mov cx, ax
mov esi, 0x411
cmp cx, si
mov edx, str.Message_window_was_ran_the_message_command_in_the_state_closed.
mov esi, dword [ebp - 0x30]
mov eax, 0x5bf4d8
cmovne eax, edx
push eax
push ecx
push esi
push 1
mov ecx, edi
call fcn.004f5960
mov eax, dword [0x5e47b4]
mov ecx, edi
or eax, dword [0x5e47b0]
push eax
push 0
push 1
call fcn.0047b570
test eax, eax
jne 0x471ac6
call ebx
mov ebx, 0x411
mov ecx, 0x5bf75c
cmp ax, bx
mov edx, 0x5bea34
cmovne edx, ecx
push edx
push ecx
push esi
push 1
mov ecx, edi
call fcn.004f5960
lea ecx, [ebp - 0x40]
mov esi, 1
call fcn.00403860
mov eax, esi
jmp 0x471aec
lea ecx, [ebp - 0x40]
call fcn.00403860
jmp case.0x47198e.16
cmp dword [0x5e47bc], 0
jne 0x471b4c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x5e4628]
mov eax, dword [eax + 0x2c]
test eax, eax
je case.0x47198e.40
cmp dword [eax + 0x14], 3
je case.0x47198e.40
cmp dword [eax + 0x14], 0
jge 0x471b4c
cmp dword [0x5e47c0], 0
je case.0x47198e.16
call fcn.0047bb60
test eax, eax
jmp 0x471ae8
mov eax, dword [0x5e4628]
mov eax, dword [eax + 0x2c]
test eax, eax
je case.0x47198e.16
cmp dword [eax + 0x14], 3
je case.0x47198e.16
cmp dword [eax + 0x14], 0
jl case.0x47198e.16
mov eax, 1
jmp 0x471aec
Function at 0x481ca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599ac5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x40]
push eax
push 1
push dword [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.004dddd0
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push 1
push 1
push dword [ebp + 0x14]
call fcn.004dddd0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
lea eax, [ebp - 0x48]
xor ecx, ecx
push eax
lea edx, [ebp - 0x44]
call fcn.004dee00
xor eax, eax
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x44], eax
mov ecx, 1
setge al
mov dword [0x5e47c8], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004dee00
xor eax, eax
xorps xmm0, xmm0
cmp dword [ebp - 0x44], eax
setge al
add esp, 0x10
mov esi, esp
mov dword [0x5e47cc], eax
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00408710
mov ecx, eax
mov dword [esi + 0x10], 0x11
mov dword [esi], ecx
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.onUpdateDataState]
movups xmmword [ecx], xmm0
mov al, byte [0x5bfd48]
mov byte [ecx + 0x10], al
mov byte [ecx + 0x11], 0
mov ecx, dword [ebp - 0x4c]
call fcn.0047e640
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x481e04
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x481dfa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481e44
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x481e54
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x481e4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x481e4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c31d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f025
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x5defc4], 8
mov edx, 0x5defb0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
cmovae edx, dword [0x5defb0]
mov ecx, edx
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3240
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00403d10
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call fcn.004e9f00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x4c32ac
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c32a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c32a2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.LicenseCheck
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.00403d10
cmp dword [ebp - 0x48], 0
jne 0x4c32da
xor eax, eax
jmp 0x4c3321
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], 4
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4c330c
xor eax, eax
jmp 0x4c3321
cmp dword [ebp - 0x54], 4
je 0x4c3316
xor eax, eax
jmp 0x4c3321
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor esi, esi
test eax, eax
cmovne esi, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x4c3365
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4c335b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4c335b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
test esi, esi
jne 0x4c3379
push esi
push 0x4c2fc0
push esi
push 0x72
push edi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4d3830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov esi, dword [ebp + 0x24]
push edi
push 0
mov edi, ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, dword [edx + 0x1c]
push dword [edi + 0x290]
mov dword [esp + 0x58], 0
push esi
cvtpd2ps xmm3, xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
movd xmm0, eax
divss xmm3, dword [0x5de0cc]
shr eax, 0x1f
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
cvtdq2pd xmm0, xmm0
push dword [edi + 0x29c]
addsd xmm0, qword [eax*8 + 0x5c7480]
push ecx
lea eax, [esp + 0x34]
cvtpd2ps xmm1, xmm0
divss xmm1, dword [0x5de0cc]
movss dword [esp], xmm1
push eax
push ebx
call fcn.0048aed0
mov eax, dword [edi + 0x298]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x29c]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x288]
mov esi, dword [eax + 0x48]
sub esi, 1
js 0x4d39ea
nop dword [eax]
mov eax, dword [edi + 0x2f8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4d39e5
cmp dword [eax + 0x28c], 0
jne 0x4d39e5
mov eax, dword [edi + 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [edi + 0x2f8]
lea edx, [esp + 0x64]
movss xmm0, dword [ebp + 0x28]
push 0
mov ecx, dword [eax + esi*4]
push ecx
movss dword [esp], xmm0
push dword [edi + 0x290]
mov eax, dword [ecx]
push dword [esp + 0x1c]
push edx
push dword [esp + 0x28]
push dword [esp + 0x30]
push ebx
push dword [esp + 0x3c]
call dword [eax + 0x20]
mov eax, dword [edi + 0x290]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
sub esi, 1
jns 0x4d3980
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4dcef0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push esi
mov dword [ecx], 0x1571
mov esi, 1
mov dword [ecx + 0x9c0], 1
nop word [eax + eax]
mov edx, dword [ecx + esi*4 - 4]
shr edx, 0x1e
xor edx, dword [ecx + esi*4 - 4]
imul eax, edx, 0x6c078965
add eax, esi
mov dword [ecx + esi*4], eax
mov esi, dword [ecx + 0x9c0]
inc esi
mov dword [ecx + 0x9c0], esi
cmp esi, 0x270
jl 0x4dcf10
pop esi
pop ecx
ret 4

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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c0]
cmp eax, 0x270
jl 0x4dd00b
cmp eax, 0x271
jne 0x4dcf61
push ecx
call fcn.004dcef0
xor edx, edx
mov ecx, dword [esi + edx*4 + 4]
xor ecx, dword [esi + edx*4]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x5c0e6c]
xor ecx, dword [esi + edx*4 + 0x634]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, 0xe3
jl 0x4dcf63
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + edx*4 + 4]
xor ecx, dword [esi + edx*4]
and ecx, 0x7fffffff
xor ecx, dword [esi + edx*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x5c0e6c]
xor ecx, dword [esi + edx*4 - 0x38c]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, 0x26f
jl 0x4dcfa0
mov eax, dword [esi + 0x9bc]
mov ecx, dword [esi]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
mov eax, dword [eax*4 + 0x5c0e6c]
xor eax, dword [esi + 0x630]
xor eax, ecx
mov dword [esi + 0x9bc], eax
xor eax, eax
mov dword [esi + 0x9c0], 0
mov ecx, dword [esi + eax*4]
inc eax
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
ret