joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5eae30
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6875f6
mov eax, dword fs:[0]
push eax
mov eax, 0x10044
call fcn.00612d80
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x10050], eax
push 0
lea eax, [ebp - 0x10014]
mov dword [ebp - 0x10014], 0
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x5eafbf
cmp dword [ebp - 0x10014], 0
jne 0x5eaede
push 0x64
inc esi
call ebx
cmp esi, 0x96
jl 0x5eae76
cmp dword [ebp - 0x10014], 0
jne 0x5eaede
push str.IPC_Client_:_Server_didnt_connect_to_the_client
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x14
jmp 0x5eafe2
push 0
lea eax, [ebp - 0x10018]
mov dword [ebp - 0x10018], 0
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5eafb1
mov eax, dword [ebp - 0x10018]
and eax, 0xfffffffe
cmp eax, 0x10000
jae 0x5eb000
xor ecx, ecx
mov word [ebp + eax - 0x10010], cx
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10030]
call fcn.00466870
cmp dword [ebp - 0x1001c], 8
lea ecx, [ebp - 0x10030]
mov eax, dword [ebp - 0x10020]
lea edx, [ebp - 0x10030]
cmovae ecx, dword [ebp - 0x10030]
cmovae edx, dword [ebp - 0x10030]
mov dword [ebp - 4], 0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x10049]
push ecx
push eax
push edx
lea ecx, [ebp - 0x10048]
call fcn.005e9300
mov ecx, dword [ebp - 0x10050]
lea eax, [ebp - 0x10048]
push eax
mov byte [ebp - 4], 1
call fcn.0045de40
lea ecx, [ebp - 0x10048]
call fcn.00440270
lea ecx, [ebp - 0x10030]
call fcn.00440180
mov al, 1
jmp 0x5eafe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Client_:_Failed_to_read_data_from_the_pipe.__d
jmp 0x5eafcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Client_:_Failed_to_read_data_from_the_pipe__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
call fcn.0061338b
int3
Function at 0x5eb010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x687628
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp + 0x20], 0x10
lea edx, [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
lea edi, [ebp + 0xc]
cmovae edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
add ebx, edx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x18], 0
cmovae edi, dword [ebp + 0xc]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, ebx
sub eax, edi
mov dword [ebp - 0x14], 7
push eax
call fcn.00449100
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push ebx
push edi
call fcn.00455630
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovae edx, dword [ebp - 0x28]
mov eax, edx
lea esi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5eb0b0
sub eax, esi
lea ecx, [ebp - 0x2c]
push 0
sar eax, 1
push ecx
add eax, eax
push eax
push edx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5eb0fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_send_data.__d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x18
xor bl, bl
jmp 0x5eb0ff
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5eb135
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5eb12b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5eb197
push edx
push ecx
call fcn.006129d7
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x5eb179
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5eb16f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5eb197
push edx
push ecx
call fcn.006129d7
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
call fcn.006321a4
int3
Function at 0x5f62b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689127
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x75e7a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x5f6305
mov dword [ebx], 0x6fcb78
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 0x10]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 0xc], esi
call fcn.00474700
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.006129a7
mov esi, eax
add esp, 4
test esi, esi
je 0x5f6362
push 1
mov byte [ebp - 4], 2
call fcn.00614e44
add esp, 4
mov dword [esi + 4], eax
jmp 0x5f6364
xor esi, esi
lea eax, [ebx + 0x10]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov esi, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [edi], 0
not ecx
mov dword [edx], 0
and ecx, 2
mov eax, ebx
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov edx, ecx
mov dword [esi + 0x38], 0
or edx, 8
and al, 8
cmove edx, ecx
mov eax, edx
or eax, 0x10
and bl, 4
cmove eax, edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x609061
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x60909a
cmp dword [ebp + 0x10], 0
je 0x60909a
cmp dword [ebp + 0x14], 0
je 0x60909a
cmp dword [ebp + 0x18], 0
je 0x60909a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_domain_data_WHERE_domain___d_AND_subdomain___q_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.0060f8bd
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x60909f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x6090cf
cmp dword [ebp + 0x10], 0
je 0x6090cf
cmp dword [ebp + 0x14], 0
je 0x6090cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_key_FROM_domain_data_WHERE_domain___d_AND_subdomain___q
push dword [ebp + 0x14]
push dword [eax]
call fcn.0060f6ed
add esp, 0x14
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x6090d4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x6090fb
cmp dword [ebp + 0x10], 0
je 0x6090fb
push dword [ebp + 0xc]
push str.SELECT_DISTINCT_subdomain_FROM_domain_data_WHERE_domain___d
push dword [ebp + 0x10]
push dword [eax]
call fcn.0060f6ed
add esp, 0x10
pop ebp
ret
push 0xa
pop eax
pop ebp
ret

Function at 0x609dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a7ee
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x75e7a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x40]
mov byte [ebp - 4], 1
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006129a7
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006129a7
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x50], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xffffffff
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 0x60f377
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x679368
call fcn.00613f15
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x30]
push eax
lea esi, [edi + 0x18]
push esi
call fcn.0060fce1
add esp, 0xc
test al, al
jne 0x60f3b7
push 0xa
pop esi
jmp 0x60f500
lea eax, [ebp - 0x28]
push eax
call fcn.0060fc47
pop ecx
test al, al
jne 0x60f3ec
lea eax, [ebp - 0x28]
push eax
call fcn.0060fddb
pop ecx
test al, al
je 0x60f3db
xor esi, esi
inc esi
jmp 0x60f500
push esi
call fcn.0060f1df
mov esi, eax
pop ecx
test esi, esi
jne 0x60f500
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
push dword [ebp + 8]
cmovae eax, dword [ebp - 0x28]
lea esi, [edi + 4]
push esi
push eax
call fcn.004c7660
add esp, 0x10
test eax, eax
je 0x60f41c
push eax
mov dword [esi], ebx
call fcn.0060f259
pop ecx
mov esi, eax
jmp 0x60f500
push 0x7d0
push dword [esi]
call fcn.004c4010
cmp byte [edi + 0x4c], 0
mov esi, ebx
pop ecx
pop ecx
mov dword [edi], ebx
je 0x60f500
mov eax, dword [edi + 0x50]
mov ecx, ebx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ebx
sub eax, ebx
je 0x60f460
sub eax, 1
je 0x60f45b
sub eax, 1
jne 0x60f460
xor ecx, ecx
inc ecx
mov dword [ebp - 0x30], ecx
push 3
jmp 0x60f462
xor ebx, ebx
inc ebx
jmp 0x60f463
push 2
pop ebx
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
push eax
push edi
call fcn.0060f8bd
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, eax
test esi, esi
jne 0x60f4b9
push dword [ebp - 0x2c]
call fcn.0063d0af
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push edi
call fcn.0060f8bd
mov ecx, dword [ebp - 0x34]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x60f4b6
push dword [ebp - 0x2c]
call fcn.0063d0af
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
cmp ebx, ecx
jge 0x60f4c2
push 0xd
pop esi
jmp 0x60f4f7
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jg 0x60f4f3
push eax
mov ecx, edi
call fcn.0060f515
mov esi, eax
test esi, esi
jne 0x60f4e8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jle 0x60f4cd
jmp 0x60f4fe
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp eax, dword [ebp - 0x2c]
cmove esi, ecx
test esi, esi
je 0x60f4fe
mov ecx, edi
call fcn.0060f349
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004405c0
mov eax, esi
call fcn.00613ed0
ret 4
Function at 0x60fa1c
Capabilities:
Create directory

Disassembly:
push 0x1c
mov eax, 0x673338
call fcn.00613f15
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 4
pop edi
push esi
push eax
call fcn.0061233d
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
call fcn.0060fddb
add esp, 0xc
test al, al
jne 0x60fa64
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
neg eax
sbb eax, eax
and edi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00440320
mov eax, edi
call fcn.00613ed0
ret

Function at 0x60fa77
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x240
mov eax, 0x68aecb
call fcn.00613f15
mov esi, dword [ebp + 8]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
mov bl, cl
mov dword [ebp - 0x220], ecx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x2b
push ecx
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
lea eax, [ebp - 0x218]
push eax
js 0x60fb1c
push dword [ebp - 0x24c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x60fb0c
cmp word [ebp - 0x218], 0
jne 0x60faea
xor eax, eax
jmp 0x60faf7
lea eax, [ebp - 0x218]
push eax
call fcn.0063fd72
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004403b0
mov bl, 1
push dword [ebp - 0x24c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
jmp 0x60fb5c
xor edi, edi
push edi
push edi
push 0x2b
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x60fb5c
cmp word [ebp - 0x218], di
jne 0x60fb3a
mov eax, edi
jmp 0x60fb47
lea eax, [ebp - 0x218]
push eax
call fcn.0063fd72
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004403b0
mov bl, 1
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x60fbd2
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x5c
jne 0x60fb92
lea eax, [ecx - 1]
push edi
push eax
lea ecx, [ebp - 0x230]
call fcn.0060ff86
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.006123f0
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00456df0
push edi
push 1
lea ecx, [ebp - 0x248]
call fcn.004405c0
mov edi, str.Adobe
push edi
call fcn.00644f50
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00446c40
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00440320
mov al, bl
call fcn.00613ed0
ret
Function at 0x60fbe9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0061233d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x60fc28
test al, 0x10
jbe 0x60fc28
mov bl, 1
jmp 0x60fc2a
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00440320
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00612996
mov esp, ebp
pop ebp
ret

Function at 0x60fddb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0061233d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
pop ecx
cmovae eax, dword [ebp - 0x1c]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea ecx, [ebp - 0x1c]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00440320
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00612996
mov esp, ebp
pop ebp
ret
Function at 0x611ae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
pop ebp
ret

Function at 0x61311c
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x735180
call fcn.0082d000
push 1
call fcn.00612b9e
pop ecx
test al, al
je 0x61323e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00612b6c
mov byte [ebp - 0x24], al
mov eax, dword [0x76895c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x61323e
test eax, eax
jne 0x61315c
mov dword [0x76895c], ecx
push 0x6aba90
push 0x6aba68
call fcn.00647cfc
pop ecx
pop ecx
test eax, eax
je 0x61313f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x61322e
push 0x6aba64
push 0x6aa5f0
call fcn.00647cb7
pop ecx
pop ecx
mov dword [0x76895c], 2
jmp 0x613161
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00612cf2
pop ecx
call fcn.00614436
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x613192
push esi
call fcn.00612c5e
pop ecx
test al, al
je 0x613192
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x6aa5ec]
call esi
call fcn.0061443c
mov esi, eax
cmp dword [esi], edi
je 0x6131b0
push esi
call fcn.00612c5e
pop ecx
test al, al
je 0x6131b0
push dword [esi]
call fcn.006438dc
pop ecx
call fcn.0064775c
mov edi, eax
call fcn.00647d4f
mov esi, dword [eax]
call fcn.00647d49
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.0061429f
test al, al
je 0x613245
test bl, bl
jne 0x6131e3
call fcn.006438b7
push 0
push 1
call fcn.00612d0f
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x61322e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00614185
push esi
call fcn.00643902
push dword [ebp - 0x20]
call fcn.006438c6
int3
call fcn.0061439b
jmp 0x6130d2
Function at 0x64ca3e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0064c8b4

Function at 0x653a44
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00653597

Function at 0x65a3bb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e004]
jne 0x401010
repz ret
jmp fcn.004018fa

Function at 0x408a47
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.00405b5c
and dword [ebp - 4], 0
cmp dword [0x4308c0], 0
mov ebx, eax
jne 0x408af8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408ba9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408ba9
push eax
call fcn.00405aea
mov dword [esp], 0x42ba54
push edi
mov dword [0x4308c0], eax
call esi
push eax
call fcn.00405aea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4308c4], eax
call esi
push eax
call fcn.00405aea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4308c8], eax
call esi
push eax
call fcn.00405aea
pop ecx
mov dword [0x4308d0], eax
test eax, eax
je 0x408af8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405aea
pop ecx
mov dword [0x4308cc], eax
mov eax, dword [0x4308cc]
cmp eax, ebx
je 0x408b50
cmp dword [0x4308d0], ebx
je 0x408b50
push eax
call fcn.00405b65
push dword [0x4308d0]
mov esi, eax
call fcn.00405b65
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408b50
test edi, edi
je 0x408b50
call esi
test eax, eax
je 0x408b47
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408b47
test byte [ebp - 0xc], 1
jne 0x408b50
or dword [ebp + 0x10], 0x200000
jmp 0x408b89
mov eax, dword [0x4308c4]
cmp eax, ebx
je 0x408b89
push eax
call fcn.00405b65
pop ecx
test eax, eax
je 0x408b89
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408b89
mov eax, dword [0x4308c8]
cmp eax, ebx
je 0x408b89
push eax
call fcn.00405b65
pop ecx
test eax, eax
je 0x408b89
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4308c0]
call fcn.00405b65
pop ecx
test eax, eax
je 0x408ba9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408bab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012c8
Capabilities:
Encode data using xor

Disassembly:
push 0x462410
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
loopne entry0
xor eax, 0xd0416665
dec ebx
xchg edi, eax
mov ecx, 0x7fe47d39
cmp byte [esi], 0
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
and al, byte [ecx + 0x55]
inc edi
dec eax
push 0x6e616e55
popal
add byte [ebp + 0x6e], ah
add byte [eax], al
add byte [eax], al
dec esp
xor dword [eax], eax
add esi, esp
scasb al, byte es:[edi]
adc ch, byte [esi]
inc ebx
sub eax, eax
inc ebp
cmpsb byte [esi], byte es:[edi]
xlatb
fadd dword [edx - 0x2de9bc4b]
jnp 0x401377
mov gs, word [ebp + 0x474e27ea]
lodsb al, byte [esi]
ljmp 0x695a
imul esp, dword [ebp], 0xd
add dword [0x47554100], eax
dec eax
push 0x11900
inc edx
add byte [edx], ah
add dword [ebx], esp
sub byte ss:[eax], al
add byte [esp + esi*2], ch
add byte [esi], ch
sub byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax + eax], al
add al, byte fs:[eax]
add dword [eax], eax
add dword [eax], eax
mov al, 0xc
add byte [eax], al
inc esi
add byte [eax], al
add byte [eax], bl
sbb byte [eax], dl
add byte [ecx], al
add byte [eax + eax], al
call 0xf64013bc
or al, 0
add byte [eax], ah
and byte [eax], al
add byte [ecx], al
add byte [eax], cl
add byte [eax - 0x21fffff8], ch
push cs
add byte [eax], al
and byte [eax], ah
add byte [eax], al
add dword [eax], eax
and byte [eax], al
test al, 0x10
add byte [eax], al
xchg byte [edi], dl
add byte [eax], al
sub byte [eax], al
add byte [eax], al
add byte fs:[eax], al
add al, cl
add byte [eax], al
add byte [ecx], al
add byte [ecx], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0xc], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
invalid