joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4163
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004ad54d
xor ebx, ebx
cmp dword [0x5ab898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4b4238
push 0x547234
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x4b41a3
xor eax, eax
jmp 0x4b42fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x4b419c
push eax
call fcn.004ad4ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5ab898], eax
call esi
push eax
call fcn.004ad4ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5ab89c], eax
call esi
push eax
call fcn.004ad4ea
mov dword [0x5ab8a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004aac07
test eax, eax
pop ecx
pop ecx
je 0x4b4206
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004a9dc6
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4b4238
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.004ad4ea
cmp eax, ebx
pop ecx
mov dword [0x5ab8a8], eax
je 0x4b4238
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004ad4ea
pop ecx
mov dword [0x5ab8a4], eax
mov eax, dword [0x5ab8a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4b42b1
cmp dword [0x5ab8a8], esi
je 0x4b42b1
push eax
call fcn.004ad556
pop ecx
call eax
cmp eax, ebx
je 0x4b427e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x5ab8a8]
call fcn.004ad556
pop ecx
call eax
test eax, eax
je 0x4b427e
test byte [ebp - 0x18], 1
jne 0x4b42b1
lea eax, [ebp - 0xc]
push eax
call fcn.004aac3e
test eax, eax
pop ecx
je 0x4b4299
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004a9dc6
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4b42a8
or dword [ebp + 0x10], 0x200000
jmp 0x4b42e2
or dword [ebp + 0x10], 0x40000
jmp 0x4b42e2
mov eax, dword [0x5ab89c]
cmp eax, esi
je 0x4b42e2
push eax
call fcn.004ad556
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4b42e2
mov eax, dword [0x5ab8a0]
cmp eax, esi
je 0x4b42e2
push dword [ebp - 4]
push eax
call fcn.004ad556
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x5ab898]
call fcn.004ad556
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401220
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x406651
push eax
mov dword fs:[0], esp
sub esp, 0x118
lea eax, [esp + 0x14]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
xor ebx, ebx
push eax
push ecx
mov dword [esi + 4], ebx
call sub.wpcap.dll_pcap_findalldevs
add esp, 8
cmp eax, 0xffffffff
jne 0x401280
mov eax, dword [sym.imp.MSVCRT.dll__iob]
lea edx, [esp + 0x20]
push edx
add eax, 0x40
push str.Error_in_pcap_findalldevs:__s_n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
push 1
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x401422
push ebp
mov ecx, dword [edi + 4]
mov ebp, dword [sym.imp.MSVCRT.dll_printf]
push ecx
push 0x40a05c
call ebp
mov eax, dword [edi + 8]
add esp, 8
cmp eax, ebx
je 0x4012b3
push eax
push str._tDescription:__s_n
call ebp
add esp, 8
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x10], ebx
cmp ebp, ebx
je 0x401417
mov eax, dword [ebp + 4]
cmp word [eax], 2
jne 0x4012ff
cmp eax, ebx
mov dword [esp + 0x10], 1
je 0x4012ff
mov edx, dword [eax + 4]
push edx
call fcn.004011a0
push eax
mov eax, dword [esi + 4]
inc eax
push 0x40a044
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esi + ecx*4]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x4012c2
cmp dword [esp + 0x10], ebx
je 0x401417
mov eax, dword [edi + 4]
push eax
mov eax, dword [esi + 4]
push 0x40a044
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esi + ecx*4 + 8]
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi + 8]
push eax
mov eax, dword [esi + 4]
push 0x40a044
lea ecx, [eax*8]
sub ecx, eax
lea edx, [esi + ecx*4 + 0xc]
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 4]
add esp, 0x18
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [esi + ecx*4 + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esi + 4]
push 0x40a040
lea ecx, [esp + 0x20]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*4 + 0xc]
push eax
push ecx
call sub.MFC42.DLL_operator
mov ecx, dword [esi + 4]
mov dword [esp + 0x130], ebx
inc ecx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [esi + edx*4]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
call sub.MFC42.DLL_operator_1
push 0x40a03c
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x138], 1
push eax
call sub.MFC42.DLL_operator
push eax
mov eax, dword [esi + 4]
mov byte [esp + 0x134], 2
lea ecx, [eax*8]
sub ecx, eax
lea ecx, [esi + ecx*4 + 0xc]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
inc dword [esi + 4]
mov edi, dword [edi]
cmp edi, ebx
jne 0x40128d
pop ebp
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x1b49674c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.1b48f717
test eax, eax
pop ecx
je 0x1b496781
push edi
push edi
push edi
push edi
push edi
call fcn.1b4cbeb8
add esp, 0x14
push 4
pop eax
call fcn.1b48a9e0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1b49688f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x1b496808
push 0x1b463d80
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x1b496808
push 0x1b463fb0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1b496808
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x1b496808
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x1b496808
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.1b49332a
add esp, 0xc
test eax, eax
jl 0x1b49688f
not edi
and dword [ebp - 8], edi
je 0x1b49683a
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.1b49332a
add esp, 0xc
test eax, eax
jl 0x1b49688f
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x1b496845
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x1b496859
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x1b49688f
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1b49688f
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1b49688f
xor eax, eax
inc eax
jmp 0x1b496891
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1b4898a6
leave
ret
Function at 0x1b4c63f2
Capabilities:
Encode data using xor

Disassembly:
call 0x1b4c636b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1b4c639b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1b4c63b7
xor edx, 0
jmp 0x1b4c63c2
xor edx, edx
jmp 0x1b4c63d9
jmp 0x1b4c63e5
xor eax, eax
push 0x8427d7c0
call 0x1b4c63f2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1b4c642e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1b4c6407
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1b4c6445
add eax, 0
jno 0x1b4c644a
add esi, 0
ret 0x10

Function at 0x1b4c71b3
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1b4c71d5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1b4c7377
cmp edi, dword [ebp + 0x10]
jb 0x1b4c7377
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1b4c6c9f
inc edi
jmp 0x1b4c725e
jmp 0x1b4c726b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6c9f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6c9f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1b4c72bf
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1b4c72a3
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1b4c72ed
add dword [eax], 0x39
jle 0x1b4c72c9
sub al, 0xf5
mov ch, al
call fcn.1b4c7302
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1b4c8fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1b4c8ff0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1b4c9001
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1b4c9042
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1b4cb3ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x1b4cb2f7
add ebx, 0
push ecx
call 0x1b4cb30c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x734590b0
sub ebx, dword [0x734788ef]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x734788df
call fcn.1b4c6dd6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1b4c62e4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1b4cb46a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1b4cb46a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1b4cb421
mov eax, 1
lock xchg dword [0x734788eb], eax
push 0x3dd1fc71
call 0x1b4cb3ae
push esi
add esp, 8
cmp eax, 0
jne 0x1b4cb397
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1b4cb3bd
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1b4cb3d2
cmp ecx, edx
cmp eax, 0
je 0x1b4cb3f7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1b4cb3e1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1b4cb410
dec eax
loope 0x1b4cb413
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x734788eb], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x1b4cb447
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1b4cb45c
jmp 0x1b4cb467
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1b4cb355
Function at 0x1b4d24cf
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1b4d27a5
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x73465563
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7345c529
push 0xffffffffffffffff
call fcn.1b4c96cf
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1b4d2539
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1b4d2551
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1b4d2799
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1b4d276d
Function at 0x1b4e1f9f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e1fc1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e1fc1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e1fc1
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e1fc1
test word [ebx + 0x16], 2
je 0x1b4e1fc1
test word [ebx + 0x16], 0x100
je 0x1b4e1fc1
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e1fc1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e1fc1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e204d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e1fe1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c8f2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e1fc1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1b4e204d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1b4e1fc1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1b4e1fc1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1b4e1fc1
ret
cmp word [ebx + 4], 0x14c
jne 0x1b4e1fc1
test word [ebx + 0x16], 2
je 0x1b4e1fc1
test word [ebx + 0x16], 0x100
je 0x1b4e1fc1
cmp word [ebx + 0x18], 0x10b
jne 0x1b4e1fc1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1b4e1fc1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1b4e204d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1b4e1fe1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1b4c8f2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1b4e1fc1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1b4e2104
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e215d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e2104
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e2113
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7db6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e2164
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c8fda
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e2203
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e2149
call 0x1b4e21b0
loope 0x1b4e21a6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e2200
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e2211
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e21c4
cmp eax, ecx
ja 0x1b4e21c4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e224e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e2244
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c94b9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1b4e2113
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1b4e215d
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1b4e2104
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1b4e2113
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1b8e7db6
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1b4e2164
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1b4c8fda
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1b4e2203
add edi, 4
add eax, 2
dec ecx
jne 0x1b4e2149
call 0x1b4e21b0
loope 0x1b4e21a6
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1b4e2200
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1b4e2211
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1b4e21c4
cmp eax, ecx
ja 0x1b4e21c4
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1b4e224e
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1b4e2244
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1b4c94b9
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x402ee4
pop dword [ebp - 4]
mov eax, 0x402ee4
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x6ff0ab58
sub dword [ebp - 0x14], 0x219e660d
mov dword [ebp - 0x10], 0x64bcf37a
sub dword [ebp - 0x10], 0x3289a735
mov dword [ebp - 0xc], 0x486b84aa
sub dword [ebp - 0xc], 0xfc1f407c
mov dword [ebp - 8], 0x25f11563
add dword [ebp - 8], 0xda0eea9d
lea eax, [ebp - 0x14]
push eax
mov eax, 0xd0bdfca7
sub eax, 0xd07d7ba3
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x62cdf31d
add dword [ebp - 0x14], 0x11a47639
mov dword [ebp - 0x10], 0xdd8c498a
add dword [ebp - 0x10], 0x63e017eb
mov dword [ebp - 0xc], 0x78a0eb18
add dword [ebp - 0xc], 0xeace8154
mov dword [ebp - 8], 0x44ca1307
add dword [ebp - 8], 0xbb35ecf9
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x341f7
push 0
call eax
mov ecx, 0x3c59
xor edx, edx
add edx, eax
mov ebx, 0x62efb890
add ebx, 0x9d572b70
add ebx, dword [ebp - 4]
mov edi, 0xe97b7f38
add edi, 0x7a6e9112
mov esi, dword [ebx]
xor esi, edi
mov dword [edx], esi
add edx, 0x54eb46a2
add edx, 0xab14b962
add ebx, 0x8742aabc
add ebx, 0x78bd5548
loop 0x402ff8
add eax, 0x65321eb8
sub eax, 0x65313a81
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x517f3237
add ecx, 0xaec0cdc9
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10