joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100fa290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100fa2de
cmp byte [esi + 0xc], 0
jne 0x100fa2de
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 1
test eax, eax
je 0x100fa2de
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push esi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret 4

Function at 0x100fa2f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100fa3a6
cmp byte [esi + 0xc], 0
jne 0x100fa3a6
cmp dword [esi + 0x24], 0
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
jle 0x100fa343
mov eax, dword [esi + 4]
test eax, eax
je 0x100fa343
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
test ebx, ebx
js 0x100fa3ab
test edi, edi
js 0x100fa3ab
push edi
push ebx
push eax
push 0
call ecx
test eax, eax
jne 0x100fa3a4
mov ecx, dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov edx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], ebx
test edx, edx
je 0x100fa388
push 0x3a98
push 0x3a98
push edx
push 0
call ecx
push 0
push 0
push dword [esi + 4]
push 0x100fa0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 4]
mov dword [eax], 0
test ebx, ebx
js 0x100fa3a4
test edi, edi
js 0x100fa3a4
push dword [esi + 0x28]
push edi
push ebx
push esi
push 0x100fa0d0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push dword [esi + 4]
push 0x100fa0b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov dword [esi + 4], 0
pop esi
pop ebp
ret 0xc
Function at 0x1010deb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp word [0x1016d310], 0
push esi
push edi
mov esi, ecx
jne 0x1010df99
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, str.C:ExuiKrnln_win32.ini
push ebx
push 0
push 0
push 3
push 0
push 1
test esi, esi
mov eax, str.C:ExuiKrnln_win64.ini
push Ordinal_1
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1010df1d
push 0
push 0
push 3
push 0
push 1
mov ecx, str.D:ExuiKrnln_win32.ini
test esi, esi
mov eax, str.D:ExuiKrnln_win64.ini
push Ordinal_1
cmove eax, ecx
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1010df98
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push 0x104
push 0x1016d310
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1010df91
mov eax, dword [ebp - 4]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x1010dfb0
xor ecx, ecx
mov word [eax + 0x1016d310], cx
mov ecx, 0x1016d310
call fcn.100ee890
mov esi, eax
mov ecx, 0x82
mov edi, 0x1016d310
mov eax, 0x206
rep movsd dword es:[edi], dword [esi]
cmp word [eax + 0x1016d310], 0x5c
je 0x1010df91
cmp eax, 0x208
jae 0x1010dfb0
xor ecx, ecx
mov word [eax + 0x1016d310], cx
sub eax, 2
jns 0x1010df72
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, 0x82
mov esi, 0x1016d310
mov edi, 0x1016d518
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10120fad
int3
Function at 0x10115f50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
cmp ebx, 1
jge 0x10115f6b
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push edi
lea esi, [ebx*2 + 4]
push esi
call fcn.10120e82
push esi
mov edi, eax
push 0
push edi
call fcn.10122ba0
add esp, 0x10
lea ecx, [ebx + 1]
push ecx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.100ee0e0
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10119880
Capabilities:
Get graphical window text

Disassembly:
cmp edx, 0x40
jg 0x1011998e
je 0x1011996d
dec edx
cmp edx, 0x1f
ja case.0x101198a0.3
movzx eax, byte [edx + 0x10119a70]
jmp dword [eax*4 + 0x10119a54]
cmp dword [ecx + 0x6c], 0xf
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xf
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x11
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x11
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x13
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x13
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x12
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x12
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x10
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x10
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x14
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x14
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x15
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x15
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x400
jg 0x10119a07
je 0x101199ea
cmp edx, 0x80
je 0x101199cd
cmp edx, 0x200
jne case.0x101198a0.3
cmp dword [ecx + 0x6c], 0xd
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0xd
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0x16
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0x16
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 0
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp edx, 0x800
je 0x10119a34
cmp edx, 0x1000
jne case.0x101198a0.3
cmp dword [ecx + 0x6c], 6
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 6
call dword [sym.imp.USER32.dll_SendMessageW]
ret
cmp dword [ecx + 0x6c], 3
je case.0x101198a0.3
push 0
push 0
push 0x20
push dword [ecx + 0x28]
mov dword [ecx + 0x6c], 3
call dword [sym.imp.USER32.dll_SendMessageW]
ret
Function at 0x10120cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jl 0x10120e29
cmp dword [esi + 0x2c], 0xffffffff
jge 0x10120d43
mov edi, dword [esi + 0x174]
mov dword [esi + 0x170], 0
test edi, edi
je 0x10120e29
cmp byte [edi + 0xc], 0
jne 0x10120d31
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10120d31
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x174], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [esi + 0x16c]
lea edi, [esi + 0x174]
mov ebx, edi
cmp dword [eax + 0xc], 0
jle 0x10120d71
mov eax, dword [eax + 0x10]
cmp dword [eax], 0
je 0x10120d71
mov eax, dword [esi + 0x170]
inc eax
mov dword [esi + 0x170], eax
cmp eax, 4
jle 0x10120de2
mov edi, dword [edi]
mov dword [esi + 0x170], 0
test edi, edi
je 0x10120dc6
cmp byte [edi + 0xc], 0
jne 0x10120dc0
mov eax, dword [edi + 4]
mov byte [edi + 0xc], 1
test eax, eax
je 0x10120dc0
push 0x3a98
push 0x3a98
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
push 0
push 0
push edi
push 0x100f9ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call sym.ExuiKrnln_X32.dll_ControlAddRedrawRect
push esi
call sym.ExuiKrnln_X32.dll_ControlRedraw
cmp dword [edi], 0
jne 0x10120e29
mov ecx, dword [esi + 0x16c]
cmp dword [ecx + 0xc], 0
jg 0x10120e0d
xor edx, edx
xor eax, eax
jmp 0x10120e14
mov eax, dword [ecx + 0x10]
mov edx, dword [eax]
mov eax, edx
push 0
push 0
push 0
push esi
push fcn.10120cc0
push edx
push eax
call sym.ExuiKrnln_X32.dll_CreateTimerEx
mov dword [ebx], eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x10137410
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013728f

Function at 0x101391d2
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10138e92

Function at 0x10140560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1014058d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1014058d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x12c78030
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12c7803a
pushal
call 0x12c78040
pop ebp
sub ebp, 0x10
sub ebp, 0x2c78030
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12c78064
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x12c7806d
mov eax, 0x2c78030
add eax, ebp
add eax, 0x63
mov ecx, 0x5bf
mov edx, 0x91175bb4
add byte [edx - 0x6ee8a44c], bh
xor byte [eax], dl
inc eax
dec ecx
jne 0x12c78084
jmp 0x12c78097
aas
jns 0x12c780d9
cmp eax, 0xb4b4b488
xor eax, 0xb4b44c75
mov ah, 0xb7
jns 0x12c780b4
mov dl, 0xb4
mov ah, 0xb4
push cs
pushfd
mov ah, 0xb4
mov ah, 0x43
push esi
mov bh, 0x7c
aas
jl 0x12c780f5
xor eax, 0xb4b4b4b8
mov bh, 0x71
cmp eax, edx
nop
dec eax
cmp eax, 0xdce490b0
jl 0x12c780dd
loop 0x12c7807e
invalid
mov ah, 0xb4
mov ah, 0x5d
lcall 0x90d0, 0x39b4b4b4
dec eax
cmp eax, 0x583f9098
aas
xor dword [esp + esi*4 + 0x213fb4b4], edi
mov eax, 0x3fb4b4b4
mov ah, 0x3f
cmp dword [esp + esi*4 + 0x5d75b4b4], esp
mov dh, 0x85
mov dh, 0x37
jbe 0x12c780b4
std
mov ebx, 0x4b4b4031
dec ebx
jmp 0x527c3986
Function at 0x409e8c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409f5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409f78
push ebx
push 0x409f84
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409f0c
mov al, 0x6a
call fcn.00409ae8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409e60
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409f15
call fcn.00409e60
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f66
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x40a018
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a0cc
jmp 0x40a0c1
cmp dword [esi + 0x10], 0x1000
jne 0x40a0ad
test byte [esi + 0x15], 1
jne 0x40a0ad
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40a06c
cmp eax, 2
je 0x40a06c
cmp eax, 0x10
je 0x40a06c
cmp eax, 0x20
jne 0x40a081
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40a081
mov bl, 1
xor ebp, ebp
jmp 0x40a092
mov eax, dword [esi]
add eax, ebp
call fcn.0040a010
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40a085
test bl, bl
je 0x40a0ad
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a0cc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a044
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10006d90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x1002a060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1002a998]
cmp eax, 0xffffffff
jne 0x10006f83
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.MSVCR110.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x10006e1a
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
push 0x1001be40
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006e7b
mov dword [0x1002a998], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [0x1002a998], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20c]
call fcn.10006cc0
test eax, eax
je 0x10006f7e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x24
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006f43
lea eax, [ebp - 0x824]
push eax
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0x1001b108
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x61c]
push 0x1001be68
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
mov ecx, dword [0x1002a998]
add esp, 8
test eax, eax
mov edx, 1
cmove ecx, edx
mov dword [0x1002a998], ecx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1002a998]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
Function at 0x100070c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x1002a060]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10006d90
test eax, eax
je 0x100070ef
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.10006cc0
test eax, eax
je 0x100071e8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x24
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100071ad
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1001b108
push str.promote
push str.general
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x1001be68
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x100070dc
lea eax, [ebp - 0x20c]
push 0x1001bea4
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
mov eax, 3
je 0x100071ed
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
Function at 0x10007740
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1002a060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x1000775e
mov eax, dword [esi]
jmp 0x10007760
mov eax, esi
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x10007781
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
push edi
push 1
push ebx
call dword [sym.imp.MSVCR110.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x10007852
cmp dword [esi + 0x14], 8
jb 0x100077a0
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 8]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10007848
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1001bec4
push edi
mov dword [ebp - 0x14], 0
call ebx
test eax, eax
je 0x10007848
cmp dword [ebp - 0x14], 0
je 0x10007848
push 0x10
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x10007833
lea edx, [esi + 0xc]
mov dword [esi], 0
mov dword [edx], 0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
push edx
push 0x1001bec0
push edi
mov dword [esi], edi
mov dword [esi + 8], ecx
mov dword [edx], 0
call ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100147d6
mov esp, ebp
pop ebp
ret
Function at 0x10007890
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1002a060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov edi, ecx
mov dword [ebp - 0x228], eax
movzx eax, word [edi + 4]
mov word [ebp - 0x224], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x222], ax
call esi
mov word [ebp - 0x220], ax
movzx eax, word [edi + 8]
mov word [ebp - 0x21e], ax
movzx eax, word [edi + 4]
mov ebx, 0x4e4
mov word [ebp - 0x21c], ax
mov word [ebp - 0x21a], bx
call esi
mov word [ebp - 0x216], bx
mov ebx, dword [sym.imp.MSVCR110.dll__snwprintf_s]
mov word [ebp - 0x218], ax
xor esi, esi
movzx eax, word [ebp + esi*2 - 0x222]
movzx ecx, word [ebp + esi*2 - 0x224]
push 0x1001bef8
push eax
push ecx
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x20c]
push 0x104
push eax
add esi, 2
call ebx
add esp, 0x1c
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [edi]
mov dword [ebp - 0x214], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1000797a
mov edx, dword [ebp - 0x214]
test edx, edx
jne 0x10007994
cmp esi, 8
jl 0x10007910
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret 8
cmp word [edx], 0
jne 0x100079be
mov ecx, dword [ebp - 0x228]
xor eax, eax
push eax
push edx
call fcn.100018a0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100147d6
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100079c3
mov ecx, dword [ebp - 0x228]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.100018a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.100147d6
mov esp, ebp
pop ebp
ret 8