joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10059a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x100db00c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x244]
test ebx, ebx
je 0x10059bcb
mov eax, dword [ecx]
test eax, eax
je 0x10059bcb
push edi
push str.RegQueryValueExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10059bca
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x208
cmp dword [esi + 0x14], 8
jb 0x10059af9
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push esi
push ebx
call edi
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10059b12
sub eax, edx
lea ecx, [ebp + 0x38]
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100039d0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push ebx
call edi
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10059b54
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.100039d0
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push ebx
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call edi
pop edi
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100a26ec
add esp, 0x230
ret 0xc
Function at 0x1005af40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af838
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x100db00c]
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, ecx
push 1
mov dword [ebp - 0x14], 0
call fcn.100a26fd
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1005afc4
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.10012c70
test al, al
je 0x1005aff1
lea ecx, [ebp - 0x14]
call fcn.100125d0
test al, al
jne 0x1005aff1
xor bl, bl
jmp 0x1005b08f
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.10088c30
test al, al
jne 0x1005b015
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1005b010
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.10088c30
test al, al
jne 0x1005b03c
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1005b037
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.10088c30
test al, al
jne 0x1005b063
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1005b05e
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.10088c30
test al, al
jne 0x1005b08a
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1005b085
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10011f30
mov al, bl
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.100a26ec
mov esp, ebp
pop ebp
ret
Function at 0x1005b150
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100af881
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100db00c]
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, dword [ebp + 0xc]
mov edx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x1005b194
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1005b1ae
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x1005b1e3
add eax, 2
sub ecx, 1
jne 0x1005b1a0
push esi
mov ecx, edi
call fcn.10003750
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
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.100a26ec
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x1005b1ae
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x1005b1ae
push esi
lea ecx, [ebp - 0x28]
call fcn.10003750
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1005b20a
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x1005b239
push esi
mov ecx, edi
call fcn.10003750
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003970
jmp 0x1005b1c4
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a2986
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x1005b260
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x1005b29d
cmp eax, dword [ebp - 0x34]
ja 0x1005b29d
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005b284
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100039d0
push esi
call fcn.100a2fa9
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
add esp, 4
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.10003970
jmp 0x1005b1c4
Function at 0x1005c050
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afa0c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x100db00c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005c170
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c4]
call fcn.100039d0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x29c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1005c1d0
sub eax, edx
lea ecx, [ebp - 0x2ac]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100039d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x294]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.10003970
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.10003970
lea ecx, [ebp - 0x294]
call fcn.1000e1f0
test al, al
jne 0x1005c242
xor bl, bl
jmp 0x1005c297
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.10088380
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
jne 0x1005c265
xor bl, bl
jmp 0x1005c288
lea eax, [ebp - 0x27c]
cmp esi, eax
je 0x1005c286
cmp dword [ebp - 0x268], 8
push ecx
cmovae eax, dword [ebp - 0x27c]
mov ecx, esi
push eax
call fcn.100039d0
mov bl, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.10003970
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10003970
mov al, bl
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.100a26ec
mov esp, ebp
pop ebp
ret 4
Function at 0x10062e00
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b03ac
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100db00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10003970
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10003970
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10003970
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10003970
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10003970
push 0x88
push ebx
call fcn.100a272d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10067dc0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0ef4
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100db00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10024080
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x30]
push 6
push str.._log_
mov byte [ebx + 0x54], 0
call fcn.100073e0
mov dword [ebx + 0x48], 1
mov word [ebx + 0x4c], 0x101
mov byte [ebx + 0x4e], 0
mov dword [ebx + 0x50], 0x64
mov byte [ebx + 0x55], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10067f20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x228], 0
mov dword [ebp - 4], 1
cmp dword [ecx], edi
jne 0x10067fe0
movups xmm0, xmmword [ebp - 0x228]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
movups xmmword [eax], xmm0
mov byte [ebp - 0x228], 0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0xf
jmp 0x100680ba
push dword [ecx]
lea eax, [ebp - 0x210]
push 0x200
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp - 0x214]
mov esi, eax
add esp, 0x10
mov eax, ecx
sub eax, edi
push esi
cmp esi, eax
ja 0x1006803b
lea eax, [edi + esi]
cmp ecx, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
add edi, eax
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1006805b
lea eax, [ebp - 0x210]
mov byte [ebp - 0x230], 0
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x228]
push esi
call fcn.1001fb30
cmp esi, 0x200
jne 0x10068074
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x234]
jmp 0x10067fe0
mov eax, dword [ebp - 0x238]
movups xmm0, xmmword [ebp - 0x228]
mov byte [ebp - 0x228], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
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.100a26ec
mov esp, ebp
pop ebp
ret 4
Function at 0x1006b720
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
lea edi, [esi - 0x10]
je 0x1006b740
push 6
push str.log4z_already_start__r_n
mov ecx, edi
call fcn.1006ae90
pop edi
xor al, al
pop esi
ret
push 0
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push edi
push 0x10067db0
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
or ecx, 0
je 0x1006b790
push 0xbb8
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1006b79d
pop edi
mov al, 1
pop esi
ret
push str.log4z:_create_log4z_thread_error___r_n
call fcn.10067a40
add esp, 4
pop edi
xor al, al
pop esi
ret
Function at 0x10073c60
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x240]
sub esp, 0x240
push 0xffffffffffffffff
push 0x100b2de9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp + 0x23c], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
lea ecx, [ebp]
mov dword [ebp - 0x10], 0
xor eax, eax
push 0xf
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
push str.Qingniao_Chrome
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 7
mov word [ebp], ax
call fcn.100039d0
mov dword [ebp - 4], 1
lea edx, [ebp]
lea ecx, [ebp + 0x18]
call fcn.100747b0
mov byte [ebp - 4], 3
lea ecx, [ebp]
call fcn.10003970
cmp dword [ebp + 0x28], 0
jne 0x10073d20
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x100b99bc
mov word [esi], ax
call fcn.100039d0
jmp 0x10073dd7
lea ecx, [ebp + 0x18]
call fcn.1000e1f0
test al, al
jne 0x10073d51
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x100b99bc
mov word [esi], ax
call fcn.100039d0
jmp 0x10073dd7
push 0x20a
lea eax, [ebp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x18]
cmp dword [ebp + 0x2c], 8
cmovae eax, dword [ebp + 0x18]
push eax
push 0x104
lea eax, [ebp + 0x30]
push eax
push 0x100b99bc
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x100b99bc
lea eax, [ebp + 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10073dbc
test dx, dx
je 0x10073db8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10073dbc
add eax, 4
add ecx, 4
test dx, dx
jne 0x10073d96
xor eax, eax
jmp 0x10073dc1
sbb eax, eax
or eax, 1
mov ecx, esi
test eax, eax
jne 0x10073dce
push 0x100b99bc
jmp 0x10073dd2
lea eax, [ebp + 0x30]
push eax
call fcn.100036e0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x18]
call fcn.10003970
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x23c]
xor ecx, ebp
call fcn.100a26ec
lea esp, [ebp + 0x240]
pop ebp
ret
Function at 0x100744a0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x100b2ee1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp + 0x224], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
lea ecx, [ebp]
mov dword [ebp - 0x10], 0
call fcn.100745e0
mov dword [ebp - 4], 1
lea ecx, [ebp]
call fcn.1000e1f0
test al, al
jne 0x10074523
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x100b99bc
mov word [esi], ax
call fcn.100039d0
jmp 0x1007459b
push 0x20a
lea eax, [ebp + 0x18]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp]
cmp dword [ebp + 0x14], 8
cmovae eax, dword [ebp]
push eax
push 0x104
lea eax, [ebp + 0x18]
push eax
push 0x100b99bc
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp + 0x18]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10074580
sub ecx, edx
lea eax, [ebp + 0x18]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100039d0
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.10003970
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.100a26ec
lea esp, [ebp + 0x228]
pop ebp
ret
Function at 0x100749d0
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x258]
sub esp, 0x258
push 0xffffffffffffffff
push 0x100b3008
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp + 0x254], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0
push 0x100b99bc
mov ecx, esi
call fcn.100039d0
mov edx, edi
lea ecx, [ebp]
call fcn.100747b0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x10074bf3
lea ecx, [ebp]
call fcn.1000e1f0
test al, al
je 0x10074bf3
push 0x20a
lea eax, [ebp + 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp]
cmp dword [ebp + 0x14], 8
cmovae eax, dword [ebp]
push eax
push 0x104
lea eax, [ebp + 0x48]
push eax
push 0x100b99bc
push str.Version
push str.AppLoadInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x100b99bc
lea ecx, [ebp + 0x48]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10074ab6
test dx, dx
je 0x10074ab2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10074ab6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10074a90
xor eax, eax
jmp 0x10074abb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10074bf3
xor eax, eax
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 7
mov word [ebp + 0x30], ax
mov byte [ebp - 4], 1
lea edx, [ebp + 0x30]
lea ecx, [eax + 0x1c]
call fcn.10088c30
test al, al
je 0x10074be4
cmp dword [ebp + 0x40], 0
je 0x10074be4
push edi
lea edx, [ebp + 0x30]
lea ecx, [ebp + 0x18]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x30]
push eax
call fcn.10003670
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.10003970
push str.Application
lea ecx, [ebp + 0x18]
call fcn.100036e0
mov byte [ebp - 4], 3
lea eax, [ebp + 0x18]
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp - 0x24]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x30]
push eax
call fcn.10003670
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.10003970
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.10003970
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x18]
call fcn.100036e0
mov byte [ebp - 4], 5
lea eax, [ebp + 0x18]
push eax
lea edx, [ebp + 0x30]
lea ecx, [ebp - 0x24]
call fcn.10010150
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x30]
push eax
call fcn.10003670
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.10003970
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.10003970
lea ecx, [ebp + 0x30]
call fcn.1000e2e0
test al, al
je 0x10074be4
lea eax, [ebp + 0x30]
mov ecx, esi
push eax
call fcn.10006960
mov bl, 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x30]
call fcn.10003970
jmp 0x10074bf5
xor bl, bl
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x30]
call fcn.10003970
jmp 0x10074bf5
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10003970
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x254]
xor ecx, ebp
call fcn.100a26ec
lea esp, [ebp + 0x258]
pop ebp
ret
Function at 0x10075cb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100db00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x410
push 0
lea eax, [ebp - 0x414]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x10075cfe
xor al, al
jmp 0x10075d57
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x10075d30
cmp dword [ebp - 0x418], 0
je 0x10075d2c
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
jmp 0x10075d57
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10006930
cmp dword [ebp - 0x418], 0
je 0x10075d55
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a26ec
mov esp, ebp
pop ebp
ret
Function at 0x10077580
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x100db00c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100775e7
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x100775d0
jne 0x100775e7
cmp dword [esp + 8], 0
jbe 0x100775e7
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100a26ec
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.100a26ec
add esp, 0x118
ret

Function at 0x10077600
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x100db00c]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x100db534], 0
jne 0x10077682
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
lea ecx, [esp + 8]
mov word [esp + 0x20e], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10077663
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, 0x100db524
call fcn.100039d0
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100a26ec
add esp, 0x214
ret