joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5294ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x529505
test ebp, ebp
je 0x529505
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x52950d
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x52954d
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x5295a9
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x5295a4
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52958f
test dl, dl
je 0x52958b
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52958f
add ecx, 2
add eax, 2
test dl, dl
jne 0x52956f
xor eax, eax
jmp 0x529594
sbb eax, eax
or eax, 1
test eax, eax
je 0x5295b3
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x52955c
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret

Function at 0x5295ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0052942a
mov esi, eax
test esi, esi
je 0x529686
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.005294ea
mov ebp, eax
test ebp, ebp
je 0x529685
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.005294ea
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x529685
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x529685
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x529684
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x52966a
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4011b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x13c]
sub esp, 0x13c
push 0xffffffffffffffff
push 0x45aaae
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x478040]
xor eax, ebp
mov dword [ebp + 0x138], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov ebx, ecx
mov eax, dword [ebp + 0x144]
lea ecx, [ebp + 0x20]
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x148]
or edi, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x150]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x18], 0x65
mov dword [ebp + 0x14], 0x65
mov dword [ebp + 0x10], 0xb
mov dword [ebp + 0xc], 0x33
mov dword [ebp + 0x1c], 8
movlpd qword [ebp + 4], xmm0
mov byte [ebp + 0x90], 0
mov byte [ebp + 0x12c], 0
call dword [sym.imp.mfc140.dll_Ordinal_316]
push str.GHC_19
push str.Softwarepenalara
lea eax, [ebp + 0x20]
mov dword [ebp - 4], 0
push str._s_s
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x10
lea eax, [ebp]
push eax
push 0x20019
push 0
push dword [ebp + 0x20]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013a3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 4]
push eax
lea eax, [ebp + 0x24]
push eax
push 0
push str.P01regClave
push dword [ebp]
call esi
test eax, eax
jne 0x40139a
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x24]
push eax
push 0
push str.P01regNombre
push dword [ebp]
call esi
test eax, eax
jne 0x40139a
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x24]
push eax
push 0
push str.P01regLocalidad
push dword [ebp]
call esi
test eax, eax
jne 0x40139a
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0x12c]
push eax
lea eax, [ebp + 0x24]
push eax
push 0
push str.P01regUsuarioClave
push dword [ebp]
call esi
test eax, eax
jne 0x40139a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0xf8]
push eax
lea eax, [ebp + 0x24]
push eax
push 0
push str.P01regDescripcion
push dword [ebp]
call esi
test eax, eax
jne 0x40139a
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea ecx, [ebp + 0x12c]
push dword [ebp + 8]
push dword [ebp + 4]
call fcn.004013e0
add esp, 0xc
mov edi, eax
lea eax, [ebp + 0x90]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x12c]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp + 0xf8]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
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 + 0x138]
xor ecx, ebp
call fcn.004592a5
lea esp, [ebp + 0x13c]
pop ebp
ret
Function at 0x401fc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [0x478040]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
mov ebx, dword [esp + 0x40]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
cmp edi, 0xffffffff
je 0x40208b
push 0x13
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40208b
push edi
push str._fd:_d_
push 0x13
push esi
call fcn.0044c8f0
push 0x4660f4
mov edx, edi
mov ecx, esi
call fcn.0044c910
push esi
mov edi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x18
mov esi, edi
test edi, edi
je 0x402059
cmp dword [edi + 0x10], 0x79b1
jne 0x402059
cmp dword [edi + 0x64], 0
jne 0x402059
mov edx, dword [esp + 0x34]
mov ecx, edi
push 3
call fcn.0044dc60
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax - 0xc]
mov dword [esp + 0x38], eax
jmp 0x402066
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
mov dword [esp + 0x38], eax
test esi, esi
je 0x402096
cmp dword [esi + 0x10], 0x79b1
jne 0x402096
cmp dword [esi + 0x64], 0
jne 0x402096
push 4
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.0044dc60
mov eax, dword [esp + 0x3c]
add esp, 4
jmp 0x402096
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax - 0xc]
mov dword [esp + 0x38], eax
push eax
mov ecx, ebx
call dword [sym.imp.mfc140.dll_Ordinal_5096]
mov edx, eax
mov ecx, esi
call fcn.0044dd60
mov eax, dword [esp + 0x10]
xor ebx, ebx
push 0x100
push 0x40
push 0x8000
push dword [eax]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__sopen_s]
mov eax, dword [esp + 0x4c]
add esp, 0x18
cmp eax, 0xffffffff
je 0x402165
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat32]
add esp, 8
test eax, eax
jne 0x402158
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 1]
cmp eax, 0x1dcd64fe
ja 0x402158
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x402158
push dword [esp + 0x24]
push edi
push dword [esp + 0x3c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
test esi, esi
je 0x40213c
cmp dword [esi + 0x10], 0x79b1
jne 0x40213c
cmp dword [esi + 0x64], ebx
jne 0x40213c
push 4
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.0044dc60
add esp, 4
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.0044dd60
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
mov ebx, 1
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
add esp, 4
mov ecx, esi
call fcn.0044de30
mov ecx, dword [esp + 0x3c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004592a5
add esp, 0x34
ret
Function at 0x414c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ba6e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x478040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x58], 0x44
push eax
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x200
push 0
push 0
push 0
push ecx
push 0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x414d40
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push 0x66
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4806]
add esp, 0xc
push 0
push 0
push dword [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_2298]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
jmp 0x414d5c
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x414d4e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x414d5c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004592a5
mov esp, ebp
pop ebp
ret

Function at 0x414e80
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push edx
push str.hh.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x414efa
ja 0x414efa
movzx eax, byte [eax + 0x414f38]
jmp dword [eax*4 + 0x414f00]
xor eax, eax
ret
Function at 0x41a480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebp
mov ebp, edx
test eax, eax
jle 0x41a6a4
mov edx, dword [esp + 0x14]
movzx edx, dx
push ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x1c]
push esi
movzx edx, dx
lea esi, [ecx + 4]
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
push 0x284
lea edi, [esi - 4]
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov word [esi - 2], ax
mov word [esi], ax
mov eax, dword [esp + 0x24]
mov word [esi + 4], ax
movzx eax, word [esp + 0x50]
mov word [esi + 0x26e], ax
mov word [edi], bp
mov eax, dword [ebx + 0x130]
push 8
mov byte [edx + eax], cl
movzx eax, word [esp + 0x40]
mov word [esi + 0x1e], ax
movzx eax, word [esp + 0x3c]
mov word [esi + 0x20], ax
mov eax, dword [esp + 0x60]
mov byte [esi + 0xe], 1
mov byte [esi + 0x15], 1
mov byte [esi + 0x1c], 0xff
mov byte [esi + 0x26], 1
mov byte [esi + 0x271], al
call fcn.004592b8
mov edi, eax
add esp, 0x10
mov eax, 0
mov dword [edi], 1
mov ecx, dword [ebx + 0xdc]
mov ecx, dword [ecx + 0xa9cd8]
mov ecx, dword [ecx]
test byte [ecx + 0xa94c4], 4
lea ecx, [ebx + 0x190]
cmove eax, dword [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [edi + 4], eax
movsx eax, word [esi - 4]
push eax
call fcn.0041bd00
mov ecx, dword [esp + 0x28]
mov dword [eax], edi
movzx eax, word [esp + 0x34]
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], 0xffffffff
mov byte [esi + 0x7c], 1
mov byte [esi + 0x7d], cl
mov dword [esi + 0x80], 0xffffffff
mov dword [esi + 0x154], 0xffffffff
mov dword [esi + 0x228], 0xffffffff
mov dword [esi + 0x240], 0xffffffff
mov word [esi + 0x260], ax
mov byte [esi + 0x264], 2
mov eax, dword [ebx + 0xdc]
mov eax, dword [eax + 0xa9cd8]
mov eax, dword [eax]
cmp byte [eax + 0x9c9d3], 0
je 0x41a5e5
mov al, 0x64
jmp 0x41a5f7
mov al, byte [esi + 0x268]
and al, 0xf1
or al, 1
mov byte [esi + 0x268], al
mov al, cl
mov byte [esi + 0x265], al
mov al, byte [esp + 0x38]
mov byte [esi + 0x26c], al
mov eax, dword [esp + 0x48]
mov byte [esi + 0x26d], 1
mov byte [esi + 0x24], al
test eax, eax
je 0x41a653
mov eax, dword [esp + 0x50]
imul ecx, dword [esp + 0x24], 0xbc
mov edx, dword [ebx + eax*4 + 0xf8]
mov eax, dword [ebx + 0xdc]
add edx, ecx
mov ecx, 4
mov eax, dword [eax + 0xa9cd8]
mov eax, dword [eax]
cmp byte [eax + 0x9c9d3], 0
mov eax, 1
cmove ecx, eax
add dword [edx + 0x6c], ecx
mov ecx, dword [esp + 0x58]
lea edx, [esi - 4]
mov eax, dword [esp + 0x54]
push dword [esp + 0x48]
mov dword [esi + 0x274], eax
mov eax, dword [ecx]
push dword [esp + 0x54]
mov dword [esi + 0x278], eax
mov ax, word [ecx + 4]
mov ecx, ebx
mov word [esi + 0x27c], ax
call fcn.00419210
mov eax, dword [esp + 0x48]
add esp, 8
add esi, 0x284
inc ebp
inc dword [eax]
sub dword [esp + 0x10], 1
jne 0x41a4b6
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x42fca0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bda7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x478040]
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
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.mfc140.dll_Ordinal_481]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CGHCDatos.0
mov dword [edi + method.MCList_struct_DHELEMCURIMPOR__struct_DHELEMCURIMPOR__.virtual_0], vtable.CMap_int__int__struct_ESTRUC_PESO___struct_ESTRUC_PESO___.0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0x11
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0xa
mov dword [edi + method.MCList_struct_DHELEMCURIMPOR__struct_DHELEMCURIMPOR__.virtual_0], vtable.CMap_int__int__unsigned_int__unsigned_int__.0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0x11
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c4], 0xa
lea ecx, [edi + 0x1c8]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [edi + 0x1cc]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [edi + 0x1d0]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x24]
mov dword [edi + 0x154], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x174], 0
push eax
lea eax, [ebp - 0x20]
mov dword [edi + 0x17c], 0
push eax
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0x130], 0
mov dword [ebp - 0x24], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x1d0]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
cmp dword [0x478fa4], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x1d4], 0
jne 0x42ff07
push str.dameNumTemporal
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x478fa4], eax
mov eax, edi
mov dword [edi + 0x1d8], 0
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.004592a5
mov esp, ebp
pop ebp
ret
Function at 0x4337a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x1c
mov eax, dword [0x478040]
xor eax, esp
mov dword [esp + 0x18], eax
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
push edi
push 0x201
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x200
push edi
push 0x201
push ebp
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov ecx, edi
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4337e0
sub ecx, edx
lea eax, [ecx + 0xc]
cmp eax, 0x200
jge 0x4338d3
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push esi
push str.auxghcompM
push 0x201
push edi
call ebx
push str.auxghcompMt
push 0x201
push ebp
call ebx
add esp, 0x18
call dword [sym.imp.mfc140.dll_Ordinal_2241]
mov esi, dword [eax + 4]
mov eax, dword [0x478fa4]
mov dword [esp + 0x10], esi
test eax, eax
je 0x43383b
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
mov ecx, esi
push 0
push str.temporal
push str.archivo
call dword [eax + 0x84]
mov esi, dword [esi]
xor ecx, ecx
cmp eax, 2
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
cmova edx, ecx
mov ecx, dword [esp + 0x10]
push edx
push str.temporal
push str.archivo
call dword [esi + 0x88]
mov eax, dword [0x478fa4]
test eax, eax
je 0x433887
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0x46a4e0
push 0xf
push eax
call fcn.00408940
lea eax, [esp + 0x28]
push eax
push 0x201
push edi
call ebx
lea eax, [esp + 0x34]
push eax
push 0x201
push ebp
call ebx
add esp, 0x28
mov eax, 1
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004592a5
add esp, 0x1c
ret 0xc
mov ecx, dword [esp + 0x20]
xor eax, eax
pop edi
pop ebp
xor ecx, esp
call fcn.004592a5
add esp, 0x1c
ret 0xc
Function at 0x442320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c2be
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x478040]
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, edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
xor ebx, ebx
mov dword [esi], eax
call dword [sym.imp.mfc140.dll_Ordinal_316]
push str.abreviaturas
push str.Softwarepenalara
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push str._s_s
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push 0x20019
push ebx
push dword [ebp - 0x14]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4423c5
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, ebx
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.004592a5
mov esp, ebp
pop ebp
ret
Function at 0x449fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebp
push edi
mov edi, ecx
test edi, edi
je 0x44a1dd
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x18], 0
test ecx, ecx
jne 0x449fea
mov dword [edi + 0x28], ecx
mov ecx, 0x451dd0
mov dword [edi + 0x20], 0x451dd0
cmp dword [edi + 0x24], 0
jne 0x449ff7
mov dword [edi + 0x24], 0x451df0
cmp edx, 0xffffffff
mov ebp, 6
cmovne ebp, edx
cmp ebp, 9
ja 0x44a1dd
cmp dword [esp + 0x1c], 4
ja 0x44a1dd
mov eax, dword [edi + 0x28]
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
push 0x16c4
cmp ecx, 0x451dd0
jne 0x44a035
call ebx
add esp, 4
jmp 0x44a03d
push 1
push eax
call ecx
add esp, 0xc
mov esi, eax
test esi, esi
je 0x44a1d2
mov dword [edi + 0x1c], esi
mov dword [esi], edi
mov dword [esi + 4], 0x2a
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0x8000
mov dword [esi + 0x34], 0x7fff
mov dword [esi + 0x50], 0xf
mov dword [esi + 0x4c], 0x8000
mov dword [esi + 0x54], 0x7fff
mov dword [esi + 0x58], 5
mov eax, dword [edi + 0x20]
cmp eax, 0x451dd0
jne 0x44a0a8
push 0x10000
call ebx
add esp, 4
jmp 0x44a0b7
push 2
push 0x8000
push dword [edi + 0x28]
call eax
add esp, 0xc
mov dword [esi + 0x38], eax
mov edx, 2
mov ecx, dword [edi + 0x20]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], 0xffffffff
cmp ecx, 0x451dd0
jne 0x44a0e4
mul edx
cmovb eax, dword [esp + 0x10]
push eax
call ebx
add esp, 4
jmp 0x44a0ef
push 2
push eax
push dword [edi + 0x28]
call ecx
add esp, 0xc
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x20]
mov eax, dword [esi + 0x4c]
cmp ecx, 0x451dd0
jne 0x44a114
mov ecx, 2
mul ecx
cmovb eax, dword [esp + 0x10]
push eax
call ebx
add esp, 4
jmp 0x44a11f
push 2
push eax
push dword [edi + 0x28]
call ecx
add esp, 0xc
mov dword [esi + 0x44], eax
mov dword [esi + 0x16c0], 0
mov dword [esi + 0x169c], 0x4000
mov eax, dword [edi + 0x20]
cmp eax, 0x451dd0
jne 0x44a14c
push 0x10000
call ebx
add esp, 4
jmp 0x44a15b
push 4
push 0x4000
push dword [edi + 0x28]
call eax
add esp, 0xc
cmp dword [esi + 0x38], 0
mov ecx, eax
mov edx, dword [esi + 0x169c]
mov dword [esi + 8], ecx
lea eax, [edx*4]
mov dword [esi + 0xc], eax
je 0x44a1bd
cmp dword [esi + 0x40], 0
je 0x44a1bd
cmp dword [esi + 0x44], 0
je 0x44a1bd
test ecx, ecx
je 0x44a1bd
lea eax, [edx + ecx]
mov dword [esi + 0x84], ebp
mov dword [esi + 0x1698], eax
mov ecx, edi
lea eax, [edx - 1]
mov byte [esi + 0x24], 8
lea eax, [eax + eax*2]
mov dword [esi + 0x16a4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x88], eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 4
jmp fcn.0044a1f0
mov dword [esi + 4], 0x29a
mov ecx, edi
mov dword [edi + 0x18], str.insufficient_memory
call fcn.0044afa0
pop esi
pop ebx
pop edi
mov eax, 0xfffffffc
pop ebp
pop ecx
ret
pop edi
mov eax, 0xfffffffe
pop ebp
pop ecx
ret