joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac804
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ac832
mov eax, ebx
call fcn.004ad2b8
cmp dword [ebx + 0x40], 0
je 0x4ac82b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ac8a3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ac895
cmp dword [ebx + 8], 0
je 0x4ac854
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ac866
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ac895
cmp dword [ebx + 8], 0
je 0x4ac847
cmp eax, 3
je 0x4ac879
dec eax
jne 0x4ac847
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ac847
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ac847
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ac8c1
cmp dword [ebx + 0x14], 0xcc
je 0x4ac8c1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ac8cc
pop ebx
ret
Function at 0x4bd144
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4bd14d
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b34
mov eax, dword [ebp - 8]
call fcn.00404b34
xor eax, eax
push ebp
push 0x4bd343
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404684
lea eax, [ebp - 0x14]
mov edx, 0x104
call fcn.00404cd0
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3c
jne 0x4bd2ed
mov edx, dword [ebp - 4]
mov eax, 0x4bd358
call fcn.00404c88
mov esi, eax
test esi, esi
jle 0x4bd2ed
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
sub ecx, 2
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404ba4
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
call fcn.00408b10
mov eax, dword [ebp - 0xc]
mov edx, 0x4bd364
call fcn.00404a90
jne 0x4bd205
lea edx, [ebp - 0x1c]
mov eax, dword [0x4c2f54]
mov eax, dword [eax]
call fcn.0046480c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
call fcn.0040966c
jmp 0x4bd2a0
mov eax, dword [ebp - 0xc]
mov edx, 0x4bd378
call fcn.00404a90
jne 0x4bd249
push 0x104
mov eax, dword [ebp - 0x14]
call fcn.00404b44
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404b44
call fcn.00409860
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404ba4
jmp 0x4bd2a0
mov eax, dword [ebp - 0xc]
mov edx, 0x4bd388
call fcn.00404a90
jne 0x4bd28d
push 0x104
mov eax, dword [ebp - 0x14]
call fcn.00404b44
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404b44
call fcn.00409860
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404ba4
jmp 0x4bd2a0
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ba4
mov eax, dword [ebp - 4]
cmp byte [eax + esi], 0x5c
jne 0x4bd2cc
lea eax, [ebp - 0x20]
push eax
lea edx, [esi + 2]
mov ecx, 0x2710
mov eax, dword [ebp - 4]
call fcn.00404ba4
mov ecx, dword [ebp - 0x20]
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404990
jmp 0x4bd2ed
lea eax, [ebp - 0x24]
push eax
lea edx, [esi + 1]
mov ecx, 0x2710
mov eax, dword [ebp - 4]
call fcn.00404ba4
mov ecx, dword [ebp - 0x24]
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404990
mov eax, dword [ebx]
call fcn.00404944
test eax, eax
jne 0x4bd302
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004046d8
mov eax, dword [ebx]
call fcn.00404944
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4bd31e
mov eax, ebx
mov edx, 0x4bd39c
call fcn.0040494c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040494c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd34a
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.004046a8
ret
Function at 0x405c8d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4089a0
call fcn.00405e8c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x405ccd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405ccd
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x405ce5
cmp eax, 0x20b
je 0x405cd2
mov dword [ebp - 0x1c], ebx
jmp 0x405cf9
cmp dword [ecx + 0x84], 0xe
jbe 0x405ccd
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x405cf3
cmp dword [ecx + 0x74], 0xe
jbe 0x405ccd
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40a238], 0xffffffff
or dword [0x40a23c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40a1f0]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40a1ec]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40a234], eax
call fcn.00406014
call fcn.004060b4
cmp dword [0x40a0f4], ebx
jne 0x405d59
push fcn.004060b4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004060a2
push 0x40a020
push 0x40a01c
call sub.MSVCR71.dll__initterm
push 0x406058
call fcn.00405bd6
mov eax, dword [0x40a1e8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40a1e4]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x405dad
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40a018
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x405e2b
cmp al, bl
je 0x405dd7
cmp dword [ebp - 0x20], ebx
jne 0x405e2b
mov al, byte [esi]
cmp al, bl
je 0x405de7
cmp al, 0x20
ja 0x405de7
inc esi
mov dword [ebp - 0x24], esi
jmp 0x405dd7
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x405e03
movzx eax, word [ebp - 0x54]
jmp 0x405e06
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00406652
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x405e23
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x405e80
cmp al, 0x22
jne 0x405e3a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x405e4d
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x405dc5
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00405ec7
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x101addd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1006ee8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101ae35
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x1004d40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101ae28
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x101ae37
xor eax, eax
pop esi
leave
ret 4

Function at 0x4278c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
mov dword [edi + 0x190b4], 0xdf20c830
push edi
or ebp, 0xffffffff
jmp 0x4278ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4278f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4278e0
mov eax, 1
add ebx, ebx
jne 0x427903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4278f8
jne 0x427914
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4278f8
xor ecx, ecx
sub eax, 3
jb 0x427928
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42799a
mov ebp, eax
add ebx, ebx
jne 0x427933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427940
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427964
inc ecx
add ebx, ebx
jne 0x427950
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427945
jne 0x427961
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427945
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427984
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427975
jmp 0x4278e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427984
add edi, ecx
jmp 0x4278e6
pop esi
mov edi, esi
mov ecx, 0xc6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4279a2
cmp byte [edi], 0x12
jne 0x4279a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4279a7
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427a16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x279d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27a98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4279d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27a9c]
or eax, eax
je 0x427a10
mov dword [ebx], eax
add ebx, 4
jmp 0x4279f1
call dword [esi + 0x27aa0]
popal
jmp 0x419500
Function at 0x401110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56cda3
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test edi, edi
mov dword [esp + 0x38], 1
je 0x4011ba
test ebp, ebp
je 0x4011ba
lea ecx, [ebp + 2]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx*4 + 1]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push ebp
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov ecx, eax
mov eax, edi
call section..text
add esp, 4
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
jmp 0x4011c7
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00569ed6
add esp, 0x34
ret
Function at 0x401270
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 8]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x40128a
pop esi
add esp, 0x10
ret
push edi
push 1
push esi
call dword [sym.imp.MSVCR80.dll_calloc]
mov edi, eax
add esp, 8
test edi, edi
je 0x401329
mov ecx, dword [esp + 0xc]
push edi
push esi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40131f
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0x58bffc
push edi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40131f
cmp dword [esp + 8], 0
je 0x40131f
push 0x10
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x401329
mov eax, dword [esp + 8]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
mov dword [esi + 8], ecx
lea ecx, [esp + 0x14]
push ecx
lea eax, [esi + 0xc]
push eax
push 0x58bff8
push edi
mov dword [esi + 4], edx
mov dword [esi], edi
mov dword [eax], 0
call sub.VERSION.dll_VerQueryValueW
pop edi
mov eax, esi
pop esi
add esp, 0x10
ret
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x401380
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x228
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x224], eax
movzx ecx, word [edi + 4]
mov eax, dword [esp + 0x22c]
mov dx, word [edi + 8]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [esp + 0xc], eax
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
call esi
movzx ecx, word [edi + 4]
mov word [esp + 0x18], ax
mov ax, word [edi + 8]
mov ebp, 0x4e4
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], cx
mov word [esp + 0x1e], bp
call esi
mov word [esp + 0x22], bp
mov ebp, dword [sym.imp.MSVCR80.dll__snwprintf_s]
mov word [esp + 0x20], ax
xor esi, esi
movzx eax, word [esp + esi*2 + 0x14]
movzx ecx, word [esp + esi*2 + 0x16]
add esi, 1
push ebx
movzx edx, cx
push edx
movzx eax, ax
push eax
push 0x58c06c
push 0x104
lea ecx, [esp + 0x38]
push 0x104
push ecx
add esi, 1
call ebp
add esp, 0x1c
lea edx, [esp + 0x10]
push edx
mov edx, dword [edi]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40144d
mov eax, dword [esp + 8]
test eax, eax
jne 0x40146d
cmp esi, 8
jb 0x4013f0
xor al, al
mov ecx, dword [esp + 0x22c]
pop esi
pop ebp
xor ecx, esp
call fcn.00569ed6
add esp, 0x228
ret 4
mov ecx, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const__]
mov al, 1
jmp 0x401454
Function at 0x406460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56f518
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
cmp dword [esi], eax
mov dword [esp + 8], eax
jne 0x4064b7
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0xc], eax
mov dword [ebx], vtable.CBufferT_int_.0
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x64
ret 4
mov ecx, vtable.CBufferT_int_.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x70]
push eax
lea eax, [esp + 0x10]
call fcn.00406cd0
push ebx
push esi
lea eax, [esp + 0x14]
call fcn.00406ac0
lea esi, [esp + 0xc]
call fcn.004066e0
mov eax, ebx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x64
ret 4
Function at 0x40b4f0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x148
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x144], eax
push ebp
push edi
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40b53c
xor al, al
jmp 0x40b55c
lea ecx, [esp + 8]
push ecx
push edi
mov dword [esp + 0x10], 0
call eax
test eax, eax
jne 0x40b554
xor al, al
jmp 0x40b55c
cmp dword [esp + 8], 0
setne al
push pe_nt_image_headers32
lea edx, [esp + 0x38]
push 0
push edx
mov byte [esi + 0x20], al
mov dword [esp + 0x3c], 0x11c
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x34]
cmp eax, 5
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x40b5b3
test ecx, ecx
jle 0x40b5e2
xor eax, eax
cmp ecx, 1
setne al
add eax, 1
mov dword [esi], eax
jmp 0x40b5e2
cmp eax, 6
jne 0x40b5da
sub ecx, 0
je 0x40b5d2
sub ecx, 1
je 0x40b5ca
mov dword [esi], 5
jmp 0x40b5e2
mov dword [esi], 4
jmp 0x40b5e2
mov dword [esi], 3
jmp 0x40b5e2
jle 0x40b5e2
mov dword [esi], 6
movzx ecx, word [esp + 0x144]
movzx edx, word [esp + 0x146]
xor eax, eax
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
pop ebp
jne 0x40b648
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x40b64f
lea ecx, [esp + 4]
push ecx
call eax
movzx eax, word [esp + 4]
test eax, eax
je 0x40b6ac
cmp eax, 6
je 0x40b687
mov edx, dword [esp + 0x18]
cmp eax, 9
mov dword [esi + 0x1c], edx
mov eax, esi
jne 0x40b6bc
mov dword [esi + 0x18], 1
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00569ed6
add esp, 0x148
ret
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], 2
mov eax, esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00569ed6
add esp, 0x148
ret
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], ecx
mov eax, esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00569ed6
add esp, 0x148
ret

Function at 0x40b6e0
Capabilities:
Read .ini file

Disassembly:
cmp dword [eax + 0x18], 8
jb 0x40b6fa
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
ret 4
add eax, 4
push eax
mov eax, dword [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
ret 4
Function at 0x40b710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x56c173
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x82c]
xor ebx, ebx
mov dword [esp + 0x824], ebx
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x7fe
lea eax, [esp + 0x1e]
mov dword [esp + 0x828], ebx
push ebx
push eax
mov dword [esp + 0x1c], 1
mov word [esp + 0x24], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x40b79e
mov edi, dword [edi + 4]
jmp 0x40b7a1
add edi, 4
push edi
push 0x400
lea ecx, [esp + 0x20]
push ecx
push 0x58c320
push ebp
push str.custominfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00569ed6
add esp, 0x818
ret 4
Function at 0x40b870
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x56f3e2
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
push 0x58d0dc
lea ecx, [esp + 0x24]
xor ebp, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x2a8], ebp
call fcn.0040bb70
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
call fcn.0040baa0
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
cmp edi, ecx
je 0x40b946
mov eax, dword [edi + 0x10]
push eax
push 0
mov ebp, 1
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40b92a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b930
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
cmp edi, ecx
jne 0x40b942
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov edi, dword [edi]
jmp 0x40b900
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
mov dword [esp + 0x1c], 0
je 0x40b976
mov esi, dword [eax]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x40b961
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x3c], vtable.kbase::NamedProcessIterator.0
lea ecx, [esp + 0x278]
mov dword [esp + 0x2a0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x40], vtable.kbase::ProcessIterator.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.00569ed6
add esp, 0x290
ret