joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479959
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x48625c
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00415c40
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_path__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x494b04
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call sub.MSVCR100.dll__CxxThrowException
int3

Function at 0x4165c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x479959
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 8], 0
lea eax, [ecx - 0x2c]
mov dword [esp + 0x30], 0x48625c
mov dword [esp + 0x38], vtable.boost::exception_detail::clone_base.0
mov dword [esp + 0x48], 0
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00415e30
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.0
mov dword [esp + 0x1c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.1.0
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x30], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::property_tree::ptree_bad_data__.2.0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
push 0x494b8c
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + eax + 0x34], 0
mov dword [esp + 0x50], 0xffffffff
call sub.MSVCR100.dll__CxxThrowException
int3
Function at 0x4231e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47a741
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a3140]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0xffffffffffffffff
xor ebx, ebx
mov esi, ecx
push ebx
xor eax, eax
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
call fcn.00401390
push 0x10
mov dword [esp + 0x44], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x40], 1
cmp eax, ebx
je 0x423261
mov ecx, dword [esi + 0x1c]
push eax
call fcn.0041cb70
jmp 0x423263
xor eax, eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x44], 2
call fcn.0043cea0
mov dword [esp + 0x40], 3
mov eax, dword [esp + 0x2c]
mov esi, eax
mov dword [esp + 0xc], esi
cmp eax, ebx
je 0x4232b2
lea ebx, [eax + 9]
mov byte [esp + 0x40], 4
call fcn.004124d0
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
push edx
call ebx
push esi
call ebx
add esp, 8
jmp 0x4232b8
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [esp + 0x24], 8
jb 0x4232c9
mov eax, dword [esp + 0x10]
push eax
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00456bde
mov esp, ebp
pop ebp
ret

Function at 0x423f70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47e178
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
movzx ecx, byte [eax]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [eax]
push ecx
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov eax, edx
mov dword [esp + 0x30], esp
lea esi, [eax + 2]
lea esp, [esp]
mov bx, word [eax]
add eax, 2
test bx, bx
jne 0x423fd0
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.004042f0
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x44], 0
mov edx, dword [ecx]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x10]
push edx
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
xor edx, edx
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], dx
call fcn.00401390
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0042ae40
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x425390
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x4253a4
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4253e5
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x4253ba
lea eax, [ebp + 8]
push ebx
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
sete bl
cmp dword [ebp + 0x1c], esi
jb 0x4253dd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
pop ebx
pop esi
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], esi
jb 0x4253f7
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
pop esi
pop ebp
ret 0x1c
Function at 0x425400
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479582
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x425444
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x425556
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x42545e
lea eax, [ebp + 8]
lea edx, [ebp - 0x21c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x425466
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
sub esp, 0x1c
mov ecx, esp
xor edx, edx
lea eax, [ebp - 0x21c]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x220], esp
mov word [ecx], dx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4254b0
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004042f0
call fcn.00425390
test al, al
je 0x425587
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], edi
jae 0x4254e4
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00425ae0
lea edx, [ebp - 0x2cc]
push edx
mov byte [ebp - 4], 1
call fcn.00425bd0
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x220], eax
mov dword [ebp + edx - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 2
call fcn.00425c40
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 4]
mov edx, dword [sym.imp.MSVCP100.dll_const_std::basic_ostream_char__struct_std::char_traits_char__::vftable]
mov dword [ebp + ecx - 0x2cc], edx
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
cmp dword [ebp + 0x1c], edi
jb 0x425568
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x1c], edi
jb 0x425599
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
jmp 0x42556a
Function at 0x425700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x42574b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
mov ecx, str.tqreport.exe
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42577c
test dx, dx
je 0x425778
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42577c
add eax, 4
add ecx, 4
test dx, dx
jne 0x425756
xor eax, eax
jmp 0x425781
sbb eax, eax
sbb eax, 0xffffffff
push esi
test eax, eax
je 0x4257df
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea esp, [esp]
lea ecx, [ebp - 0x230]
push ecx
push edi
call esi
test eax, eax
je 0x4257f4
mov ecx, str.tqreport.exe
lea eax, [ebp - 0x20c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4257d6
test dx, dx
je 0x4257d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4257d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4257b0
xor eax, eax
jmp 0x4257db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x425790
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x4268e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x426a06
cmp byte [edi + 0x49], 0
je 0x426a06
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x4269fa
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x426955
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x426975
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x42699a
dec eax
je 0x42699e
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x4269f5
jmp 0x426a01
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x4269ae
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x4269d8
cmp edx, 0x10
jae 0x4269bd
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x4269f2
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4269fe
test esi, esi
jne 0x426969
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00410b60
jmp 0x426963
lea ecx, [ebp - 0x2c]
call fcn.00402490
xor al, al
jmp 0x426a08
lea ecx, [ebp - 0x2c]
call fcn.00402490
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x428390
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push ecx
mov word [ebp - 0x20c], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x26
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x42840f
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x428430
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428430
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.004042f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00456bde
mov esp, ebp
pop ebp
ret 4

Function at 0x4295a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a482
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xdc], ebx
push ebx
mov edi, ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x483b30
mov ecx, esi
mov dword [ebp - 0xe0], esi
mov word [esi], ax
call fcn.004042f0
push 0xc6
lea edx, [ebp - 0xd6]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0xdc], 1
mov word [ebp - 0xd8], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42962f
mov edi, dword [edi]
push edi
push 0x63
lea eax, [ebp - 0xd8]
push eax
push 0x48519c
push str.appid
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xd8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429657
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, esi
call fcn.004042f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x4296a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a538
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x114], ebx
push ebx
mov edi, ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x483b30
mov ecx, esi
mov dword [ebp - 0x118], esi
mov word [esi], ax
call fcn.004042f0
push 0xc6
lea edx, [ebp - 0xd6]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x114], 1
mov word [ebp - 0xd8], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42972f
mov edi, dword [edi]
push edi
push 0x63
lea eax, [ebp - 0xd8]
push eax
push 0x486a44
push 0x487590
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], 7
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429770
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xf4]
call fcn.004042f0
push 1
push 0x487598
lea eax, [ebp - 0xf4]
push eax
xor eax, eax
mov dword [ebp - 4], 1
call fcn.00410d50
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp eax, 0xffffffff
je 0x4297f4
push eax
push ebx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.0040f920
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410c10
mov byte [ebp - 4], 1
cmp dword [ebp - 0xfc], 8
jb 0x42981e
mov edx, dword [ebp - 0x110]
push edx
call edi
add esp, 4
jmp 0x42981e
lea eax, [ebp - 0xd8]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429800
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xd8]
push eax
mov ecx, esi
call fcn.004042f0
cmp dword [esi + 0x10], ebx
jne 0x429831
push 1
push 0x486a44
mov ecx, esi
call fcn.004042f0
cmp dword [ebp - 0xe0], 8
jb 0x429846
mov ecx, dword [ebp - 0xf4]
push ecx
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x429870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a538
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x114], ebx
push ebx
mov edi, ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x483b30
mov ecx, esi
mov dword [ebp - 0x118], esi
mov word [esi], ax
call fcn.004042f0
push 0xc6
lea edx, [ebp - 0xd6]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x114], 1
mov word [ebp - 0xd8], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4298ff
mov edi, dword [edi]
push edi
push 0x63
lea eax, [ebp - 0xd8]
push eax
push 0x48519c
push 0x487590
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe0], 7
mov dword [ebp - 0xe4], ebx
mov word [ebp - 0xf4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429940
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0xf4]
call fcn.004042f0
push 1
push 0x487598
lea eax, [ebp - 0xf4]
push eax
xor eax, eax
mov dword [ebp - 4], 1
call fcn.00410d50
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp eax, 0xffffffff
je 0x4299c8
mov ecx, dword [ebp - 0xe4]
dec ecx
push ecx
inc eax
push eax
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0040f920
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00410c10
cmp dword [ebp - 0xfc], 8
jb 0x4299d6
mov eax, dword [ebp - 0x110]
push eax
call edi
add esp, 4
jmp 0x4299d6
push 1
push 0x48519c
mov ecx, esi
call fcn.004042f0
cmp dword [ebp - 0xe0], 8
jb 0x4299eb
mov ecx, dword [ebp - 0xf4]
push ecx
call edi
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret
Function at 0x429a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a482
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xdc], ebx
push ebx
mov edi, ecx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x483b30
mov ecx, esi
mov dword [ebp - 0xe0], esi
mov word [esi], ax
call fcn.004042f0
push 0xc6
lea edx, [ebp - 0xd6]
mov dword [ebp - 4], ebx
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0xdc], 1
mov word [ebp - 0xd8], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x429a9f
mov edi, dword [edi]
push edi
push 0x63
lea eax, [ebp - 0xd8]
push eax
push 0x487548
push 0x48759c
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xd8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429ac7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, esi
call fcn.004042f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret

Function at 0x429b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a4d2
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x4a3140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 0x33c], 0
push ecx
mov dword [ebp - 0x340], esi
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], dx
lea eax, [ebp - 0x330]
push eax
push 0x20019
push edx
push str.SoftwareMicrosoftWindows_NTCurrentVersion
mov dword [ebp - 4], edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x33c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429c31
lea ecx, [ebp - 0x338]
push ecx
mov ecx, dword [ebp - 0x330]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x334]
push eax
push 0
push str.ProductName
push ecx
mov dword [ebp - 0x338], 0xff
mov dword [ebp - 0x334], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429c31
lea edx, [ebp - 0x32c]
push edx
mov dword [ebp - 0x32c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429c31
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429c13
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.004042f0
mov ecx, dword [ebp - 0x330]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456bde
mov esp, ebp
pop ebp
ret