joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x10016e70
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122a68
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10167c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016eb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10016f09
call fcn.10016a70
test eax, eax
jns 0x10016f0e
xor edi, edi
test ebx, ebx
je 0x10016ef5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
jne 0x10016f2f
call fcn.10016a70
test eax, eax
js 0x10016ee8
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
test eax, eax
jb 0x10016ee8
ja 0x10016ee8
test esi, esi
je 0x10016ee8
test eax, eax
ja 0x10016ee8
jb 0x10016f4a
cmp esi, 0x500000
jae 0x10016ee8
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
cmp esi, ecx
ja 0x10016f67
mov dword [edi + 0x10], esi
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10016f61
mov eax, dword [edi]
mov byte [eax + esi], 0
jmp 0x10016f75
mov eax, esi
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.100188a0
cmp dword [edi + 0x14], 0x10
jb 0x10016f7d
mov edi, dword [edi]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10016fa8
call fcn.10016a70
mov edi, eax
not edi
shr edi, 0x1f
jmp 0x10016eea
xor edi, edi
mov eax, 0x80070026
cmp dword [ebp - 0x10], esi
cmovne edi, eax
not edi
shr edi, 0x1f
jmp 0x10016eea
Function at 0x10016fc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122a9b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.100c4bf0
mov eax, dword [0x10167c60]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1001713d
cmp eax, 0x1fff
ja 0x1001713d
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001713d
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x101310e0
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001713d
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x10017093
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x10017099
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x100170a5
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x100170b1
mov dword [eax], edi
test esi, esi
je 0x10017136
lea ecx, [ebp - 0x2014]
call fcn.100131c0
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.100086f0
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x1001711e
movzx eax, word [edx + esi]
test ax, ax
je 0x1001711e
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x10017100
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.10007df0
mov eax, 1
jmp 0x1001713f
xor eax, eax
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.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100171a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122adb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
mov dword [ebp - 0x228], esi
push 0
push eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x219]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x10131218
call fcn.10016730
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x100172a1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10016a90
test al, al
jne 0x10017285
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017267
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000b940
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008520
int3

Function at 0x100172b0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 4
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x6f0053
push eax
push str.resolutiony
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x740066
push eax
push SysReAllocString
mov dword [ebp - 0x28], 0x610077
mov dword [ebp - 0x24], 0x650072
mov dword [ebp - 0x20], 0x33005c
mov dword [ebp - 0x1c], 0x300036
mov dword [ebp - 0x18], 0x610057
mov dword [ebp - 0x14], 0x6c006c
mov dword [ebp - 0x10], 0x610050
mov dword [ebp - 0xc], 0x650070
mov dword [ebp - 8], 0x72
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10017369
cmp esi, dword [ebp - 0x34]
jne 0x10017369
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push 0x5a
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
pop edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10131370]
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
pop esi
mulss xmm1, xmm0
cvttss2si ecx, xmm1
cmp ecx, eax
cmovge eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100173c0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 4
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 4
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x6f0053
push eax
push str.resolutionx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x740066
push eax
push SysReAllocString
mov dword [ebp - 0x28], 0x610077
mov dword [ebp - 0x24], 0x650072
mov dword [ebp - 0x20], 0x33005c
mov dword [ebp - 0x1c], 0x300036
mov dword [ebp - 0x18], 0x610057
mov dword [ebp - 0x14], 0x6c006c
mov dword [ebp - 0x10], 0x610050
mov dword [ebp - 0xc], 0x650070
mov dword [ebp - 8], 0x72
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10017479
cmp esi, dword [ebp - 0x34]
jne 0x10017479
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push 0x58
push 0
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
pop edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x34]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x10131370]
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
pop esi
mulss xmm1, xmm0
cvttss2si ecx, xmm1
cmp ecx, eax
cmovge eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100175e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122b93
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x254]
push 0x208
push 0
mov dword [ebp - 0x468], edi
push eax
mov dword [ebp - 0x464], 0
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x254]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x2c], 0x2e002e
push eax
mov dword [ebp - 0x28], 0x62005c
mov dword [ebp - 0x24], 0x720069
mov dword [ebp - 0x20], 0x770064
mov dword [ebp - 0x1c], 0x2e0070
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x4c], 0x2e002e
mov dword [ebp - 0x48], 0x33005c
mov dword [ebp - 0x44], 0x300036
mov dword [ebp - 0x40], 0x700077
mov dword [ebp - 0x3c], 0x700061
mov dword [ebp - 0x38], 0x2e0070
mov dword [ebp - 0x34], 0x780065
mov dword [ebp - 0x30], 0x65
call esi
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100176e5
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x254]
push eax
call esi
lea eax, [ebp - 0x460]
mov dword [ebp - 0x46c], eax
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x1001782b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x254]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x460]
call fcn.10016a90
test al, al
jne 0x10017756
lea ecx, [ebp - 0x254]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017734
sub ecx, edx
lea eax, [ebp - 0x254]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x460]
call fcn.1000b940
push 0x208
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.100e67c0
push 1
lea eax, [ebp - 0x45c]
push eax
push 0
push 0
push dword [ebp - 0x460]
call fcn.10016fc0
add esp, 0x20
call fcn.100088b0
mov ecx, eax
test ecx, ecx
je 0x10017835
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x45c]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.10016a90
test al, al
jne 0x100177e1
lea eax, [ebp - 0x45c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100177c3
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.1000b940
mov esi, dword [ebp - 0x460]
or eax, 0xffffffff
mov dword [ebp - 0x464], 2
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001780d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008520
push 0x80004005
call fcn.10008520
int3
Function at 0x10017860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
push 0x20019
lea ecx, [ebp - 0x219]
mov dword [ebp - 4], esi
call fcn.10016810
push eax
push SysReAllocString
lea ecx, [ebp - 0x230]
call fcn.10017e40
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x1001794c
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0x220], 0x208
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push esi
push str.recharge_mark
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001794c
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x10017924
cmp eax, 2
jne 0x1001794c
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10017942
test cl, 1
jne 0x1001794c
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
jne 0x1001794c
shr ecx, 1
mov eax, 1
cmovne esi, eax
test edi, edi
je 0x10017957
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.100c495f
mov esp, ebp
pop ebp
ret

Function at 0x10017980
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
mov dword [ebp - 0x234], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100179e6
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100179f7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x238], eax
cmp eax, dword [ebp - 0x228]
je 0x10017a34
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x10017a34
lea eax, [ebp - 0x20c]
push eax
push dword [esi]
call fcn.100e9de8
add esp, 8
test eax, eax
je 0x10017a4d
add esi, 4
cmp esi, dword [edi + 4]
jne 0x10017a17
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x10017a57
mov eax, dword [ebp - 0x238]
jmp 0x10017a08
mov dword [ebp - 0x234], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x10017a80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10166164]
cmp eax, 0xffffffff
jne 0x10017cd7
cmp dword [0x1016615c], 0
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10166164], 0
je 0x10017b64
push str.ntdll.dll
mov dword [ebp - 0x12c], 0
xor ebx, ebx
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x128], 0
call eax
mov esi, eax
test esi, esi
je 0x10017b55
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x10017b28
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov ebx, 1
mov dword [ebp - 0x128], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10017b55
cmp dword [ebp - 0x12c], 6
jne 0x10017b55
mov eax, dword [0x1016d0b0]
mov ecx, 1
cmp dword [ebp - 0x124], 1
cmove eax, ecx
mov dword [0x1016d0b0], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1016615c], 0
cmp dword [0x1016d0b0], 0
je 0x10017c17
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.100e67c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str.GetProductInfo
push str.kernel32.dll
mov dword [ebp - 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
test eax, eax
je 0x10017bd8
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call eax
cmp dword [ebp - 0x124], 2
je 0x10017c01
pop edi
pop esi
mov dword [0x10166164], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10166164]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
cmp dword [0x10166160], 0
je 0x10017cbb
push str.ntdll.dll
mov dword [ebp - 0x124], 0
xor ebx, ebx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
call eax
mov esi, eax
test esi, esi
je 0x10017cb1
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x10017c86
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x124]
push ecx
call eax
movzx eax, word [ebp - 0x128]
mov ebx, 1
mov dword [ebp - 0x128], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10017cb1
cmp dword [ebp - 0x124], 6
jne 0x10017ca5
cmp dword [ebp - 0x12c], 2
jae 0x10017ca7
jmp 0x10017cb1
jbe 0x10017cb1
mov dword [0x1016d0b4], 1
mov dword [0x10166160], 0
mov eax, dword [0x10166164]
mov ecx, 1
cmp dword [0x1016d0b4], 0
pop edi
cmovne eax, ecx
pop esi
mov dword [0x10166164], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x100183b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122c90
mov eax, dword fs:[0]
push eax
mov eax, 0x1058
call fcn.100c4bf0
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
call fcn.10074f00
add esp, 4
test eax, eax
jne 0x100183fe
xor edi, edi
jmp 0x100184fa
xorps xmm0, xmm0
mov dword [ebp - 0x1064], 0x44
lea eax, [ebp - 0x1064]
movlpd qword [ebp - 0x1060], xmm0
push eax
movlpd qword [ebp - 0x1058], xmm0
movlpd qword [ebp - 0x1050], xmm0
movlpd qword [ebp - 0x1048], xmm0
movlpd qword [ebp - 0x1040], xmm0
movlpd qword [ebp - 0x1038], xmm0
movlpd qword [ebp - 0x1030], xmm0
movlpd qword [ebp - 0x1028], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x1038], 1
push 0x1000
push eax
mov word [ebp - 0x1034], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x1010]
push eax
movups xmmword [ebp - 0x1020], xmm0
call fcn.100e67c0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1010]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.100166b0
add esp, 0x1c
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x1064]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x100184fa
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100184e4
push eax
push dword [ebp - 0x1020]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x101c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1020]
call esi
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001851b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1001853a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.100c495f
mov esp, ebp
pop ebp
ret
Function at 0x10020490
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10123123
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x10167c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x25c], 0
push 0
push eax
call fcn.100e67c0
add esp, 0xc
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x255]
push dword [esi]
push 0x104
push eax
push 0x101308ac
push str.requested_level_time
call fcn.1001ec80
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x101308ac
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10020529
mov eax, 1
jmp 0x100206c9
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020550
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.1000c9f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x304], 0x10131ad8
push 0
lea eax, [ebp - 0x2f4]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 1
push eax
lea ecx, [ebp - 0x2a4]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x2a8], 0x48
movlpd qword [ebp - 0x2fc], xmm0
call fcn.10027030
mov eax, dword [ebp - 0x304]
push 1
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ebp + ecx - 0x308], eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.1001c4f0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.1000c1c0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x234], 0
xorps xmm0, xmm0
mov dword [ebp - 0x224], eax
movups xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x220], 0x10131aa4
mov eax, 0x10131aa4
movups xmmword [ebp - 0x244], xmm0
nop dword [eax + eax]
add eax, 2
cmp word [eax], 0
jne 0x10020650
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.10018e40
lea eax, [ebp - 0x254]
push eax
call fcn.100f7f04
add esp, 0xc
push 0
push 0x989680
push edx
push eax
call fcn.100c4bb0
mov esi, eax
mov edi, edx
call fcn.10086473
sub eax, esi
push 8
push 0x61c46800
sbb edx, edi
push edx
push eax
call fcn.100c4c30
xor ecx, ecx
cmp eax, 0x18
setge cl
mov dword [ebp - 0x25c], ecx
lea ecx, [ebp - 0x304]
call fcn.1001fee0
mov eax, dword [ebp - 0x25c]
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.100c495f
mov esp, ebp
pop ebp
ret