joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4647f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50daa7
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x550144]
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, edx
mov esi, ecx
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x828], esi
mov dword [ebp - 0x820], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [ebp - 0x818]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x824], 0x800
mov dword [ebp - 0x81c], 1
call edi
test eax, eax
jne 0x46493a
push ebx
push 0x536c5c
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push 0x800
push eax
call fcn.0044ab40
add esp, 0x14
lea eax, [ebp - 0x814]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x818]
call edi
test eax, eax
jne 0x46493a
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46493a
lea ecx, [ebp - 0x810]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x464922
sub ecx, edx
lea eax, [ebp - 0x810]
push ecx
push eax
mov ecx, esi
call fcn.0044c0b0
mov eax, dword [ebp - 0x814]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x464957
push eax
call edi
mov dword [ebp - 0x814], 0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x464964
push eax
call edi
mov eax, esi
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4664e0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dd8d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x526c90
push 1
push 0
push 0x526c80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4665a0
mov edi, dword [ebp - 0x14]
push str.._rootcimv2
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x46666e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
call dword [ebp - 0x18]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x4665de
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4665a0
mov dword [ebx + 4], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x4665b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x4665ca
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4665a0
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
je 0x46662a
mov esi, eax
mov byte [ebp - 4], 0xa
test esi, esi
je 0x466617
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x10]
mov dword [ebx], esi
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x46662a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
cmp edx, ecx
je 0x466664
mov esi, ecx
mov byte [ebp - 4], 0xc
test esi, esi
je 0x46664d
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], esi
mov byte [ebp - 4], 0xd
test edx, edx
je 0x466664
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov esi, 1
jmp 0x4665a8
push 0x8007000e
call fcn.00450260
int3
Function at 0x466680
Capabilities:
Reference sql statements
Reference wmi statements

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 0x50dddd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46683d
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_Win32_NetworkAdapter_WHERE__PNPDeviceID_IS_NOT_NULL_
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x24], eax
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x466860
push 0x536d40
mov byte [ebp - 4], 1
call esi
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x46686a
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 0
push 0x30
push edi
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x24]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x24], eax
call esi
push edi
call esi
cmp dword [ebp - 0x24], 0
jge 0x466740
xor esi, esi
jmp 0x466827
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x466814
mov esi, dword [ebx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [eax + eax]
cmp dword [ebp - 0x1c], 1
jne 0x466814
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
push edx
push 0
push str.PNPDeviceID
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x40], 8
jne 0x4667d2
push dword [ebp - 0x38]
push esi
call fcn.004e3b37
add esp, 8
test eax, eax
je 0x466853
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4667ea
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call edi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x466780
xor esi, esi
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x466827
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x46683b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
lea eax, [ebp - 0x40]
push eax
call edi
mov esi, 1
jmp 0x466816
push 0x8007000e
call fcn.00450260
push 0x8007000e
call fcn.00450260
int3
Function at 0x468a00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x20], 0x10
push ebx
push edi
lea edi, [ecx + 0xc]
mov eax, edi
jb 0x468a1f
mov eax, dword [edi]
push eax
push 0
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
test ebx, ebx
js 0x468a3d
cmp ebx, 0x64
jl 0x468a3f
xor ebx, ebx
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x14]
push 0x536b20
push eax
call fcn.00457150
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x468a5e
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x14]
push eax
push str.Count
push str.Desc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x468a89
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
push esi
push 0
call fcn.004e7ede
mov esi, eax
xor edx, edx
mov ecx, 5
mov eax, ebx
div ecx
lea eax, [ebp - 0x24]
push edx
push str.Report_d
push eax
call fcn.00457150
push esi
lea eax, [ebp - 0x14]
push 0x536b08
push eax
call fcn.00457150
add esp, 0x1c
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x468ac9
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x14]
push eax
push str.ReportTime
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax]
cmp esi, eax
je 0x468b55
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x468af2
mov edx, dword [edi]
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x468afd
mov eax, dword [eax]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x468b08
mov ecx, dword [ecx]
push edx
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x468b3b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x468b37
cmp esi, dword [eax + 8]
jne 0x468b37
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x468b27
mov esi, eax
jmp 0x468b51
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x468b51
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x468b45
cmp esi, dword [ebx]
jne 0x468ae8
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x469eb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
xorps xmm0, xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
movups xmmword [ebx], xmm0
mov dword [esp + 0x18], 0x98badcfe
movups xmmword [edi], xmm0
mov dword [esp + 0x1c], 0x10325476
movups xmmword [edi + 0x10], xmm0
mov byte [edi + 0x20], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jb 0x469f1c
mov ecx, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0x10]
push eax
call fcn.00466880
add esp, 4
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.00466960
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [ebx + esi]
push eax
push str._02x
push 2
push 3
push edi
call fcn.0044ab40
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x469f40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 0x20], 0
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x46c3d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e48d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
jb 0x46c406
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c420
mov ecx, esi
call fcn.0046d260
test eax, eax
jne 0x46c5cf
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0046cbf0
push 0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x78], esp
mov ecx, esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
mov dword [ebp - 0x7c], esp
mov ecx, esp
push eax
call fcn.0044f070
sub esp, 0x18
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.0044f070
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0046ca20
mov ecx, esi
call fcn.0046cd80
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x46c53b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c5e9
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x46c56f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c5e9
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x46c59f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c595
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c5e9
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x46c5cf
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46c5c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46c5e9
push edx
push ecx
call fcn.004de50a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3
Function at 0x46cbf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x18], 0x10
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x9c], eax
lea esi, [ecx + 4]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa0], eax
mov eax, esi
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 0x2c], 0
movups xmmword [ebp - 0x4c], xmm0
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x70], xmm0
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x94], xmm0
movups xmmword [ebp - 0x84], xmm0
jb 0x46cc69
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x21
lea eax, [ebp - 0x28]
push eax
push 0
push str.config1
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46cc8f
mov eax, dword [esi]
push eax
push 0x21
lea eax, [ebp - 0x4c]
push eax
push 0
push str.config2
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x46ccae
mov eax, dword [esi]
push eax
push 0x21
lea eax, [ebp - 0x70]
push eax
push 0
push str.config3
push str.Profile
call edi
cmp dword [esi + 0x14], 0x10
jb 0x46cccb
mov esi, dword [esi]
push esi
push 0x21
lea eax, [ebp - 0x94]
push eax
push 0
push str.config4
push str.Profile
call edi
lea edx, [ebp - 0x28]
lea esi, [edx + 1]
pop edi
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x46ccf0
sub edx, esi
lea eax, [ebp - 0x28]
push edx
push eax
mov ecx, ebx
call fcn.0044c0b0
lea edx, [ebp - 0x4c]
lea esi, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x46cd10
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0x4c]
sub edx, esi
push edx
push eax
call fcn.0044c0b0
lea edx, [ebp - 0x70]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x46cd30
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
sub edx, esi
push edx
push eax
call fcn.0044c0b0
lea edx, [ebp - 0x94]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x46cd52
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x94]
sub edx, esi
push edx
push eax
call fcn.0044c0b0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x60
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x5c], eax
add ecx, 0x1c
mov byte [esp + 0x40], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
cmp dword [ecx + 0x14], 0x10
jb 0x46d291
mov ecx, dword [ecx]
push ecx
push 0x21
lea eax, [esp + 0x28]
push eax
push 0
push str.Guid
push str.CurGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0
lea edx, [ecx + 1]
mov dword [esp + 0x1c], 0xf
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46d2d0
sub ecx, edx
lea eax, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.0044c0b0
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
mov dword [esp + 4], eax
cmp edx, 0x10
jb 0x46d32b
mov ecx, dword [esp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46d31d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d33a
push edx
push ecx
call fcn.004de50a
mov eax, dword [esp + 0xc]
add esp, 8
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3
Function at 0x4716b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x471730
test edx, edx
jle 0x471730
test esi, esi
je 0x471730
push edx
mov edx, ecx
mov dword [esp + 0x20], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00471a00
add esp, 4
lea edx, [esp + 8]
mov ecx, esi
call fcn.00471ae0
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor al, al
pop esi
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret

Function at 0x471810
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e920
mov eax, dword fs:[0]
push eax
mov eax, 0x217c
call fcn.004dece0
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2188], ecx
mov dword [ebp - 0x2184], 0
mov dword [ebp - 0x2180], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2184]
push 3
push 1
push SysReAllocString
push eax
call fcn.004715f0
test eax, eax
jns 0x47188b
xor esi, esi
jmp 0x4719c7
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x2184]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x2164], 0
mov dword [ebp - 0x2168], 0
mov dword [ebp - 0x2178], 0x67452301
mov dword [ebp - 0x2174], 0xefcdab89
mov dword [ebp - 0x2170], 0x98badcfe
mov dword [ebp - 0x216c], 0x10325476
nop word [eax + eax]
push 0
lea eax, [ebp - 0x217c]
mov dword [ebp - 0x217c], 0
push eax
push 0x2000
lea eax, [ebp - 0x2120]
push eax
push esi
call edi
test eax, eax
jne 0x47190b
call fcn.004715d0
mov eax, dword [ebp - 0x217c]
test eax, eax
je 0x47192c
push eax
lea edx, [ebp - 0x2120]
lea ecx, [ebp - 0x2178]
call fcn.00471a00
add esp, 4
jmp 0x4718e0
test esi, esi
je 0x471941
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2184], 0
lea edx, [ebp - 0x2178]
lea ecx, [ebp - 0x20]
call fcn.00471ae0
push 0x100
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea edi, [ebp - 0x120]
xor esi, esi
nop dword [eax]
movzx eax, byte [ebp + esi - 0x20]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push edi
call fcn.0044aba0
inc esi
add esp, 0x14
add edi, 4
cmp esi, 0x10
jb 0x471970
lea edx, [ebp - 0x120]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4719a0
mov ecx, dword [ebp - 0x2188]
lea eax, [ebp - 0x120]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.0044f580
mov esi, 1
mov ecx, dword [ebp - 0x2184]
test ecx, ecx
je 0x4719d8
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4728a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
test eax, eax
je 0x472978
xor ecx, ecx
cmp cx, word [eax]
je 0x472978
mov esi, dword [ebp + 0xc]
cmp dword [esi], ecx
jne 0x472978
push 0
push 0x80
push 3
push 0
mov dword [esi], ecx
mov ecx, dword [ebp + 0x10]
push 1
push SysReAllocString
push eax
mov dword [ecx], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x472978
push edi
push 0
push ebx
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x472954
cmp edi, 0xffffffff
je 0x472954
push 0x525da0
push edi
call fcn.004de9fd
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x472954
push 0
push dword [ebp + 0x10]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x472954
mov eax, dword [ebp + 0x10]
cmp dword [eax], edi
jne 0x472954
push ebx
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x472963
push eax
call fcn.004de518
add esp, 4
push ebx
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x472980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
push edi
test ecx, ecx
je 0x472a02
xor eax, eax
cmp ax, word [ecx]
je 0x472a02
test ebx, ebx
je 0x472a02
mov esi, dword [ebp + 8]
test esi, esi
je 0x472a02
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x472a02
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4729f0
cmp dword [ebp - 4], esi
jne 0x4729f0
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret