joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10092ab0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x10], 0
je 0x10092bec
cmp dword [esi + 0x10], 0
je 0x10092bec
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10092aef
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10092bec
push 0x101f3f0c
push eax
call fcn.10126b96
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10092bec
cmp dword [esi + 0x14], 8
jb 0x10092b25
mov esi, dword [esi]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10092bd2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10092bd2
mov eax, dword [ebp - 0x10]
push 0x101f3f0c
push 0x100
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x1c], ecx
call fcn.10126b96
mov esi, eax
add esp, 8
test esi, esi
je 0x10092bd4
cmp dword [edi + 0x14], 8
jb 0x10092b85
mov edi, dword [edi]
push edi
push dword [ebp - 0x1c]
push str.StringFileInfo_08lx_s
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x18]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10092bce
mov edi, dword [ebp - 0x14]
mov edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10092bb5
sub edx, ecx
mov ecx, dword [ebp - 0x20]
sar edx, 1
push edx
push edi
call fcn.10044c60
mov bl, 1
jmp 0x10092bd4
xor esi, esi
push dword [ebp - 0x18]
call fcn.1012694d
add esp, 4
test esi, esi
je 0x10092bec
push esi
call fcn.1012694d
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10126919
mov esp, ebp
pop ebp
ret
Function at 0x10092c00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
push 0x800
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1014de30
add esp, 0xc
mov dword [ebp - 0x808], 0x400
lea eax, [ebp - 0x808]
mov dword [ebp - 0x80c], 1
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10092cb8
lea edx, [ebp - 0x804]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10092c80
mov ecx, dword [ebp - 0x810]
lea eax, [ebp - 0x804]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.10044c60
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10126919
mov esp, ebp
pop ebp
ret
Function at 0x10093a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d7ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101ed40c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
call fcn.100db31b
lea esi, [ebx + 0x10]
lea ecx, [esi + 4]
mov dword [esi], vtable.DuiLib::CNotifyPump.0
push 0x53
mov dword [ebp - 0x10], esi
call fcn.100da592
mov dword [ebx + 0x20], vtable.DuiLib::INotifyUI.0
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], vtable.DuiLib::IMessageFilterUI.0
mov dword [ebx + 0x28], vtable.DuiLib::IDialogBuilderCallback.0
mov dword [ebx + 0x2c], vtable.DuiLib::IQueryControlText.0
mov byte [ebp - 4], 2
mov dword [ebx], vtable.DuiLib::WindowImplBase.0
mov dword [esi], vtable.DuiLib::WindowImplBase.1.0
mov dword [ebx + 0x20], vtable.DuiLib::WindowImplBase.2.0
mov dword [ebx + 0x24], vtable.DuiLib::WindowImplBase.3.0
mov dword [ebx + 0x28], vtable.DuiLib::WindowImplBase.4.0
mov dword [ebx + 0x2c], vtable.DuiLib::WindowImplBase.5.0
call fcn.100d341b
lea ecx, [ebx + 0x7a4]
mov byte [ebp - 4], 3
mov dword [ebx], vtable.Rights::CSingleMainWnd.0
mov dword [esi], vtable.Rights::CSingleMainWnd.1.0
mov dword [ebx + 0x20], vtable.Rights::CSingleMainWnd.2.0
mov dword [ebx + 0x24], vtable.Rights::CSingleMainWnd.3.0
mov dword [ebx + 0x28], vtable.Rights::CSingleMainWnd.4.0
mov dword [ebx + 0x2c], vtable.Rights::CSingleMainWnd.5.0
mov dword [ebx + 0x77c], 0
mov dword [ebx + 0x780], 0
mov dword [ebx + 0x784], 0
mov dword [ebx + 0x788], 0
mov dword [ebx + 0x78c], 0
mov dword [ebx + 0x790], 0
mov dword [ebx + 0x794], 0
mov dword [ebx + 0x798], 0
mov dword [ebx + 0x79c], 0
mov dword [ebx + 0x7a0], 0
call fcn.100da4fd
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x82c]
mov dword [ebx + 0x828], eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x10], esi
call fcn.10042e70
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
lea esi, [ebx + 0x838]
movss xmm0, dword [ebp + 0x18]
mov dword [ebx + 0x830], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
push eax
movss dword [ebx + 0x834], xmm0
mov dword [ebp - 0x10], esi
call fcn.10042e70
add eax, 0x10
add esp, 8
mov dword [esi], eax
push 0x101a35c4
lea ecx, [ebx + 0x7a4]
mov byte [ebp - 4], 6
call fcn.100da67d
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10093be0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10093bff
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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 0x14
Function at 0x10096430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ed4b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x101ed40c]
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 + 8]
lea eax, [ebp - 0x114]
push 0x104
push 0
push eax
mov dword [ebp - 0x130], esi
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x100964b1
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x1019e834
mov byte [esi], al
call fcn.10044b60
jmp 0x100965c2
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100964d5
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10044b60
push str.PCManageconfig.json
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.10094760
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x12c]
cmp eax, edi
je 0x10096549
mov ecx, eax
call fcn.10042450
movq xmm1, qword [edi + 0x10]
movups xmm0, xmmword [edi]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movq qword [ebp - 0x134], xmm1
mov byte [edi], 0
jmp 0x10096560
movq xmm0, qword [ebp - 0x11c]
movq qword [ebp - 0x134], xmm0
movups xmm0, xmmword [ebp - 0x12c]
mov edx, dword [ebp - 0x148]
movups xmmword [ebp - 0x144], xmm0
cmp edx, 0x10
jb 0x1009659d
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10096593
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100965df
push edx
push ecx
call fcn.1012659a
add esp, 8
movups xmm0, xmmword [ebp - 0x144]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x134]
movq qword [esi + 0x10], xmm0
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.10126919
mov esp, ebp
pop ebp
ret
call fcn.101513dc
int3
Function at 0x10097720
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ef8c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x101ed40c]
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 - 0x218]
push 0
push 0x1c
push eax
push 0
mov dword [ebp - 0x224], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x100977b5
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100978e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1019e5ec
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10042d30
test al, al
jne 0x100978c2
push 0
push 0x1019e5ec
mov ecx, edi
call fcn.10043c10
jmp 0x100978c2
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100978ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.10042d30
test al, al
jne 0x10097822
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097800
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10043c10
lea ecx, [ebp - 0x21d]
mov dword [ebp - 4], 2
call fcn.100951d0
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1004e6f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.1004e420
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1009787f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10097898
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esi, 0xfffffff0
push esi
call fcn.10042e70
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov dword [edi], eax
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100978c2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 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.10126919
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
int3
Function at 0x10097c90
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x101ed40c]
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]
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 2
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
mov dword [esi], 0
push eax
push esi
call fcn.10096ee0
mov ecx, eax
call fcn.10055e90
mov eax, dword [esi]
mov dword [ebp - 0x234], 1
cmp dword [eax - 0xc], 0
jne 0x10097e34
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov edi, dword [ebp + 0x10]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 4], 3
mov ecx, edi
mov dword [ebp - 0x23c], esp
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], 7
lea ebx, [ecx + 2]
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097d81
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.10044c60
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
lea ecx, [ebp - 0x218]
mov edx, esp
lea edi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097dc5
sub ecx, edi
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10044c60
mov byte [ebp - 4], 3
call fcn.10092780
add esp, 0x34
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
jb 0x10097e0c
mov edx, dword [ebp - 0x230]
test edx, edx
jne 0x10097e0c
xor ecx, ecx
jmp 0x10097e20
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10097e11
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10043c10
lea ecx, [ebp - 0x230]
call fcn.100424a0
mov edx, dword [ebp + 0xc]
or edi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10097e55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x10097e71
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret
Function at 0x10097e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.100d9da8
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.1014de30
lea eax, [ebp - 0x94]
push eax
call fcn.100d5121
add esp, 0x14
mov dword [ebp - 4], 0
call fcn.100d52d4
dec eax
cmp eax, 3
ja case.default.0x10097efc
jmp dword [eax*4 + 0x10098054]
push str.skin_
lea ecx, [ebp - 0x94]
call fcn.100da73e
lea ecx, [ebp - 0x94]
call fcn.100a4f0b
push eax
call fcn.100d9d5f
add esp, 4
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.10096fc0
mov ecx, eax
call fcn.100f274c
jmp case.default.0x10097efc
push str.skin_
lea ecx, [ebp - 0x94]
call fcn.100da73e
lea ecx, [ebp - 0x94]
call fcn.100a4f0b
push eax
call fcn.100d9d5f
add esp, 4
push 0x101a3960
push ecx
mov eax, esp
mov dword [eax], str.IDR_RES
call fcn.10096fc0
mov ecx, eax
call fcn.100f274c
jmp case.default.0x10097efc
push str.skin_
lea ecx, [ebp - 0x94]
call fcn.100da73e
lea ecx, [ebp - 0x94]
call fcn.100a4f0b
push eax
call fcn.100d9d5f
push 0
push 1
push str.skin.zip
call fcn.100d9e7e
add esp, 0x10
jmp 0x10097f27
push 0x101a398c
push 0x65
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je case.default.0x10097efc
push esi
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10098024
push esi
call fcn.100d52bf
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x10098024
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.100d9db5
add esp, 0xc
push 0
push ecx
mov eax, esp
mov dword [eax], str.res.xml
call fcn.10096fc0
mov ecx, eax
call fcn.100f274c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x94]
call fcn.100da5db
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.10126919
mov esp, ebp
pop ebp
ret
Function at 0x10098340
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018f1a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101ed40c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100983d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.10097af0
mov eax, dword [ebp + 8]
add esp, 4
mov esi, dword [ebp - 0x10]
push 5
push 0
push dword [eax]
push esi
push 0x101a39e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100983c6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
int3
Function at 0x100a6812
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x100a6837
xor eax, eax
jmp 0x100a6893
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x100a6864
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x100a6864
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x100a6918
cmp dword [edi + 0x4c], 0
je 0x100a688d
mov ecx, edi
call fcn.100a64c7
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100a68a3
push dword [edi + 0x4c]
push ebx
call fcn.100a6003
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x100a6892
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10126919
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x1019d89c]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x100a688d
cmp eax, 1
jle 0x100a68eb
cmp eax, 3
jne 0x100a688d
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100a687f
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x100a6908
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.10158288
add esp, 0x10
cmp esi, eax
jne 0x100a688d
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x100a688d
mov ax, bx
jmp 0x100a6892
Function at 0x100a9f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019283b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x101ed40c]
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 + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi]
push 0x104
push eax
push dword [edi]
mov eax, dword [ebp - 0x21c]
push dword [ebx]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100aa02e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.10042d30
test al, al
jne 0x100aa010
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9ff2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10043c10
mov eax, ebx
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.10126919
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
int3
Function at 0x100afd90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019346b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101ed40c]
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]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], 0x6f0043
mov dword [ebp - 0x8c], 0x66006e
mov dword [ebp - 0x88], 0x670069
mov dword [ebp - 0x84], 0x650043
mov dword [ebp - 0x80], 0x74006e
mov dword [ebp - 0x7c], 0x720065
mov dword [ebp - 0x78], 0x690053
mov dword [ebp - 0x74], 0x6c006e
mov dword [ebp - 0x70], 0x650067
mov dword [ebp - 0x6c], 0x6e0049
mov dword [ebp - 0x68], 0x740073
mov dword [ebp - 0x64], 0x6e0061
mov dword [ebp - 0x60], 0x650063
mov dword [ebp - 0x5c], 0x33005f
mov dword [ebp - 0x58], 0x310035
mov dword [ebp - 0x54], 0x450039
mov dword [ebp - 0x50], 0x310039
mov dword [ebp - 0x4c], 0x2d0038
mov dword [ebp - 0x48], 0x430032
mov dword [ebp - 0x44], 0x430033
mov dword [ebp - 0x40], 0x34002d
mov dword [ebp - 0x3c], 0x390046
mov dword [ebp - 0x38], 0x2d0044
mov dword [ebp - 0x34], 0x350041
mov dword [ebp - 0x30], 0x450030
mov dword [ebp - 0x2c], 0x34002d
mov dword [ebp - 0x28], 0x450033
mov dword [ebp - 0x24], 0x420036
mov dword [ebp - 0x20], 0x360035
mov dword [ebp - 0x1c], 0x370044
mov dword [ebp - 0x18], 0x320046
mov dword [ebp - 0x14], 0x31
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100aff2e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10042d30
test al, al
jne 0x100aff0e
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100afef0
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10043c10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10042d10
int3