joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100acbe0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019b9a1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101ef110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.DL::RCSimpleDownloadHandler.0
mov dword [edi + 4], vtable.DL::RCSimpleDownloadHandler.1.0
mov dword [ebp - 4], 7
mov dword [edi + 0x98], 0
mov byte [ebp - 4], 6
or ebx, 0xffffffff
mov esi, dword [edi + 0xf8]
test esi, esi
je 0x100acc5b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100acc5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x100acc5b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x100acc76
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x100acc76
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test eax, eax
je 0x100acca7
push eax
call ebx
push 0x18
push dword [edi + 0xe4]
call fcn.101614ae
add esp, 8
mov dword [edi + 0xe4], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0xc0]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x100acccb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 8]
call fcn.10005450
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xac]
test eax, eax
je 0x100acd02
push eax
call ebx
push 0x18
push dword [edi + 0xac]
call fcn.101614ae
add esp, 8
mov dword [edi + 0xac], 0
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x100acd7d
mov edx, dword [edi + 0xa4]
push ecx
call fcn.100a2f10
mov eax, dword [edi + 0xa8]
add esp, 4
mov ecx, dword [edi + 0xa0]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x100acd55
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x100acdfc
mov ecx, esi
push edx
push ecx
call fcn.101614ae
add esp, 8
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov byte [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x70]
call fcn.10005450
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x48]
call fcn.10005450
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x30]
call fcn.10005450
mov byte [ebp - 4], 9
lea ecx, [esi + 0x18]
call fcn.10005450
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10005450
mov dword [ebp - 4], 0xe
mov dword [edi + 4], vtable.RC::RCRefCounted.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.DL::ISimpleDownloadHandler.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.RC::IRefCount.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10168a09
int3
Function at 0x100af5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.1001ca90
test al, al
jne 0x100af620
mov eax, 1
jmp 0x100af79d
push 0x10000
call fcn.10161a35
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.101652e0
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x100af776
test ebx, ebx
je 0x100af776
cmp dword [eax], 0xffffffff
je 0x100af776
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100af776
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x100af76c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.100bce50
test al, al
je 0x100af75f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x100af712
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x100af701
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x100af76c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x100af71c
add ebx, eax
cmp ebx, 0x8000
je 0x100af72c
cmp dword [ebp - 0x28], 0xf
ja 0x100af755
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x100af6b0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100af74e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x100af736
mov esi, 4
jmp 0x100af787
mov esi, 5
jmp 0x100af787
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x100af787
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x100af781
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x100af787
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x100af79b
push ebx
call fcn.10161835
add esp, 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 - 0x14]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b25f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c308
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101ef110]
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 - 0x38]
mov edi, dword [ebp + 0xc]
push esi
push eax
call fcn.100b2eb0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x18]
call fcn.10011250
xorps xmm0, xmm0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
test eax, eax
jne 0x100b2674
xor bl, bl
jmp 0x100b2692
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100b268c
cmp eax, 0x80
je 0x100b268c
xor bl, bl
jmp 0x100b2692
mov byte [ebp - 0x14], 1
mov bl, 1
mov byte [ebp - 0x1c], bl
mov byte [ebp - 4], 2
lea eax, [ebp - 0x39]
push eax
push edi
push esi
mov byte [ebp - 0x39], 0
call fcn.100b2780
test al, al
jne 0x100b26c0
cmp byte [ebp - 0x39], al
je 0x100b26c0
cmp dword [esi + 0x14], 8
jb 0x100b26b9
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
test bl, bl
je 0x100b26da
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b26d6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100b26fa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100b273d
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b2733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b276f
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
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.1016100c
mov esp, ebp
pop ebp
ret 8
call fcn.10168a09
int3
Function at 0x100b3f30
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101ef110]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.101652e0
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x100b3fc7
cmp dword [esp + 8], 6
jb 0x100b3fc7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1016100c
add esp, 0x118
ret
Function at 0x100b3fe0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c540
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x101ef110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.wintrust.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100054b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.10017fd0
mov ecx, eax
call fcn.10018090
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100b4095
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b408b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b41ce
push edx
push ecx
call fcn.101614ae
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xb
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.crypt32.dll
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.100054b0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.10017fd0
mov ecx, eax
call fcn.10018090
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x100b412a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100b411d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b41d3
push edx
push ecx
call fcn.101614ae
mov eax, dword [ebp - 0x10]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
test edi, edi
je 0x100b41bc
test eax, eax
je 0x100b41bc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10168a09
call fcn.10168a09
int3
Function at 0x100b8ca0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019cde8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x101ef110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 4]
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov byte [ebp - 4], 1
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], 7
mov word [eax + 0x30], cx
mov byte [ebp - 4], 2
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], 7
mov word [eax + 0x48], cx
mov byte [ebp - 4], 3
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], 7
mov word [eax + 0x60], cx
mov byte [ebp - 4], 4
mov dword [eax + 0x88], ecx
mov dword [eax + 0x8c], 7
mov word [eax + 0x78], cx
mov byte [ebp - 4], 5
mov dword [eax + 0x90], ecx
mov dword [eax + 0x94], ecx
mov dword [eax + 0x98], ecx
mov dword [ebp - 4], 7
mov dword [edi + 0xa0], ecx
mov dword [edi + 0xa4], ecx
mov byte [ebp - 4], 8
mov dword [edi + 0xa8], ecx
mov dword [edi + 0xac], ecx
mov byte [ebp - 4], 9
lea ecx, [edi + 0xb0]
call fcn.1009ee00
mov byte [ebp - 4], 0xa
push 0
call fcn.1016b732
push eax
call fcn.1016b6a1
push 0x20
call fcn.1016101d
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
push 0x18
call fcn.1016101d
add esp, 0x10
mov dword [esi], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xc
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov byte [ebp - 4], 0xa
mov dword [edi + 0xc0], esi
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 0xe
mov dword [edi + 0xdc], eax
mov dword [edi + 0xe0], 7
mov word [edi + 0xcc], ax
mov byte [ebp - 4], 0xf
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], 7
mov word [edi + 0xe4], ax
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0x100]
call fcn.100b90c0
mov byte [ebp - 4], 0x11
xor eax, eax
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x200], 7
mov word [edi + 0x1ec], ax
mov byte [ebp - 4], 0x12
mov dword [edi + 0x214], eax
mov dword [edi + 0x218], 7
mov word [edi + 0x204], ax
mov byte [ebp - 4], 0x13
mov dword [edi + 0xc8], eax
mov dword [edi + 0xc4], eax
mov byte [edi], al
mov word [edi + 0x1e8], ax
mov dword [edi + 0x178], eax
mov dword [edi + 0x17c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c1610
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e581
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], 0
lea eax, [ebp - 0x24c]
push eax
call fcn.100c1af0
add esp, 4
mov dword [ebp - 4], 1
push str.config.ini
lea ecx, [ebp - 0x264]
call fcn.100052e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
push ecx
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.10005230
lea ecx, [ebp - 0x234]
push ecx
call fcn.1000e7f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x100c16f3
push 0x101c1474
mov ecx, dword [ebp + 8]
call fcn.100052e0
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10005230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10005230
mov eax, dword [ebp + 8]
jmp 0x100c187c
push 0x20a
push 0
lea ecx, [ebp - 0x21c]
push ecx
call fcn.101652e0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.100051d0
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x101c1474
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x2b4]
add ecx, 2
mov dword [ebp - 0x2bc], ecx
mov edx, dword [ebp - 0x2b4]
mov ax, word [edx]
mov word [ebp - 0x2b6], ax
add dword [ebp - 0x2b4], 2
cmp word [ebp - 0x2b6], 0
jne 0x100c1751
mov ecx, dword [ebp - 0x2b4]
sub ecx, dword [ebp - 0x2bc]
sar ecx, 1
mov dword [ebp - 0x2c0], ecx
jne 0x100c17ca
push 0x101c1474
mov ecx, dword [ebp + 8]
call fcn.100052e0
mov edx, dword [ebp - 0x2b0]
or edx, 1
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10005230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10005230
mov eax, dword [ebp + 8]
jmp 0x100c187c
lea eax, [ebp - 0x2ac]
push eax
call fcn.100c1530
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.100052e0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x27c]
call fcn.10005230
lea edx, [ebp - 0x294]
push edx
mov ecx, dword [ebp + 8]
call fcn.10008c50
mov eax, dword [ebp - 0x2b0]
or eax, 1
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x294]
call fcn.10005230
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.10005230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10005230
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10005230
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret
Function at 0x100c2540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e878
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.config.ini
lea ecx, [ebp - 0x28]
call fcn.100052e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.100c1af0
add esp, 4
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10005230
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10005230
lea ecx, [ebp - 0x40]
call fcn.100051d0
push eax
push 0
push str.PreferPdfReader
push str.Open
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jne 0x100c25ee
mov dword [ebp - 0x60], 1
jmp 0x100c25f5
mov dword [ebp - 0x60], 0
mov dl, byte [ebp - 0x60]
mov byte [ebp - 0x59], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005230
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret

Function at 0x100c29e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e958
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.100c1af0
add esp, 4
mov dword [ebp - 4], 0
push str.config.ini
lea ecx, [ebp - 0x58]
call fcn.100052e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10005230
lea ecx, [ebp - 0x28]
push ecx
call fcn.1000e7f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x100c2a86
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005230
mov eax, dword [ebp - 0x5c]
jmp 0x100c2ac8
lea ecx, [ebp - 0x28]
call fcn.100051d0
push eax
push 0
push str.IsForceOpenEditor
push str.Open
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005230
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret
Function at 0x100c2af0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019e958
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.100c1af0
add esp, 4
mov dword [ebp - 4], 0
push str.config.ini
lea ecx, [ebp - 0x58]
call fcn.100052e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.10011740
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10005230
lea ecx, [ebp - 0x28]
push ecx
call fcn.1000e7f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x100c2b96
mov dword [ebp - 0x5c], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005230
mov eax, dword [ebp - 0x5c]
jmp 0x100c2bd8
lea ecx, [ebp - 0x28]
call fcn.100051d0
push eax
push 0xffffffffffffffff
push str.IsRightNetFramework
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005230
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret

Function at 0x100c3330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0x3c
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.101652e0
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
cmp dword [ebp + 0x18], 0
je 0x100c3362
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
jmp 0x100c336b
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x100c33c4
cmp dword [ebp - 0x28], 0x20
jbe 0x100c33b7
mov dword [ebp - 0xc], 1
jmp 0x100c33be
mov dword [ebp - 0xc], 0
mov al, byte [ebp - 0xc]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x100c33e3
movzx edx, byte [ebp + 0x20]
test edx, edx
je 0x100c33e3
push 0x2710
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret