joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4098c1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x4098cb
repz ret
jmp fcn.0040e3ec

Function at 0x41261c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c1e2
and dword [ebp - 0x14], 0
cmp dword [0x43e54c], 0
mov dword [ebp - 0x18], eax
jne 0x4126cf
push 0x403754
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412777
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403748
push ebx
call edi
test eax, eax
je 0x412777
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403738
push ebx
mov dword [0x43e54c], eax
call edi
push eax
call esi
push 0x403724
push ebx
mov dword [0x43e550], eax
call edi
push eax
call esi
push 0x403708
push ebx
mov dword [0x43e554], eax
call edi
push eax
call esi
mov dword [0x43e55c], eax
test eax, eax
je 0x4126cf
push 0x4036f0
push ebx
call edi
push eax
call esi
mov dword [0x43e558], eax
mov eax, dword [0x43e558]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412728
cmp dword [0x43e55c], ecx
je 0x412728
push eax
call esi
push dword [0x43e55c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412728
test ebx, ebx
je 0x412728
call edi
test eax, eax
je 0x41271f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41271f
test byte [ebp - 8], 1
jne 0x412728
or dword [ebp + 0x10], 0x200000
jmp 0x41275b
mov eax, dword [0x43e550]
cmp eax, dword [ebp - 0x18]
je 0x41275b
push eax
call esi
test eax, eax
je 0x41275b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41275b
mov eax, dword [0x43e554]
cmp eax, dword [ebp - 0x18]
je 0x41275b
push eax
call esi
test eax, eax
je 0x41275b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43e54c]
call esi
test eax, eax
je 0x412777
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412779
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098c1
leave
ret
Function at 0x4145d0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413bf0
cmp dword [0x4a3e30], 0x37
jne 0x414653
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403f58
call edi
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0x404048
call edi
push 0
lea edx, [esp + 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
pop edi
mov eax, dword [0x4a3e34]
mov edx, dword [0x4a3514]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x10006de0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
jne 0x10006df4
xor eax, eax
xor edx, edx
pop ebp
ret 4
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1000b870

Function at 0x10006e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100767db
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x1009f1f4]
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, ecx
mov dword [ebp - 0x21c], eax
cmp byte [0x100a1534], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x224], ebx
je 0x10006e64
lea ecx, [eax + 0x120]
push ecx
jmp 0x10006fca
mov byte [0x100a1534], 1
call fcn.1001a028
mov edi, eax
mov dword [ebp - 0x230], 0
push 0xe
xor eax, eax
mov dword [ebp - 0x22c], 7
push str.wait_inst_time
lea ecx, [ebp - 0x240]
mov word [ebp - 0x240], ax
mov esi, edx
call fcn.1000d990
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 4], 0
call fcn.1000b870
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], edx
mov dword [ebp - 4], 0xffffffff
call fcn.100046e0
push 0
push 0x989680
push esi
push edi
call fcn.10028670
mov ecx, dword [ebp - 0x220]
sub eax, ecx
mov esi, dword [ebp - 0x224]
sbb edx, esi
mov dword [ebp - 0x224], edx
js 0x10006f54
jg 0x10006f09
cmp eax, 0x278d00
jbe 0x10006f54
cmp byte [ebp + 0xc], 0
je 0x10006f32
test esi, esi
jl 0x10006f32
jg 0x10006f19
test ecx, ecx
je 0x10006f32
push 0
push 0
push 1
push 0
push str.delay_inst_time_long
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x1007d734
mov word [ebx], ax
call fcn.1000d990
jmp 0x10006fd1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1004a2e0
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10006f7a
mov eax, dword [esi]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1007d734
push 0x1007dc8c
push str.lds_guide_bguard
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006fa5
sub eax, edx
add esi, 0x120
sar eax, 1
mov ecx, esi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000d990
push esi
mov ecx, ebx
call fcn.100037f0
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.1002865c
mov esp, ebp
pop ebp
ret 8
Function at 0x1000b870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x1009f1f4]
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
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.1004a2e0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1000b8c1
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1000b8c9
mov esi, dword [esi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x1007dc88
push esi
push str.lds_guide_bguard
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
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 dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b910
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.1000d990
push 0xa
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1000f180
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov edi, eax
mov ebx, edx
cmp esi, 8
jb 0x1000b98c
mov ecx, dword [ebp - 0x230]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x1000b982
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b9ae
push esi
push ecx
call fcn.100282eb
add esp, 8
mov eax, edi
mov edx, 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.1002865c
mov esp, ebp
pop ebp
ret 4
call fcn.1004d799
int3

Function at 0x1000bfe0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000c039
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000c039
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000c02a
cmp esi, edx
jae 0x1000c039
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000c018
cmp esi, edx
jae 0x1000c039
cmp word [esi], 0
je 0x1000c039
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000e8e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077108
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1009f1f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100282bb
mov edi, eax
add esp, 4
test edi, edi
je 0x1000e983
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100199ef
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000e985
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.100032e0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx edi, ax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x1000e9e5
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x1000e9e5
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], di
jne 0x1000ea09
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1000ea2b
cmp byte [ebp + 0xc], 0
je 0x1000ea18
push esi
call fcn.10019f21
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x1000ea37
mov esi, str.ios_base::badbit_set
jmp 0x1000ea47
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.1000ea70
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.10004280
push 0x10096410
lea eax, [ebp - 0x30]
push eax
call fcn.100493c2
int3
Function at 0x1000f730
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.100287d0
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1000
xor esi, esi
mov dword [ebp - 0x102c], 1
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.1004a2e0
add esp, 0xc
mov dword [ebp - 0x1030], 0x1000
xor eax, eax
mov dword [ebp - 0x28], 0x4f0053
mov word [ebp - 8], ax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1038], eax
mov word [ebp - 0x1048], ax
lea eax, [ebp - 0x28]
push 0x10
push eax
mov dword [ebp - 0x24], 0x540046
mov dword [ebp - 0x20], 0x410057
mov dword [ebp - 0x1c], 0x450052
mov dword [ebp - 0x18], 0x4c005c
mov dword [ebp - 0x14], 0x640075
mov dword [ebp - 0x10], 0x730061
mov dword [ebp - 0xc], 0x690068
mov dword [ebp - 0x1034], 7
call fcn.1000d990
cmp dword [ebp - 0x1034], 8
lea ecx, [ebp - 0x1030]
push ecx
lea ecx, [ebp - 0x1028]
push ecx
lea ecx, [ebp - 0x102c]
push ecx
lea eax, [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1048]
push str.url0
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x1034]
mov edi, eax
cmp edx, 8
jb 0x1000f856
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f84c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f9ac
push edx
push ecx
call fcn.100282eb
add esp, 8
test edi, edi
jne 0x1000f99a
lea eax, [ebp - 0x1028]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000f867
sub eax, edx
sar eax, 1
je 0x1000f99a
push 0x1000
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 1
push 0
push eax
call fcn.1004a2e0
add esp, 0xc
mov dword [ebp - 0x28], 0x4f0053
xor eax, eax
mov dword [ebp - 0x24], 0x540046
mov word [ebp - 8], ax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1038], eax
mov word [ebp - 0x1048], ax
lea eax, [ebp - 0x28]
push 0x10
push eax
mov dword [ebp - 0x20], 0x410057
mov dword [ebp - 0x1c], 0x450052
mov dword [ebp - 0x18], 0x4c005c
mov dword [ebp - 0x14], 0x640075
mov dword [ebp - 0x10], 0x730061
mov dword [ebp - 0xc], 0x690068
mov dword [ebp - 0x1034], 7
call fcn.1000d990
cmp dword [ebp - 0x1034], 8
lea ecx, [ebp - 0x1030]
push ecx
lea ecx, [ebp - 0x1028]
push ecx
lea ecx, [ebp - 0x102c]
push ecx
lea eax, [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1048]
push str.url_pid
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x1034]
mov edi, eax
cmp edx, 8
jb 0x1000f97a
mov ecx, dword [ebp - 0x1048]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000f970
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f9b1
push edx
push ecx
call fcn.100282eb
add esp, 8
test edi, edi
jne 0x1000f99a
lea eax, [ebp - 0x1028]
push eax
push str.none
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
mov ecx, 1
cmovne esi, ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1002865c
mov esp, ebp
pop ebp
ret
call fcn.1004d799
call fcn.1004d799
int3
Function at 0x1000fe10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077268
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1009f1f4]
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
mov dword [ebp - 0x24], edi
test edi, edi
je 0x1000fe4b
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x1000fe7f
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x10015b40
push 0
push 0
call fcn.10051dd4
add esp, 0x18
mov dword [edi + 0x18], eax
test eax, eax
jne 0x1000fe7f
xor bl, bl
jmp 0x1000ff7e
mov eax, dword [ebp + 8]
push 0x38
mov ebx, dword [eax]
call fcn.100282bb
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1000febc
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_75ad0d54c43d02db3b7ca127fe51fc95______void___.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
jmp 0x1000febe
xor esi, esi
xorps xmm0, xmm0
lea eax, [esi + 0x10]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1000fed7
lock inc dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov eax, dword [edi + 0x30]
lea ebx, [edi + 0x20]
mov ecx, dword [ebx + 8]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x1000fefb
push 1
mov ecx, ebx
call fcn.10016850
mov ecx, dword [ebx + 8]
lea eax, [ecx - 1]
and dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
cmp dword [ecx + eax], 0
jne 0x1000ff3a
push 0x28
call fcn.100282bb
mov edx, dword [ebp - 0x20]
mov ecx, eax
mov eax, dword [ebx + 4]
add esp, 4
mov dword [edx + eax], ecx
mov eax, edx
mov ecx, dword [ebx + 4]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov byte [ebp - 0x19], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_8cd099d178e2e57336f748e2b4d6aab3___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [ebx + 0x10]
test esi, esi
je 0x1000ff7b
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000ff7b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1000ff7b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.1002865c
mov esp, ebp
pop ebp
ret 4
Function at 0x10014c80
Capabilities:
Read .ini file

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x10008458
mov ecx, dword [ecx]
push ecx
push 0
push str.tpi_run
push str.lds_guide_bguard
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
setne al
ret
add ecx, 0x74
jmp 0x10008450

Function at 0x10015280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp eax, 0x64
jne 0x100152ee
push 0
push 0
push 1
push 0
push str.timeout
mov byte [esi + 0x204], 0
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x74]
call fcn.1000bf30
test eax, eax
je 0x1001530f
push 0
push 1
sub esp, 0x18
lea ecx, [esi + 0x74]
push esp
call fcn.10006800
mov ecx, esi
call fcn.10014df0
pop edi
pop esi
pop ebp
ret 4
cmp eax, 0x65
jne 0x1001530f
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
lea ecx, [esi + 0x1b0]
call fcn.1000fe10
pop edi
pop esi
pop ebp
ret 4
Function at 0x100172f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x10017343
mov ebx, dword [ebp + 0x18]
mov esi, dword [edi + 0x28]
push 0
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10016b30
mov dword [edi + 0x28], esi
test eax, eax
jne 0x10017360
mov eax, dword [ebp + 0xc]
cmp eax, 0x10
jne 0x1001734c
push dword [edi + 4]
mov dword [edi + 0x70], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx], 0
cmp dword [edi + 0x70], 0
jne 0x10017360
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x500
jne 0x1001736c
mov ecx, edi
call fcn.100156a0
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x10017343
mov eax, dword [ebp + 0x10]
xor ecx, ecx
movzx eax, ax
cmp cx, ax
jne 0x1001740a
push ecx
push ecx
push 1
push ecx
push str.close
mov byte [edi + 0x204], cl
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [edi + 0x74]
call fcn.10005e10
push 0
test eax, eax
je 0x100173eb
push 1
sub esp, 0x18
lea ecx, [edi + 0x74]
push esp
call fcn.10006800
mov ecx, edi
call fcn.10014df0
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov esi, 1
cmp si, ax
jne 0x1001746f
push 0
push dword [edi + 4]
mov byte [edi + 0x204], cl
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push esi
push 0x1007d734
push str.click
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
push esi
push esi
sub esp, 0x18
lea ecx, [edi + 0x74]
push esp
call fcn.10006800
mov ecx, edi
call fcn.10014df0
mov dword [ebx], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
mov ecx, 2
cmp cx, ax
jne 0x10017343
push 0x64
push dword [edi + 4]
mov byte [edi + 0x204], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 1
push 0
push str.noneed
call fcn.10006820
mov ecx, eax
call fcn.10043ff0
pop edi
mov eax, esi
mov dword [ebx], 0
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x10017dd0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x1009f1f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x70], 0x64006c
push edi
mov word [ebp - 8], ax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
mov dword [ebp - 0x6c], 0x5f0073
mov dword [ebp - 0x68], 0x750067
mov dword [ebp - 0x64], 0x720061
mov dword [ebp - 0x60], 0x5f0064
mov dword [ebp - 0x5c], 0x750067
mov dword [ebp - 0x58], 0x640069
mov dword [ebp - 0x54], 0x2d0065
mov dword [ebp - 0x50], 0x430045
mov dword [ebp - 0x4c], 0x440046
mov dword [ebp - 0x48], 0x300046
mov dword [ebp - 0x44], 0x390030
mov dword [ebp - 0x40], 0x46002d
mov dword [ebp - 0x3c], 0x460038
mov dword [ebp - 0x38], 0x2d0030
mov dword [ebp - 0x34], 0x390034
mov dword [ebp - 0x30], 0x380037
mov dword [ebp - 0x2c], 0x42002d
mov dword [ebp - 0x28], 0x360044
mov dword [ebp - 0x24], 0x2d0045
mov dword [ebp - 0x20], 0x430044
mov dword [ebp - 0x1c], 0x360039
mov dword [ebp - 0x18], 0x430031
mov dword [ebp - 0x14], 0x430041
mov dword [ebp - 0x10], 0x380045
mov dword [ebp - 0xc], 0x310046
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x10017eda
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10017eda
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002865c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002865c
mov esp, ebp
pop ebp
ret