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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov byte [edi + 8], 4
or dword [edi + 8], 0x100
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x772400
sub esi, ecx
mov eax, SysReAllocString
cmp esi, 0x7fffffff
cmovae esi, eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x77244a
push str.in_Json::Value::duplicateStringValue__:_Failed_to_allocate_string_value_buffer
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
push dword [ebp + 8]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov dword [edi], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x772990
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jns 0x7729ba
push str.in_Json::Value::operator___int_index_:_index_cannot_be_negative
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.007729d0

Function at 0x772b50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
test eax, eax
jns 0x772b7d
push str.in_Json::Value::operator___int_index__const:_index_cannot_be_negative
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp byte [ecx + 8], 6
je 0x772b8e
mov eax, dword [0x83e928]
mov esp, ebp
pop ebp
ret 4
push esi
mov esi, dword [ecx]
mov ecx, esi
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 8], 0
push eax
call fcn.00773b80
mov eax, dword [eax]
cmp eax, dword [esi]
pop esi
je 0x772b83
add eax, 0x18
mov esp, ebp
pop ebp
ret 4

Function at 0x773400
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x77340c.0
jmp dword [eax*4 + 0x773494]
mov eax, dword [esi]
mov edx, dword [esi + 4]
pop esi
ret
call fcn.00773f00
test al, al
jne case.0x77340c.1
push str.LargestUInt_out_of_Int64_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, SysReAllocString
xor ecx, ecx
call fcn.00790b00
movsd xmm1, qword [esi]
comisd xmm1, xmm0
jb 0x773479
mov edx, SysReAllocString
or ecx, 0xffffffff
call fcn.00790b00
movsd xmm1, qword [esi]
comisd xmm0, xmm1
jb 0x773479
movaps xmm0, xmm1
pop esi
jmp fcn.007909af
push str.double_out_of_Int64_range
jmp 0x773428
xor eax, eax
cmp byte [esi], al
pop esi
setne al
xor edx, edx
ret
xor eax, eax
xor edx, edx
pop esi
ret
Function at 0x7734b0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x7734bc.0
jmp dword [eax*4 + 0x773538]
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestInt_out_of_Int_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi]
pop esi
ret
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestUInt_out_of_Int_range
jmp 0x7734d1
movsd xmm1, qword [esi]
comisd xmm1, xmmword [0x7cd0c0]
jb 0x773522
movsd xmm0, qword [0x7e36c0]
comisd xmm0, xmm1
jb 0x773522
cvttsd2si eax, xmm1
pop esi
ret
push str.double_out_of_Int_range
jmp 0x7734d1
xor eax, eax
cmp byte [esi], al
pop esi
setne al
ret
xor eax, eax
pop esi
ret

Function at 0x7734c3
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x7734bc.0
jmp dword [eax*4 + 0x773538]
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestInt_out_of_Int_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi]
pop esi
ret
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestUInt_out_of_Int_range
jmp 0x7734d1
movsd xmm1, qword [esi]
comisd xmm1, xmmword [0x7cd0c0]
jb 0x773522
movsd xmm0, qword [0x7e36c0]
comisd xmm0, xmm1
jb 0x773522
cvttsd2si eax, xmm1
pop esi
ret
push str.double_out_of_Int_range
jmp 0x7734d1
xor eax, eax
cmp byte [esi], al
pop esi
setne al
ret
xor eax, eax
pop esi
ret

Function at 0x7734f0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x7734bc.0
jmp dword [eax*4 + 0x773538]
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestInt_out_of_Int_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi]
pop esi
ret
call fcn.00773f60
test al, al
jne 0x7734ec
push str.LargestUInt_out_of_Int_range
jmp 0x7734d1
movsd xmm1, qword [esi]
comisd xmm1, xmmword [0x7cd0c0]
jb 0x773522
movsd xmm0, qword [0x7e36c0]
comisd xmm0, xmm1
jb 0x773522
cvttsd2si eax, xmm1
pop esi
ret
push str.double_out_of_Int_range
jmp 0x7734d1
xor eax, eax
cmp byte [esi], al
pop esi
setne al
ret
xor eax, eax
pop esi
ret
Function at 0x773550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x773566.0
jmp dword [eax*4 + 0x773604]
mov eax, dword [esi]
mov edx, dword [esi + 4]
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00773f00
test al, al
jne case.0x773566.1
push str.LargestUInt_out_of_Int64_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov edx, SysReAllocString
xor ecx, ecx
call fcn.00790b00
movsd xmm1, qword [esi]
comisd xmm1, xmm0
jb 0x7735da
mov edx, SysReAllocString
or ecx, 0xffffffff
call fcn.00790b00
movsd xmm1, qword [esi]
comisd xmm0, xmm1
jb 0x7735da
movaps xmm0, xmm1
call fcn.007909af
pop esi
mov esp, ebp
pop ebp
ret
push str.double_out_of_Int64_range
jmp 0x773585
xor eax, eax
cmp byte [esi], al
pop esi
setne al
xor edx, edx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x773620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
movsx eax, byte [esi + 8]
cmp eax, 5
ja case.0x773632.0
jmp dword [eax*4 + 0x7736c4]
call fcn.007740d0
test al, al
jne case.0x773632.2
push str.LargestInt_out_of_UInt64_range
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esi]
mov edx, dword [esi + 4]
pop esi
mov esp, ebp
pop ebp
ret
movsd xmm0, qword [esi]
comisd xmm0, xmmword [0x7e35c0]
jb 0x77369c
or edx, 0xffffffff
or ecx, 0xffffffff
call fcn.00790ac0
movsd xmm1, qword [esi]
comisd xmm0, xmm1
jb 0x77369c
movaps xmm0, xmm1
call fcn.007909a0
pop esi
mov esp, ebp
pop ebp
ret
push str.double_out_of_UInt64_range
jmp 0x773647
xor eax, eax
cmp byte [esi], al
pop esi
setne al
xor edx, edx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x7739d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 0xffffffff
jne 0x7739ec
mov esi, dword [ebp + 8]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x7739e3
sub esi, ecx
mov eax, SysReAllocString
cmp esi, 0x7fffffff
cmovae esi, eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x773a2d
push str.in_Json::Value::duplicateStringValue__:_Failed_to_allocate_string_value_buffer
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push esi
push dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x774a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [eax]
test eax, eax
je 0x774a29
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov al, byte [ebx]
test al, al
je 0x774a59
cmp al, 0x2f
je 0x774a59
push str.in_Json::Value::setComment__:_Comments_must_start_with__
push 0x29a
push 0x29a
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
push 0x7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, ebx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x774a60
sub esi, ecx
mov eax, SysReAllocString
cmp esi, 0x7fffffff
cmovae esi, eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x774a91
push str.in_Json::Value::duplicateStringValue__:_Failed_to_allocate_string_value_buffer
jmp 0x774a3e
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
mov byte [edi + esi], 0
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x77aae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bf150
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x831184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.7v.0
mov dword [esi + 4], vtable.7v.1.0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x77ab44
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x77ab55
push 0x48
push esi
call fcn.0076e8f3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40198a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
jne 0x401a39
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5b
je 0x401a22
cmp dword [ebp - 0x10], 0x5c
je 0x401a22
cmp dword [ebp - 0x10], 9
je 0x401a22
cmp dword [ebp - 0x10], 0x1b
je 0x401a22
cmp dword [ebp - 0x10], 0x11
je 0x401a22
cmp dword [ebp - 0x10], 0x12
je 0x401a22
cmp dword [ebp - 0x10], 0x73
je 0x401a22
mov dword [esp], 0x12
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
js 0x401a22
mov dword [esp], 0x11
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
js 0x401a22
mov dword [esp], 0x10
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
js 0x401a22
mov dword [esp], 0x73
call sym._GetAsyncKeyState_4
sub esp, 4
test ax, ax
jns 0x401a29
mov eax, 1
jmp 0x401a2e
mov eax, 0
test al, al
je 0x401a39
mov eax, 1
jmp 0x401a5e
mov eax, dword [0x408020]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._CallNextHookEx_16
sub esp, 0x10
leave
ret 0xc
Function at 0x4023d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4080a4
call sym._EnterCriticalSection_4
mov ebx, dword [0x40809c]
sub esp, 4
test ebx, ebx
je 0x40241b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402414
test esi, esi
je 0x402414
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4023f0
mov dword [esp], 0x4080a4
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402600
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402728
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40268e
cmp eax, 4
jne 0x4026b0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40269e
cmp edx, 4
je 0x40269e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402600
Function at 0x4044a0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call sym.___main
call sym._GetCommandLineA_0
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sym._GetStartupInfoA_4
sub esp, 4
test ebx, ebx
jne 0x4044d6
jmp 0x40450e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x4044d3
cmp al, 9
je 0x4044d3
cmp al, 0x22
jne 0x4044f7
jmp 0x404556
cmp al, 9
je 0x404503
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x4044f0
jmp 0x404503
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404500
cmp al, 9
je 0x404500
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40451d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x404562
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x404552
cmp al, 0x22
jne 0x404503
lea ebx, [edx + 2]
jmp 0x404503
Function at 0x40104d
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x82c234], 0xee
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jne 0x401096
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x43f198]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43f19c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00401046
mov eax, dword [0x43f1a0]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [0x43f1a4]
add ebx, 0x7c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 4], 2
add dword [ebp - 4], 3
mov eax, dword [ebp - 8]
mov ecx, dword [0x82c234]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x20]
cmp ecx, 0xfa9
jne 0x4010fc
mov dword [0x82c230], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x401115
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov eax, dword [ebp - 8]
mov dword [0x44065c], esi
lea ecx, [ebx + eax]
xor edi, ecx
mov ecx, dword [ebp - 4]
shr eax, cl
mov dword [0x82c22c], 0x9150ce2e
add eax, dword [ebp - 0x18]
xor eax, edi
cmp dword [0x82c234], 0x27
mov dword [ebp - 0x10], eax
jne 0x401160
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push esi
push esi
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
cmp dword [0x82c234], 0xc
jne 0x401175
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0x5dc052bb
mov ecx, dword [ebp - 0xc]
mov edx, ecx
shl edx, 4
add edx, dword [ebp - 0x1c]
mov eax, ecx
shr eax, 5
add eax, dword [ebp - 0x24]
add ecx, ebx
xor edx, ecx
xor edx, eax
mov dword [ebp - 0x10], edx
mov dword [0x440658], esi
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
dec dword [ebp - 0x14]
jne 0x4010ce
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x40155d
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x82c234]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x82bd20], eax
ret

Function at 0x401578
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x439234
call fcn.00439140
sub esp, 0x13c
push esi
push edi
xor edi, edi
cmp dword [0x82c234], 0x20a
jne 0x40162f
push edi
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push str.fivobaruhagawitawilo
push edi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
xor eax, eax
push 6
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.004017c7
push edi
push edi
mov dword [ebp - 4], edi
call fcn.00402623
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00402890
fstp st(0)
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.004023f0
fstp st(0)
or dword [ebp - 4], 0xffffffff
add esp, 8
push edi
push 1
call fcn.00401783
xor esi, esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp esi, 0xbcd011
jge 0x40164b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
cmp esi, 0x90ce655
jg 0x40165c
inc esi
cmp esi, 0x703fb522
jl 0x401631
call fcn.00401549
push 0x4401d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x82c234]
mov dword [0x82bd24], eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x82bd20], eax
call fcn.0040155d
mov eax, dword [0x43f274]
mov dword [0x82d624], eax
call fcn.0040121b
xor esi, esi
cmp dword [0x82c234], edi
jbe 0x4016c1
cmp dword [0x82c234], 0x44
jne 0x4016b8
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
inc esi
cmp esi, dword [0x82c234]
jb 0x4016a1
xor esi, esi
mov eax, dword [0x82c234]
add eax, esi
cmp eax, 0x5e
jne 0x4016eb
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapSize]
inc esi
cmp esi, 0x40c893
jl 0x4016c3
call fcn.004011c6
cmp edi, 0x761e
jne 0x401706
call fcn.00401201
inc edi
cmp edi, 0x246ad1
jl 0x4016f9
mov eax, dword [0x82bd20]
mov dword [0x82c228], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x401729
Capabilities:
Get geographical location
Terminate process

Disassembly:
push ecx
cmp dword [0x82c234], 0xc
jne 0x40175f
push esi
push dword [esp + 4]
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call fcn.00402261
push esi
call fcn.004023cd
pop ecx
pop ecx
call fcn.0040258e
pop esi
mov eax, dword [0x43f414]
add eax, 0xb2d3b
mov dword [0x82c234], eax
call fcn.00401578
xor eax, eax
pop ecx
ret 0x10

Function at 0x4030bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e4d4]
jne 0x4030c5
repz ret
jmp fcn.00407b2c

Function at 0x40a7ea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040445e
and dword [ebp - 4], 0
cmp dword [0x4400f4], 0
mov ebx, eax
jne 0x40a89b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a94c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a94c
push eax
call fcn.004043ec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4400f4], eax
call esi
push eax
call fcn.004043ec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4400f8], eax
call esi
push eax
call fcn.004043ec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4400fc], eax
call esi
push eax
call fcn.004043ec
pop ecx
mov dword [0x440104], eax
test eax, eax
je 0x40a89b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004043ec
pop ecx
mov dword [0x440100], eax
mov eax, dword [0x440100]
cmp eax, ebx
je 0x40a8f3
cmp dword [0x440104], ebx
je 0x40a8f3
push eax
call fcn.00404467
push dword [0x440104]
mov esi, eax
call fcn.00404467
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8f3
test edi, edi
je 0x40a8f3
call esi
test eax, eax
je 0x40a8ea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a8ea
test byte [ebp - 0xc], 1
jne 0x40a8f3
or dword [ebp + 0x10], 0x200000
jmp 0x40a92c
mov eax, dword [0x4400f8]
cmp eax, ebx
je 0x40a92c
push eax
call fcn.00404467
pop ecx
test eax, eax
je 0x40a92c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a92c
mov eax, dword [0x4400fc]
cmp eax, ebx
je 0x40a92c
push eax
call fcn.00404467
pop ecx
test eax, eax
je 0x40a92c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4400f4]
call fcn.00404467
pop ecx
test eax, eax
je 0x40a94c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a94e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret