joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100080c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18c]
push edi
test eax, eax
jne 0x100081ac
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0x1c]
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jle 0x10008161
mov eax, dword [esi + 0x5c]
push edi
push eax
mov dword [esi + 0x190], ebx
call fcn.100055c0
add esp, 8
test eax, eax
jne 0x100081b5
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x94]
mov ecx, esi
call eax
cmp eax, 2
jne 0x1000819e
mov eax, dword [esi + 0x24]
push eax
push str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.10004010
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x10008146
mov eax, 0x4c7
mov ecx, 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 4
pop edi
mov dword [esi + 0xc], ecx
pop esi
xor eax, eax
pop ebx
ret
cmp edi, 0xffffffff
jne 0x10008183
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100081ac
cmp eax, 0x2744
je 0x1000819e
cmp eax, 0x2746
jne 0x10008146
jmp 0x1000819e
cmp edi, ebx
jne 0x1000819e
mov ecx, dword [esi + 0x24]
push ecx
push str._C_CNNID:__Iu__recv_0_bytes__detect_package__n
mov dword [esi + 0x190], ebx
call fcn.10004010
add esp, 8
mov edx, dword [esi + 0x18c]
test edx, edx
je 0x100080d5
pop edi
pop esi
mov eax, 1
pop ebx
ret
pop edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 5
pop esi
xor eax, eax
pop ebx
ret
Function at 0x100086e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a928
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10020128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x70]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x188]
xor edi, edi
test ecx, ecx
jle 0x10008774
lea ebx, [esi + 0x154]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x170]
cmp edi, dword [esi + 0x174]
je 0x10008749
mov eax, dword [edi + 4]
mov dword [esi + 0x170], eax
mov dword [eax + 8], 0
jmp 0x1000875b
test edi, edi
je 0x1000875b
xor eax, eax
mov dword [esi + 0x170], eax
mov dword [esi + 0x174], eax
xor eax, eax
cmp edi, eax
je 0x1000876d
mov dword [edi + 4], eax
mov dword [edi + 8], eax
dec dword [esi + 0x16c]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10008875
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x14]
mov edx, dword [esi + 0x1c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test ebx, ebx
jle 0x100087f4
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [esi + 0x188], ebx
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x14]
mov edx, dword [esi]
push ebx
push eax
mov eax, dword [edx + 0x8c]
mov ecx, esi
call eax
cmp eax, 2
jne 0x100087f9
mov ecx, dword [esi + 0x24]
push ecx
push str._C_CNNID:__Iu__OnSend___event_should_not_return_HR_ERROR____n
call fcn.10004010
add esp, 8
jmp 0x100087f9
cmp ebx, 0xffffffff
je 0x10008822
mov ecx, dword [ebp - 0x14]
push edi
add ecx, 0x1c
mov dword [ebp - 4], 0xffffffff
call fcn.10005260
test eax, eax
jne 0x10008710
push edi
call fcn.100075e0
add esp, 4
jmp 0x10008710
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1000888c
lea ebx, [esi + 0x154]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x170]
xor ecx, ecx
cmp eax, ecx
je 0x10008856
mov dword [eax + 8], edi
mov edx, dword [esi + 0x170]
mov dword [edi + 4], edx
jmp 0x10008862
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [esi + 0x174], edi
inc dword [esi + 0x16c]
push ebx
mov dword [esi + 0x170], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov dword [esi + 0xc], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x14]
push edi
add ecx, 0x1c
mov dword [esi + 0x10], 3
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10005260
test eax, eax
jne 0x100088c1
push edi
call fcn.100075e0
add esp, 4
xor eax, eax
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 0x10008b20
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a988
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10020128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.10007600
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x18]
push edi
push ecx
push ebx
mov dword [ebp - 4], 0
call fcn.10005c10
add esp, 0xc
test eax, eax
jne 0x10008b9a
cmp dword [ebp - 0x10], 0
je 0x10008b84
push ebx
call fcn.1000b748
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10008c1f
cmp word [eax], 0
je 0x10008c1f
mov ebx, dword [ebp + 0x18]
push ebx
push 0
push eax
call fcn.10005950
add esp, 0xc
test eax, eax
jne 0x10008be1
cmp dword [ebp - 0x10], eax
je 0x10008b84
mov edx, dword [ebp - 0x18]
push edx
call fcn.1000b748
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ax, word [edi]
cmp ax, word [ebx]
je 0x10008c1c
push 0x273f
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebp - 0x10], 0
je 0x10008b84
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.1000b748
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp - 0x18]
movzx edx, word [edi]
push 0x11
push 2
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x10008b75
push 0
push eax
call fcn.10005550
add esp, 8
test eax, eax
je 0x10008c52
push 0x80004005
call fcn.10003ed0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call fcn.10005470
add esp, 8
test eax, eax
je 0x10008c70
push 0x80004005
call fcn.10003ed0
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [esi + 0x68]
mov dword [esi + 0x20], eax
call fcn.10007ab0
cmp dword [ebp - 0x10], 0
mov ax, word [ebp + 0x10]
mov word [esi + 0x6c], ax
je 0x10008c9c
push ebx
call fcn.1000b748
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x100091c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x44]
push eax
push 0
push esi
push 0x10008df0
push 0
push 0
call fcn.1000a941
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0x40], eax
pop esi
mov eax, ecx
ret

Function at 0x1000a29f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10020128]
jne 0x1000a2a9
repz ret
jmp fcn.1000c06b
Function at 0x1001527c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10020128]
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.1000caf8
and dword [ebp - 0x14], 0
cmp dword [0x10022be0], 0
mov dword [ebp - 0x18], eax
jne 0x1001532f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100153d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100153d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10022be0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10022be4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10022be8], eax
call edi
push eax
call esi
mov dword [0x10022bf0], eax
test eax, eax
je 0x1001532f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10022bec], eax
mov eax, dword [0x10022bec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10015388
cmp dword [0x10022bf0], ecx
je 0x10015388
push eax
call esi
push dword [0x10022bf0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10015388
test ebx, ebx
je 0x10015388
call edi
test eax, eax
je 0x1001537f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001537f
test byte [ebp - 8], 1
jne 0x10015388
or dword [ebp + 0x10], 0x200000
jmp 0x100153bb
mov eax, dword [0x10022be4]
cmp eax, dword [ebp - 0x18]
je 0x100153bb
push eax
call esi
test eax, eax
je 0x100153bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100153bb
mov eax, dword [0x10022be8]
cmp eax, dword [ebp - 0x18]
je 0x100153bb
push eax
call esi
test eax, eax
je 0x100153bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10022be0]
call esi
test eax, eax
je 0x100153d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100153d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a29f
leave
ret
Function at 0x100010e3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push dword [ebp + 8]
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [ebp - 4], eax
or eax, eax
je 0x10001115
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x10001115
push dword [ebp - 4]
call fcn.100010c6
push 0
pop dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x10001134
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.1000111c
push 0x10
lea eax, [ebp - 0x54]
push eax
call fcn.1000111c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
call sub.kernel32.dll_CreateProcessA
lea edi, [ebp - 0x54]
push dword [edi]
push dword [edi + 4]
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_CloseHandle
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000358e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100035a9
push 0x10
lea eax, [ebp - 0x48]
sub esi, ecx
push eax
push edi
sar esi, 1
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
lea ecx, [edi + esi*2]
pop edi
pop esi
cmp dword [ebp - 0x48], ecx
jne 0x100035ed
push 0x20
lea ecx, [ebp - 0x44]
push ecx
push 0x80000001
push eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
jle 0x100035ed
xor eax, eax
inc eax
jmp 0x100035ef
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005e20
leave
ret

Function at 0x1000424f
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov eax, ebx
mov dword [ebp - 8], ebx
shr eax, 0x1e
push esi
push edi
cmp eax, 1
jbe 0x10004278
push 2
pop edi
cmp eax, edi
je 0x1000427b
xor edi, edi
inc edi
jmp 0x1000427b
push 4
pop edi
mov esi, dword [0x10008d64]
test esi, esi
je 0x100042de
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, esi
call dword [0x1000a1a0]
call esi
test eax, eax
js 0x100042de
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100042db
mov esi, dword [ebx]
xor eax, eax
push eax
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
push eax
push 1
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, ax
push eax
movzx eax, di
push eax
push ebx
call dword [0x1000a1a0]
call dword [esi + 0xc]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000a1a0]
call esi
jmp 0x1000430f
mov ebx, dword [ebp - 8]
push 0x10001c04
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x1000430f
xor eax, eax
push eax
push dword [ebp + 0x14]
push eax
push 1
push eax
mov eax, dword [ebp - 0xc]
push ebx
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10005f90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x10005fce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10005fc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10005fd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10005fb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100060c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100060f1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100060f1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100060f1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1000e3c2
Capabilities:
Encode data using xor

Disassembly:
call 0x1000e33b
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 0x1000e36b
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 0x1000e387
xor edx, 0
jmp 0x1000e392
xor edx, edx
jmp 0x1000e3a9
jmp 0x1000e3b5
xor eax, eax
push 0x8427d7c0
call 0x1000e3c2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000e3fe
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 0x1000e3d7
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 0x1000e415
add eax, 0
jno 0x1000e41a
add esi, 0
ret 0x10
Function at 0x1000f183
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 0x1000f1a5
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 0x1000f347
cmp edi, dword [ebp + 0x10]
jb 0x1000f347
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.1000ec6f
inc edi
jmp 0x1000f22e
jmp 0x1000f23b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ec6f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ec6f
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 0x1000f28f
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 0x1000f273
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000f2bd
add dword [eax], 0x39
jle 0x1000f299
sub al, 0xf5
mov ch, al
call fcn.1000f2d2
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10010faa
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 0x10010fc0
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 0x10010fd1
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10011012
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 0x1001337e
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 0x100132c7
add ebx, 0
push ecx
call 0x100132dc
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, 0x100a6181
sub ebx, dword [0x100c59c0]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c59b0
call fcn.1000eda6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000e2b4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001343a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001343a
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 0x100133f1
mov eax, 1
lock xchg dword [0x100c59bc], eax
push 0x3dd1fc71
call 0x1001337e
push esi
add esp, 8
cmp eax, 0
jne 0x10013367
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001338d
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100133a2
cmp ecx, edx
cmp eax, 0
je 0x100133c7
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 0x100133b1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100133e0
dec eax
loope 0x100133e3
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c59bc], 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 0x10013417
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001342c
jmp 0x10013437
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10013325
Function at 0x1001a49f
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 0x1001a775
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b2634
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a95fa
push 0xffffffffffffffff
call fcn.1001169f
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 0x1001a509
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001a521
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 0x1001a769
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001a73d
Function at 0x10029f6f
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 0x10029f91
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029f91
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029f91
ret
cmp word [ebx + 4], 0x14c
jne 0x10029f91
test word [ebx + 0x16], 2
je 0x10029f91
test word [ebx + 0x16], 0x100
je 0x10029f91
cmp word [ebx + 0x18], 0x10b
jne 0x10029f91
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029f91
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a01d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029fb1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010efc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029f91
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 0x1002a01d
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 0x10029f91
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029f91
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029f91
ret
cmp word [ebx + 4], 0x14c
jne 0x10029f91
test word [ebx + 0x16], 2
je 0x10029f91
test word [ebx + 0x16], 0x100
je 0x10029f91
cmp word [ebx + 0x18], 0x10b
jne 0x10029f91
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029f91
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a01d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029fb1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010efc
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029f91
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