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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43eec4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x4475ac
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x447a18
push 0x4475b8
push 0x4475c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x4475cc
push 0x4475d0
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.00434356
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x4475e0
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x437e6c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f16e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x447694
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x447a2c
push 0x4476a0
push 0x4476ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x4476b4
push 0x4476b8
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.00437df3
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x4476c4
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43ae74
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x447774
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x447a40
push str.DataPath
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x447794
push 0x447798
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.0043adfb
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x4477a4
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43c74b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43c7a3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x441e2c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43c796
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43c7a5
xor eax, eax
pop esi
leave
ret 4
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403e59
pop dword [ebp - 0x44]
mov eax, 0x8c9695c2
sub eax, 0x8c565769
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xfe1c80c1
sub dword [ebp - 0x54], 0xafca3b76
mov dword [ebp - 0x50], 0x63ddadd4
add dword [ebp - 0x50], 0xce559e71
mov dword [ebp - 0x4c], 0x7fb064cd
add dword [ebp - 0x4c], 0xcc9bdf61
mov dword [ebp - 0x48], 0x545364c6
add dword [ebp - 0x48], 0xabac9b3a
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x57f2b6ef
add dword [ebp - 0x54], 0x1c7fb267
mov dword [ebp - 0x50], 0x3520a5e0
sub dword [ebp - 0x50], 0xf3b4446b
mov dword [ebp - 0x4c], 0xdf04c13e
sub dword [ebp - 0x4c], 0x7b9554d2
mov dword [ebp - 0x48], 0xf0290dfa
add dword [ebp - 0x48], 0xfd6f206
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x381e1
push 0
call eax
mov ecx, 0xa7451362
sub ecx, 0xa744c5e7
mov esi, eax
mov edi, 0x410000
add edi, dword [ebp - 0x44]
mov ebx, 0xab65bb1e
add dword [ebp - 4], 0x195aeb6
mov edx, dword [edi]
mov dword [ebp - 0x24], 0x5dd1d13e
xor edx, ebx
mov dword [esi], edx
sub dword [ebp - 0x24], 0x71e7bd47
add esi, 4
add edi, 0x99ad1ce2
sub edi, 0x99ad1cde
loop 0x403f65
add eax, 0xa8f1cc81
add eax, 0x570f5c3e
mov ebx, eax
add eax, 0x4c96804f
sub eax, 0x4c96804a
mov ecx, 0x82906a0b
sub ecx, 0x82506a0b
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4056c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
xor edi, edi
nop
mov esi, dword [edx + 0x28]
movzx ecx, word [edx + 0x26]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x405683
sub al, 0x20
nop
ror edi, 0xd
nop
add edi, eax
jmp 0x405693
dec ecx
nop
jne 0x405679
nop
push edx
mov edx, dword [edx + 0x10]
jmp 0x4056a0
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
push edi
test eax, eax
nop
je 0x405722
nop
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
nop
je 0x40571f
xor edi, edi
jmp 0x4056cd
dec ecx
mov esi, dword [ebx + ecx*4]
nop
jmp 0x4056d5
add esi, edx
jmp 0x4056e0
xor eax, eax
ror edi, 0xd
lodsb al, byte [esi]
add edi, eax
cmp al, ah
jne 0x4056e0
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jge 0x405716
nop
jne 0x4056be
pop eax
nop
mov ebx, dword [eax + 0x24]
add ebx, edx
nop
jmp 0x405704
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
nop
popal
pop ecx
pop edx
push ecx
jmp eax
nop
pop eax
nop
nop
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40566e

Function at 0x40577b
Capabilities:
Access peb ldr_data

Disassembly:
pop esi
repne movsb byte es:[edi], byte [esi]
call 0x40577b
mov ebx, 0xa2a1de0
push 0x9dbd95a6
call ebp
cmp al, 6
jl 0x405776
cmp bl, 0xe0
jne 0x405776
mov ebx, 0x6f721347
push 0
push ebx
call ebp
xor eax, eax
push eax
push eax
push eax
push ebx
push eax
push eax
push 0x160d6838
call ebp
pop eax
pop eax
popal
jmp 0x40588e
fldpi

Function at 0x405792
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
call fcn.00405754
and sp, 0xfffc
xor esi, esi
mov esi, dword fs:[esi + 0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov si, 0x1aaa
Function at 0x74e370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x74e38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x777074
push ecx
mov edi, eax
call fcn.00762198
mov esi, eax
add esp, 8
test esi, esi
jne 0x74e3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0076202e
push esi
call fcn.00761fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x751850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7518ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x77c720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7518ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007621e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7518ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x77c720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x75192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00763082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x751957
mov word [eax], si
add eax, 2
push eax
call fcn.00763030
add esp, 4
jmp 0x751959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7518ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7518b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x751ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x752080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7520c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x777458
push ecx
call fcn.007621e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007621e1
add esp, 0x10
jmp 0x7520d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0076220b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00761dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00752050
mov eax, dword [0x77c728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x75213b
push esi
call fcn.00751fb0
add esp, 4
mov dword [0x77c728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x75214c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00751ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x755440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7554b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x75548e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x755471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x75547e
add edx, ecx
cmp ebx, edx
jb 0x75548a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x755467
xor ecx, ecx
jmp 0x7554a2
test eax, eax
jne 0x755492
xor ecx, ecx
jmp 0x7554a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007553c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7558f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x755921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x755946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x75596e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x755993
push ecx
push esi
call fcn.007554c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x756c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x756c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x756c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x756c38
add edx, eax
cmp ebx, edx
jb 0x756c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x756c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x756c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x756c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x756cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x756c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x756ca8
add edx, ecx
cmp ebx, edx
jb 0x756cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x756c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x756f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00763145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x756ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x756fdd
lea eax, [esp + 0x18]
push eax
jmp 0x756fe2
push 0x77c720
call fcn.00762fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x756fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x756f40
push 4
push ecx
push eax
call fcn.0076343f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0x757310
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push 0
push 0
push 0
push edi
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.00763145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x7573ab
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x75738d
lea eax, [esp + 0x18]
push eax
jmp 0x757392
push 0x77c720
call fcn.00762fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x757360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x756f40
push 4
push ecx
push eax
call fcn.0076343f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret