joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f650
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401db8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404e78
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00404ed8
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x40f805
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x40f726
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f28
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x40f805
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x40498c
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.00404f88
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x40f805
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x40f7a3
mov dword [ebp - 0x8c], 0
jmp 0x40f7af
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x40f7e6
mov dword [ebp - 0x90], 0
jmp 0x40f7f2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x40f6f4
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404cf8
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x40f82d
jmp 0x40f82c
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x403e59
pop dword [ebp - 0x4c]
mov eax, 0x403e59
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xe0c03349
add dword [ebp - 0x5c], 0x6d921202
mov dword [ebp - 0x58], 0x5aa43f69
add dword [ebp - 0x58], 0xd78f0cdc
mov dword [ebp - 0x54], 0xf3fd9230
add dword [ebp - 0x54], 0x584eb1fe
mov dword [ebp - 0x50], 0x930391f6
add dword [ebp - 0x50], 0x6cfc6e0a
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x80e9081a
sub eax, 0x80a8878e
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xd48598f
add dword [ebp - 0x5c], 0x672a0fc7
mov dword [ebp - 0x58], 0xe75568e4
sub dword [ebp - 0x58], 0xa5e9076f
mov dword [ebp - 0x54], 0xc5cb2add
add dword [ebp - 0x54], 0x9da4418f
mov dword [ebp - 0x50], 0xfa9880ed
sub dword [ebp - 0x50], 0xfa9880ed
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x824e60ab
add eax, 0x7df22029
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x374d9
push 0
call eax
mov ecx, 0x4a39
xor edx, edx
add edx, eax
mov ebx, 0x49081932
add ebx, 0xb738f6ce
add ebx, dword [ebp - 0x4c]
mov esi, 0xec22ea5a
add esi, 0x3b17aab
mov edi, dword [ebx]
add dword [ebp - 0x3c], 0xf5e8ab73
xor edi, esi
xor dword [ebp - 0xc], ecx
mov dword [edx], edi
mov dword [ebp - 0x2c], 0x2e729491
add edx, 0x8c756742
add edx, 0x738a98c2
add ebx, 0x7de741e5
sub ebx, 0x7de741e1
loop 0x403f72
add eax, 0xcf9dde4e
add eax, 0x30633d69
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x100010b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
add edx, 0x78
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x20]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
jmp 0x10001139
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x24]
jae 0x100011bc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx*4], 0
jne 0x1000114f
jmp 0x10001130
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
jmp 0x1000116d
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x28]
jae 0x100011b7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax*2]
cmp edx, dword [ebp - 4]
jne 0x100011b5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.10001060
add esp, 8
test eax, eax
jne 0x100011b5
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp + 0xc]
jmp 0x100011be
jmp 0x10001164
jmp 0x10001130
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001240
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
call dword [sym.imp.librdkafka.dll_rd_kafka_conf_new]
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x100085c8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_conf_set]
add esp, 0x14
test eax, eax
jne 0x1000129f
push 0x100
lea eax, [ebp - 0x10c]
push eax
push str.librdkafka_transactions_example
push str.transactional.id
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_conf_set]
add esp, 0x14
test eax, eax
je 0x100012fd
push 0x10008610
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
lea edx, [ebp - 0x10c]
push edx
push str.Failed_to_configure_producer:__s
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0xc
push 0x10008644
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor eax, eax
jne 0x1000129f
push 0x10001200
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_conf_set_dr_msg_cb]
add esp, 8
push 0x100
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.librdkafka.dll_rd_kafka_new]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000139e
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_conf_destroy]
add esp, 4
push 0x10008648
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
lea edx, [ebp - 0x10c]
push edx
push str.Failed_to_create_producer:__s
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0xc
push 0x10008678
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor eax, eax
jne 0x10001340
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_init_transactions]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001409
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_string]
add esp, 4
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_error_name]
add esp, 4
push eax
push str.init_transactions__
push 0x10008690
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_destroy]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
jne 0x100013b6
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10001600
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.Aborting_transaction_and_rewinding_offsets_n
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 8
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_abort_transaction]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001688
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_string]
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_name]
add esp, 4
push eax
push 0x1000878c
push 0x100087a8
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_error_destroy]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
jne 0x10001635
mov edx, dword [ebp + 8]
push edx
call fcn.10001410
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_begin_transaction]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100016fd
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_string]
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_name]
add esp, 4
push eax
push 0x100087c4
push 0x100087e0
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_error_destroy]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
jne 0x100016aa
mov esp, ebp
pop ebp
ret
Function at 0x10001b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10001710
add esp, 8
test eax, eax
jne 0x10001b54
mov edx, dword [ebp + 8]
push edx
call fcn.10001410
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_begin_transaction]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001bbd
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_string]
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.librdkafka.dll_rd_kafka_error_name]
add esp, 4
push eax
push str.Failed_to_begin_new_transaction
push 0x10008a64
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005740
add esp, 0x14
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.librdkafka.dll_rd_kafka_error_destroy]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor ecx, ecx
jne 0x10001b6a
mov esp, ebp
pop ebp
ret
Function at 0x100026d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x10008200
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x10], eax
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
push 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.10001010
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx]
sub edx, 5
shr edx, 1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ecx], edx
push 0x14
mov edx, dword [ebp - 4]
add edx, 0x18
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10001010
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call fcn.10005a2b
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov dword [ebp - 8], 0
jmp 0x100027b3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jge 0x100027fb
cmp dword [ebp - 8], 0x2c
jne 0x100027c8
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
movzx eax, byte [ebp + edx - 0x30]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x14
jl 0x100027f9
mov dword [ebp - 0xc], 0
jmp 0x100027aa
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [eax]
sub ecx, 0x2c
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call fcn.10001010
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x100028a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [str.hpock.png]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x10008208]
mov dword [ebp - 0x30], edx
mov ax, word [0x1000820c]
mov word [ebp - 0x2c], ax
push 0x104
lea ecx, [ebp - 0x240]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x240]
push edx
call fcn.10002840
add esp, 4
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
push 0x10008210
lea edx, [ebp - 0x13c]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 8
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 8
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.100026d0
add esp, 0xc
call fcn.100051e0
mov dword [0x1000b098], eax
mov dword [0x1000b09c], edx
mov byte [ebp - 0x18], 0x4e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x15], 0x72
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x69
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x4d
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x6d
mov byte [ebp - 5], 0x6f
mov byte [ebp - 4], 0x72
mov byte [ebp - 3], 0x79
mov byte [ebp - 2], 0
push 0x17
lea edx, [ebp - 0x18]
push edx
push 0x1000b0a4
call fcn.10001010
add esp, 0xc
mov eax, dword [0x1000b09c]
push eax
mov ecx, dword [0x1000b098]
push ecx
push 0x1000b0a4
call fcn.100010b0
add esp, 0xc
mov dword [0x1000b0a0], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
lea eax, [ebp - 0x38]
push eax
push 0x40
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 0xffffffffffffffff
call dword [0x1000b0a0]
call dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x10004190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.100042e0
add esp, 8
push eax
lea ecx, [ebp - 8]
call fcn.10003740
lea ecx, [ebp - 0xc]
call fcn.10005000
mov dword [ebp - 0x10], 0x10004140
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
lea ecx, [ebp - 8]
call fcn.100055c0
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x100041fb
lea ecx, [ebp - 8]
call fcn.10005640
jmp 0x1000420c
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
lea ecx, [ebp - 8]
call fcn.10005000
mov esp, ebp
pop ebp
ret 4

Function at 0x100051e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
ret
Function at 0x41647e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408cc5
mov dword [ebp - 0x14], eax
cmp dword [0x4561f4], esi
jne 0x416571
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4164fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416651
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416651
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416651
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4561f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4561f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4561fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456204], eax
test eax, eax
je 0x41656e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x456200], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416596
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416589
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4165ab
push 4
pop eax
jmp 0x416653
cmp dword [ebp - 0x14], esi
je 0x4165ab
push dword [0x4561f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416590
mov eax, dword [0x456200]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416609
cmp dword [0x456204], edi
je 0x416609
push eax
call ebx
push dword [0x456204]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416609
test eax, eax
je 0x416609
call ecx
test eax, eax
je 0x4165fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4165fe
test byte [ebp - 8], 1
jne 0x416609
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416639
mov eax, dword [0x4561f8]
cmp eax, edi
je 0x416636
push eax
call ebx
test eax, eax
je 0x416636
call eax
mov esi, eax
test esi, esi
je 0x416636
mov eax, dword [0x4561fc]
cmp eax, edi
je 0x416636
push eax
call ebx
test eax, eax
je 0x416636
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4561f4]
call ebx
test eax, eax
je 0x416651
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416653
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e92
mov esp, ebp
pop ebp
ret