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

Disassembly:
cmp ecx, dword [0x4c6b10]
jne 0x4971c0
repz ret
jmp fcn.0049bc1d

Function at 0x499f00
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6b10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00494532
and dword [ebp - 0x14], 0
cmp dword [0x4c9cbc], 0
mov dword [ebp - 0x18], eax
jne 0x499fb3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49a05b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a4030
push ebx
call edi
test eax, eax
je 0x49a05b
mov esi, dword [fcn.00490bb0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c9cbc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c9cc0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c9cc4], eax
call edi
push eax
call esi
mov dword [0x4c9ccc], eax
test eax, eax
je 0x499fb3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c9cc8], eax
mov eax, dword [0x4c9cc8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00490bb4]
cmp eax, ecx
je 0x49a00c
cmp dword [0x4c9ccc], ecx
je 0x49a00c
push eax
call esi
push dword [0x4c9ccc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49a00c
test ebx, ebx
je 0x49a00c
call edi
test eax, eax
je 0x49a003
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49a003
test byte [ebp - 8], 1
jne 0x49a00c
or dword [ebp + 0x10], 0x200000
jmp 0x49a03f
mov eax, dword [0x4c9cc0]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49a03f
mov eax, dword [0x4c9cc4]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c9cbc]
call esi
test eax, eax
je 0x49a05b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49a05d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004971b6
leave
ret
Function at 0x401784
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
not eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x40183a
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xc364c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 1
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xc364c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 2
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xc364c0]
xor eax, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 3
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xc364c0]
xor eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 4
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 3
ja 0x40179d
jmp 0x401871
mov eax, dword [ebp - 4]
shr eax, 8
mov edx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx eax, al
xor eax, dword [ebp - 4]
movzx eax, al
mov eax, dword [eax*4 + 0xc364c0]
xor eax, edx
mov dword [ebp - 4], eax
add dword [ebp - 8], 1
sub dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 0
jne 0x401846
mov eax, dword [ebp - 4]
not eax
leave
ret
Function at 0x420110
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004269a0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004269a0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x420170
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0xcfa07c]
test esi, esi
jle 0x420290
mov eax, dword [0xcfa080]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x4201a4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x420227
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x420190
mov dword [esp], ebx
call fcn.00420af0
mov edi, eax
test eax, eax
je 0x4202b7
mov eax, dword [0xcfa080]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00420c30
mov edx, dword [0xcfa080]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x420297
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x420220
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x420230
add dword [0xcfa07c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0xcfa080]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x420220
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00420110
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4201ae
mov eax, dword [0xcfa080]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00420110
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00420110
lea esi, [esi]
nop
Function at 0x420770
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xcfa098
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0xcfa090]
sub esp, 4
test ebx, ebx
je 0x4207c5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4207be
test esi, esi
je 0x4207be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4207a0
mov dword [esp], 0xcfa098
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x420af0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x420b15
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x420b20
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x420b15
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x420b68
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x420b5e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x420b6a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x420b50
xor eax, eax
pop ebx
pop esi
ret
Function at 0x417cc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x417ce2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417ce9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417cd8
mov eax, 1
add ebx, ebx
jne 0x417cfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417cf0
jne 0x417d0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417cf0
xor ecx, ecx
sub eax, 3
jb 0x417d20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417d92
mov ebp, eax
add ebx, ebx
jne 0x417d2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417d38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417d5c
inc ecx
add ebx, ebx
jne 0x417d48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417d3d
jne 0x417d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417d3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417d7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417d6d
jmp 0x417cde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417d7c
add edi, ecx
jmp 0x417cde
pop esi
mov edi, esi
mov ecx, 0x1ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417d9a
cmp byte [edi], 0xa
jne 0x417d9a
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 0x417d9f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417e0e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417dcc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1702c]
or eax, eax
je 0x417e08
mov dword [ebx], eax
add ebx, 4
jmp 0x417de9
call dword [esi + 0x17030]
popal
jmp 0x402665
Function at 0x402095
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x45b080]
mov ebx, ecx
push edi
push str.Py_Initialize
push ebx
mov edi, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x40], eax
call esi
push str.PySys_SetArgv
push ebx
mov dword [ebp - 0x3c], eax
call esi
push str.PyRun_SimpleString
push ebx
mov dword [ebp - 0x38], eax
call esi
push str.Py_Finalize
push ebx
mov dword [ebp - 0x44], eax
call esi
push str.Py_BuildValue
push ebx
mov dword [ebp - 0x48], eax
call esi
push str.PyCFunction_New
push ebx
mov dword [ebp - 0x4c], eax
call esi
push str.PyArg_ParseTuple
push ebx
mov dword [ebp - 0x54], eax
call esi
push str.PyErr_Format
push ebx
mov dword [ebp - 0x50], eax
call esi
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x402284
cmp dword [ebp - 0x38], 0
je 0x402284
cmp dword [ebp - 0x44], 0
je 0x402284
cmp dword [ebp - 0x48], 0
je 0x402284
cmp dword [ebp - 0x4c], 0
je 0x402284
cmp dword [ebp - 0x50], 0
je 0x402284
test eax, eax
je 0x402284
cmp dword [ebp - 0x54], 0
je 0x402284
test edi, edi
je 0x40227d
cmp byte [edi], 0
je 0x40227d
push 0x80
push edi
call fcn.0043a224
mov ebx, eax
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x4021a3
push edi
push str.Could_not_open_postinstall_script__s_n
push 2
call fcn.00410048
pop ecx
push eax
call fcn.004015ea
add esp, 0xc
push 3
pop eax
jmp 0x402287
push str.Running_Script...
push 0x3ec
push dword [0x46ec70]
call dword [0x45b2a0]
call esi
mov ecx, dword [ebp - 0x58]
call fcn.00401f7b
push 0x400
push 0
mov esi, 0x46e060
push esi
call fcn.00408f90
mov edi, dword [ebp - 0x40]
add esp, 0xc
mov eax, esi
sub eax, edi
mov dword [ebp - 0x40], eax
push 2
pop edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [edi]
test ecx, ecx
je 0x4021fd
call fcn.004018d8
mov edx, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x40]
jmp 0x4021ff
xor ecx, ecx
mov dword [eax + edi], ecx
add edi, 4
sub edx, 1
mov dword [ebp - 0x3c], edx
jne 0x4021e8
push esi
push 2
call dword [ebp - 0x38]
pop ecx
pop ecx
cmp dword [esi], 0
je 0x402222
push dword [esi]
call fcn.00425893
pop ecx
add esi, 4
cmp esi, 0x46e068
jl 0x402215
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 3
push eax
push ebx
call fcn.00434f43
pop ecx
pop ecx
test eax, eax
jne 0x40226e
mov esi, dword [ebp - 0x20]
lea eax, [esi + 5]
call fcn.00456ce0
mov edi, esp
push esi
push edi
push ebx
call fcn.0043ac2c
add esp, 0xc
test eax, eax
jle 0x40226e
push edi
mov word [eax + edi], 0xa
call dword [ebp - 0x44]
pop ecx
mov dword [ebp - 0x38], eax
call dword [ebp - 0x48]
push ebx
call fcn.0043b287
mov eax, dword [ebp - 0x38]
pop ecx
jmp 0x402287
push 2
jmp 0x40219d
xor eax, eax
inc eax
lea esp, [ebp - 0x64]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004079b2
mov esp, ebp
pop ebp
ret
Function at 0x451e64
Capabilities:
Read file on windows

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

Function at 0x451e6f
Capabilities:
Read file on windows

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

Function at 0x473000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x473175
cmp dword [esp + 0x54], 0x40
jne 0x473175
cmp word [esp + 0x10], 0x5a4d
jne 0x473175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x473175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x479960
push esi
call ebx
test eax, eax
je 0x473175
cmp dword [esp + 0x54], 0xf8
jne 0x473175
cmp dword [0x479960], 0x4550
jne 0x473175
mov eax, dword [0x479976]
test ah, 0x20
jne 0x473175
mov edx, dword [0x479a80]
xor eax, eax
mov ax, word [0x479966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x479a58], eax
je 0x473175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x479a6c], eax
xor eax, eax
mov ax, word [0x479966]
mov edx, dword [0x479a58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x473175
cmp dword [esp + 0x54], edi
jne 0x473175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x479a80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x4799b4]
cmp edx, eax
ja 0x473175
mov edi, dword [0x479a58]
mov ecx, dword [0x479988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x473175
xor eax, eax
push 2
mov ax, word [0x479966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x473175
cmp dword [edi - 0x20], ebx
ja 0x473175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x475769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x479190
cmp edx, dword [eax]
je 0x47578b
add eax, 8
inc ecx
cmp eax, 0x479220
jl 0x47577c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x479190]
jne 0x4758b9
mov eax, dword [0x479bb0]
cmp eax, 1
je 0x475893
test eax, eax
jne 0x4757bc
cmp dword [0x4790e4], 1
je 0x475893
cmp edx, 0xfc
je 0x4758b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4757f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00476670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00476490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x475836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00476490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x47845c
push edi
call fcn.00476f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00476670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00476680
lea eax, [ebp - 0xa0]
push 0x47843c
push eax
call fcn.00476680
push dword [esi + 0x479194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00476680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00476e75
add esp, 0x2c
pop edi
jmp 0x4758b9
lea eax, [ebp + 8]
lea esi, [esi + 0x479194]
push 0
push eax
push dword [esi]
call fcn.00476490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000b410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032148
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1003d020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1001d4b0
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [eax]
test esi, esi
je 0x1000b463
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi + 4]
lea ecx, [edx + esi + 4]
mov edx, dword [eax]
call edx
mov eax, dword [0x1003ecb0]
test eax, eax
je 0x1000b47d
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
mov dword [0x1003ecb0], esi
test eax, eax
je 0x1000b4a1
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea esi, [ebp - 0x1c]
call fcn.1000a710
mov dword [ebp - 4], 1
mov ecx, dword [0x1003ecb0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov edx, esi
push edx
call eax
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov dword [ebp - 0x1c], esi
test eax, eax
je 0x1000b4f5
cmp byte [ebp - 0x14], 0
je 0x1000b4f5
push eax
call dword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov ecx, dword [ebp - 0x18]
push ecx
call edi
add esp, 8
mov ecx, str.multi_threaded_message_loop
lea ebx, [ebp - 0x28]
call fcn.1000a660
mov dword [ebp - 4], 2
mov ecx, dword [0x1003ecb0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
mov eax, ebx
push eax
call edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
test eax, eax
je 0x1000b539
cmp byte [ebp - 0x20], 0
je 0x1000b539
push eax
call dword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov eax, dword [ebp - 0x24]
push eax
call edi
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10017890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030542
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
mov eax, dword [0x1003d020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10017915
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
push edx
call eax
mov byte [ebp - 4], 2
cmp dword [eax], 0
mov ebx, 1
mov dword [ebp - 0x14], ebx
je 0x10017912
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [ebp - 0x18]
push eax
call edx
mov ebx, 3
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x14], ebx
call edx
test al, al
je 0x10017912
mov ecx, dword [ebp + 8]
mov byte [ebp - 0xd], 1
jmp 0x10017919
mov ecx, dword [ebp + 8]
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 2
test bl, 2
je 0x10017946
mov eax, dword [ebp - 0x18]
and ebx, 0xfffffffd
mov dword [ebp - 0x14], ebx
test eax, eax
je 0x10017946
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
test bl, 1
je 0x1001796d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001796d
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [ebp + 8]
cmp byte [ebp - 0xd], 0
je 0x10017987
mov byte [ebp - 4], 0
test ecx, ecx
je 0x100179c7
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
lea ecx, [edx + ecx + 4]
jmp 0x100179c0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x10017995
mov eax, dword [eax]
jmp 0x10017997
xor eax, eax
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100179c7
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100179e6
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x1001b2e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030eec
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1003d020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [esi + 4], 0x10037c2c
mov dword [esi + 0x30], vtable.CefBase.0
mov dword [ebp - 4], edx
mov eax, dword [esi + 4]
mov dword [esi], vtable.CefTask.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CefTask.1.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CefRunnableFunction_void____cdecl___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____struct_Tuple1_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CefRunnableFunction_void____cdecl___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____struct_Tuple1_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____.1.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x2c]
mov dword [eax + esi], ecx
lea ecx, [esi + 0xc]
mov dword [esi + 8], fcn.10019740
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
push edx
or eax, 0xffffffff
xor ebx, ebx
mov dword [ebp - 0x10], 1
call fcn.1000abd0
mov dword [esi + 0x28], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1002f92d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003d020]
jne 0x1002f937
repz ret
jmp fcn.1002fec0

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219