joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101478d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor eax, eax
mov word [ebp - 4], ax
mov dword [ebp - 8], 0
jmp 0x101478ef
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x20
jae 0x10147923
mov edx, dword [ebp - 8]
movsx ecx, byte [edx + 0x10271fe6]
mov eax, dword [ebp - 8]
xor edx, edx
mov esi, 0x11
div esi
movsx edx, byte [edx + 0x1027203c]
xor ecx, edx
movzx eax, cl
movzx ecx, word [ebp - 4]
add ecx, eax
mov word [ebp - 4], cx
jmp 0x101478e6
mov byte [0x101def26], 0xe2
mov byte [0x101def25], 0x26
movzx edx, word [ebp - 4]
and edx, 0xff
movzx eax, dl
movzx ecx, byte [0x101def26]
add ecx, eax
mov byte [0x101def26], cl
movzx edx, word [ebp - 4]
shr edx, 8
and edx, 0xff
movzx eax, dl
movzx ecx, byte [0x101def25]
add ecx, eax
mov byte [0x101def25], cl
mov edx, dword [0xd227b0]
mov dword [0x101def44], edx
mov eax, dword [0xd227f8]
mov dword [0x101def40], eax
push 0x101479f0
push 0xd227b0
call fcn.101702c0
add esp, 8
push 0x101479b0
push 0xd227f8
call fcn.101702c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10151e20
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x101bb5bc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x24]
xor eax, 0x12b586fd
mov dword [ebp - 0x1c], eax
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp + ecx - 0xc]
xor edx, 0x5d78a568
mov dword [ebp - 0x18], edx
mov eax, 1
imul eax, eax, 6
movzx ecx, word [ebp + eax - 0xc]
and ecx, 0xffff
movzx edx, word [ebp - 0x50]
shl edx, 0x10
or ecx, edx
xor ecx, 0xf45bc124
mov dword [ebp - 0x2c], ecx
movzx eax, word [ebp - 0x30]
and eax, 0xffff
movzx ecx, word [ebp - 0x2e]
shl ecx, 0x10
or eax, ecx
xor eax, 0xb542d8e2
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._08X__08X__08X__08X
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret
Function at 0x10151f90
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 4
push 0x14
call fcn.1006d5fd
add esp, 4
mov dword [ebp - 0x10], eax
push 0x288
call fcn.1006d5fd
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10151fdf
mov edx, dword [ebp - 0xc]
push edx
call fcn.1006d5fd
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10152083
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, 1
imul eax, eax, 5
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul eax, eax, 3
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 0x194]
push edx
push str._02X:_02X:_02X:_02X:_02X:_02X
mov eax, dword [ebp - 0x10]
push eax
call fcn.1006e91a
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
call fcn.1006d9e1
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x10152e20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0
push 0x101bb768
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx ecx, word [ebp - 0x4c]
push ecx
movzx edx, word [ebp - 0x4a]
push edx
movzx eax, word [ebp - 0x46]
push eax
push str.LOGLOG__02d__02d__02d.txt
lea ecx, [ebp - 0x3c]
push ecx
call fcn.1006e91a
add esp, 0x14
lea edx, [ebp + 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x101e2630
call fcn.1005ad20
add esp, 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 1
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 1
je 0x10152ea0
jmp 0x10152eb1
push 0x101e2630
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10152dd0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret

Function at 0x10152ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [0x1020ae0c], 0
jne 0x10152f02
jmp 0x10152f54
push 0
push 0
push 0x10152f60
call fcn.1006fec3
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x101bb6e4
push 0x101def36
call fcn.10152fa0
add esp, 8
push str._Plugin_Loaded
push 0x101def36
call fcn.10152fa0
add esp, 8
push str._____________________________________________
push 0x101def36
call fcn.10152fa0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x10152fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1020ae0c], 0
jne 0x10152fc1
jmp 0x101530f2
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 0x838], eax
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x82c], ecx
mov edx, dword [ebp - 0x82c]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x101e2630
call fcn.1005ad20
add esp, 0xc
mov dword [ebp - 0x82c], 0
mov byte [ebp - 0x10], 0
xor ecx, ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
movzx edx, word [ebp - 0x814]
push edx
movzx eax, word [ebp - 0x816]
push eax
movzx ecx, word [ebp - 0x818]
push ecx
push str._02d:_02d:_02d:
lea edx, [ebp - 0x10]
push edx
call fcn.1005ad40
add esp, 0x14
push 0x101e2630
push 0x101bb764
lea eax, [ebp - 0x810]
push eax
call fcn.1005ad70
add esp, 0xc
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10152e20
add esp, 8
lea eax, [ebp - 0x810]
mov dword [ebp - 0x828], eax
mov ecx, dword [ebp - 0x828]
add ecx, 1
mov dword [ebp - 0x834], ecx
mov edx, dword [ebp - 0x828]
mov al, byte [edx]
mov byte [ebp - 0x821], al
add dword [ebp - 0x828], 1
cmp byte [ebp - 0x821], 0
jne 0x10153087
mov ecx, dword [ebp - 0x828]
sub ecx, dword [ebp - 0x834]
mov dword [ebp - 0x830], ecx
push 0
lea edx, [ebp - 0x83c]
push edx
mov eax, dword [ebp - 0x830]
push eax
lea ecx, [ebp - 0x810]
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.10152ec0
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 7
push 0
mov ecx, dword [ebp + 8]
call fcn.10152ec0
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret

Function at 0x10153100
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0x101bbb54
mov ecx, 0x10271fa0
call fcn.10164bb0
movzx eax, al
test eax, eax
jne 0x10153135
push 0x10
push 0x101bbb60
push str.Main.mspro_not_found_or_is_invalid
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x101def36
call fcn.10152ef0
mov ecx, 0x101de6d8
call fcn.100c4650
push str.DataEnc1.dat
mov ecx, 0x10271570
call fcn.1015da70
push str.DataDec2.dat
mov ecx, 0x10271570
call fcn.1015da90
call fcn.101478d0
mov ecx, 0x10271e50
call fcn.10164270
mov ecx, 0x10271fa0
call fcn.10164cd0
mov ecx, 0x10271fa0
call fcn.10164d60
mov ecx, 0x10271fa0
call fcn.10164df0
mov ecx, 0x10271fa0
call fcn.10164f60
mov ecx, 0x10205e90
call fcn.100d1450
mov ecx, 0x10203960
call fcn.100b2ed0
mov ecx, 0x101def3e
call fcn.1016bcb0
movzx ecx, byte [0x1027232d]
cmp ecx, 1
jne 0x101531dd
push 0
push 0
push 0
push 0x10153530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1015d560
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1015d59f
xor al, al
jmp 0x1015d6e9
push 0
lea ecx, [ebp - 0x30]
push ecx
push 6
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx ecx, word [ebp - 0x38]
movzx edx, word [ebp + 0xc]
cmp ecx, edx
jne 0x1015d5c7
cmp dword [ebp - 0x36], 0x36
je 0x1015d5d8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1015d6e9
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
jne 0x1015d5eb
mov edx, dword [ebp - 0x28]
add edx, 0x24
mov dword [ebp - 0x2c], edx
jmp 0x1015d5f4
mov eax, dword [ebp - 0x28]
add eax, 0x54
mov dword [ebp - 0x2c], eax
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], 0
jmp 0x1015d61c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 4
jge 0x1015d641
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + edx*4 + 0x84]
xor edx, dword [ebp + ecx*4 - 0x14]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + eax*4], edx
jmp 0x1015d613
push 0
lea edx, [ebp - 0x30]
push edx
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], 0
jmp 0x1015d669
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 4
jge 0x1015d68f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4 + 0x84]
xor eax, dword [ebp + edx*4 - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*4 + 0x10], eax
jmp 0x1015d660
push 0
lea eax, [ebp - 0x30]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], 0
jmp 0x1015d6b7
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1015d6dd
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov ecx, dword [edx + ecx*4 + 0x84]
xor ecx, dword [ebp + eax*4 - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [eax + edx*4 + 0x20], ecx
jmp 0x1015d6ae
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10164cd0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 4]
cmp ecx, 1
jne 0x10164d16
push 0x10271fa6
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x10164d14
push 0xa
push 0
push 0
push 0x10271fc6
push 0x101bf284
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10164d58
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 4]
cmp eax, 2
jne 0x10164d58
push 0x10271fa6
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10164d58
push 0xa
push 0
push 0
push 0x10271fc6
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10164d60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
movzx ecx, byte [eax + 5]
cmp ecx, 1
je 0x10164d8a
jmp 0x10164ddc
mov edx, dword [ebp - 0x108]
add edx, 0x72
push edx
push str.XTEAM_MAIN_10405__s
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10164dd4
lea edx, [ebp - 0x104]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x10164ddc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret
Function at 0x10164df0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x510
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x518], ecx
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x134], 0
jne 0x10164e35
jmp 0x10164f3c
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.10075b40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10164e72
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x518]
add eax, 0x102
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.1016fd90
add esp, 4
push eax
call fcn.1007049e
add esp, 8
test eax, eax
je 0x10164ea2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x514]
call fcn.10087ac0
mov dword [ebp - 4], 0
push 0x400
lea edx, [ebp - 0x51c]
push edx
mov eax, dword [ebp - 0x518]
add eax, 0x102
push eax
lea ecx, [ebp - 0x514]
call fcn.10087860
movzx ecx, al
test ecx, ecx
jne 0x10164efa
push 0x10
push 0x101bf2a8
push 0x101bf2b0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x518]
mov eax, dword [edx + 0x134]
cmp eax, dword [ebp - 0x51c]
je 0x10164f2a
push 0x10
push 0x101bf2c4
push str.Main.exe_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.10087ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret
Function at 0x1016f130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
push 0x87
mov ecx, 0x10207be4
call fcn.1011ca40
push 0
push 0
push 0
push 0x1016e230
push 0
push 0
call fcn.1006f1c0
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
call fcn.1016e1b0
mov ecx, 0x1029ab58
call fcn.1016deb0
mov ecx, 0x102563fc
call fcn.1016cfc0
mov esp, ebp
pop ebp
ret

Function at 0x1016f6c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [0x1027233c]
test eax, eax
jne 0x1016f6d4
jmp 0x1016f738
mov ecx, dword [ebp - 4]
call fcn.1016f340
test eax, eax
je 0x1016f738
mov ecx, dword [0xe8c578]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1016f716
push 5
mov edx, dword [0xe8c578]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
call fcn.1016f390
push 0
mov ecx, dword [ebp - 4]
call fcn.1016f1f0
jmp 0x1016f738
push 0
mov eax, dword [0xe8c578]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, dword [ebp - 4]
call fcn.1016f390
push 1
mov ecx, dword [ebp - 4]
call fcn.1016f1f0
mov esp, ebp
pop ebp
ret

Function at 0x1016fe70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov ax, word [ebp + 0xc]
mov word [edx], ax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x1016feb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10071c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x1016ff00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test eax, eax
jne 0x1016ff19
mov dword [ebp - 0x18], 1
jmp 0x1016ff20
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x1016ff2b
jmp 0x10170083
push 0x101c13d4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1016ff4c
jmp 0x10170083
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jae 0x1016ff64
jmp 0x10170083
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1016ff80
jmp 0x10170083
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1016ffa2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10170083
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 8]
jne 0x10170012
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jae 0x1016ffd3
jmp 0x10170083
mov eax, dword [ebp - 4]
add eax, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
jmp 0x1016ffee
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx]
jae 0x10170010
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.101702c0
add esp, 8
jmp 0x1016ffe5
jmp 0x10170079
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
lea ecx, [edx*8 + 0xc]
cmp eax, ecx
jae 0x10170032
jmp 0x10170083
mov edx, dword [ebp - 4]
add edx, 0xc
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0
jmp 0x1017004d
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ecx]
jae 0x10170079
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + eax*8 + 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*8]
push edx
call fcn.101702c0
add esp, 8
jmp 0x10170044
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esp, ebp
pop ebp
ret
Function at 0x10170090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov byte [edx], al
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x101700d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movss xmm0, dword [ebp + 0xc]
movss dword [edx], xmm0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10170110
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movsd xmm0, qword [ebp + 0xc]
movsd qword [edx], xmm0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 8
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10170150
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x101da820]
xor eax, ebp
mov dword [ebp - 4], eax
cvtss2sd xmm0, dword [ebp + 0x10]
sub esp, 8
movsd qword [esp], xmm0
push 0x101c13d8
lea eax, [ebp - 0x104]
push eax
call fcn.1006e91a
add esp, 0x10
push str.._Test.ini
push 0xff
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x104]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x204]
push edx
call fcn.100701dc
add esp, 4
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006d4d0
mov esp, ebp
pop ebp
ret

Function at 0x101701e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10075b40
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret