joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb4f000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xb4f131
push esi
call fcn.00b52145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00b41080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xb4f131
push 0
push ebp
call fcn.00b413a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00b41260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xb4f08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00b412f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xb4f121
push 0xb67918
push edi
call fcn.00b503f0
push eax
push ebx
push esi
call fcn.00b4ef60
push 0xb678f8
push edi
call fcn.00b503f0
push eax
push ebx
push esi
call fcn.00b4ef60
push 0xb678d8
push edi
call fcn.00b503f0
push eax
push ebx
push esi
call fcn.00b4ef60
push 0xb678c0
push edi
call fcn.00b503f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00b4ef60
push 0xb678a0
push edi
call fcn.00b503f0
push eax
push ebx
push esi
call fcn.00b4ef60
push 0xb67888
push edi
call fcn.00b503f0
push eax
push ebx
push esi
call fcn.00b4ef60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xb501b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00b50140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00b50140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00b50140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00b50140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xb50bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xb50c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xb6287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xb50c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xb50c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x402c00
pop dword [ebp - 0x30]
mov eax, 0x40141663
add eax, 0xc02c159d
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xbe6659ad
sub dword [ebp - 0x40], 0x70141462
mov dword [ebp - 0x3c], 0x9a94819b
add dword [ebp - 0x3c], 0x979ecaaa
mov dword [ebp - 0x38], 0x68cc8084
sub dword [ebp - 0x38], 0x1c803c56
mov dword [ebp - 0x34], 0x4e4b8bf4
sub dword [ebp - 0x34], 0x4e4b8bf4
lea eax, [ebp - 0x40]
push eax
mov eax, 0x56e3bc5f
add eax, 0xa95cb405
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x509211f3
sub dword [ebp - 0x40], 0xdc1fa89d
mov dword [ebp - 0x3c], 0x6dee69bd
add dword [ebp - 0x3c], 0xd37df7b8
mov dword [ebp - 0x38], 0xddfb3d20
sub dword [ebp - 0x38], 0x7a8bd0b4
mov dword [ebp - 0x34], 0x45d21a08
add dword [ebp - 0x34], 0xba2de5f8
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa3e
push 0
call eax
mov ecx, 0x57ce
mov ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x30]
mov edi, 0x7f923521
add dword [ebp - 8], 0xae9da047
mov esi, dword [edx]
xor dword [ebp - 4], edi
sub esi, edi
xor dword [ebp - 0x14], esi
mov dword [ebx], esi
xor dword [ebp - 0x2c], 0x2a3da171
add ebx, 0x83e4ea36
sub ebx, 0x83e4ea32
add edx, 4
loop 0x402d0b
add eax, 0x1520b
mov ebx, eax
add eax, 0xa596ff06
sub eax, 0xa596ff01
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x402c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, dword [0x4295e4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
call esi
and eax, 0x136dc45e
xor edx, edx
mov ecx, 0xeeff5aef
div ecx
mov edi, eax
and edi, 0x19
call esi
mov ecx, eax
and ecx, 0x31
or ecx, edi
or ecx, 0xb64133c6
xor edx, edx
mov eax, 0x44b
div ecx
xor eax, ebx
mov ebx, dword fs:[0x30]
mov dword [0x4295e4], eax
mov edi, dword [0x4295e4]
call esi
and eax, 0x5951
sub eax, 0xfc
sub edi, eax
imul edi, edi, 0xff
call esi
mov ecx, dword [ebx + 0xc]
and eax, 0x59
imul eax, edi
mov edi, dword [ecx + 0xc]
mov dword [0x4295e4], eax
xor eax, 0x2560
mov ebx, eax
call esi
mov ecx, eax
and ecx, 0x60b9
or ecx, ebx
xor ecx, 0xe81
mov dword [0x4295e4], ecx
test edi, edi
je 0x402d64
mov ebx, 0x4295cc
xor ecx, 0x4000
and ecx, 0x30bd4400
or ecx, 0x8f2
xor ecx, 0x10884802
or ecx, 0x4f42330d
xor edx, edx
push 0xb
pop eax
div ecx
xor edx, edx
mov esi, dword [edi + 0x18]
mov ecx, eax
or ecx, 0xfe047cec
mov eax, 0x42f5
div ecx
mov dword [0x4295e4], eax
test esi, esi
je 0x402d64
call fcn.0040310e
mov dword [0x4295e4], eax
cmp esi, ebx
ja 0x402cfc
mov ecx, dword [edi + 0x20]
add ecx, esi
cmp ecx, ebx
ja 0x402d6a
add eax, 0xffffff9a
xor edx, edx
mov ecx, 0x9f5f96d
div ecx
mov ecx, 0xf11d09af
mov edi, dword [edi]
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6d2d777e
mov ecx, edx
or ecx, 0x28383a1f
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
imul ecx, ecx, 0x210cc181
sub ecx, 0x40773725
or ecx, 0x5cb268b0
mov eax, 0x3de11635
div ecx
xor edx, edx
mov ecx, eax
or ecx, 0x65fbf5dd
mov eax, 0x40f3
div ecx
mov ecx, eax
mov dword [0x4295e4], ecx
test edi, edi
jne 0x402ca3
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, esi
jmp 0x402d66

Function at 0x4035f4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x403622
mov ecx, dword [ebp - 4]
cmp ecx, 2
jl 0x403622
push dword [eax + ecx*4 - 4]
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
leave
ret
xor eax, eax
leave
ret
Function at 0x403ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 2
mov dword [ebp - 8], 0x3be501e
mov dword [ebp - 4], 0xfc41afe1
pop esi
lea edx, [edx]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 4]
xor eax, dword [0x4295e0]
not eax
push ebx
pop dword [ebp - 0xc]
push 0
mov bl, bl
call eax
dec esi
jne 0x403f01
pop esi
pop ebx
leave
ret

Function at 0x403f22
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x18], esi
mov dword [0x4295e4], 0x8e
mov dword [ebp - 0x14], 0x53a49bea
mov dword [ebp - 0x10], esi
push sp
pop sp
mov eax, dword [ebp - 0x14]
sub eax, dword [str.S__eo1]
add eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
pop edx
or eax, dword [ebp - 0x10]
mov dword [0x4295e0], eax
call fcn.00403513
mov dword [0x4295e4], eax
mov eax, 0x289f07e5
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], eax
mov eax, 0x8d089d49
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], eax
mov eax, 0xd02901fd
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], eax
mov eax, 0xe6147ac5
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x1c], eax
mov eax, 0x8cf72fb7
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], eax
mov eax, 0x233a90be
mov dword [ebp - 0x40], 0x6f655b5f
mov dword [ebp - 0x70], 0xc45553ce
mov dword [ebp - 0x30], 0xe703b01a
mov dword [ebp - 0x2c], 0xc5f38ccd
mov dword [ebp - 0x24], 0x12b8bd7
mov dword [ebp - 0x20], 0xfed47428
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x74], 0x28f9d4f0
mov dword [ebp - 0x6c], 0xd7062b0f
mov dword [ebp - 0x54], 0xcb86eebd
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0xae1eb92d
mov esi, esi
mov edx, 5
lea eax, [eax]
mov eax, dword [0x417594]
xor eax, dword [ebp - 0x40]
add eax, dword [ebp - 4]
push esp
pop dword [ebp - 0x80]
mov edx, dword [ebp - 0x60]
xor edx, dword [ebp - 0x38]
add edx, 0xfe
mov dx, dx
mov ecx, dword [0x417598]
xor ecx, dword [ebp - 0x70]
and ecx, eax
push edi
pop dword [0x4295c8]
mov edx, dword [0x41759c]
xor edx, dword [ebp - 0x30]
add edx, 0x61
lea edx, [edx]
rdtsc
mov ebp, ebp
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x28]
or edx, 0x7b
mov eax, eax
xor eax, dword [ebp - 0x78]
mov dword [ebp - 4], eax
xor eax, dword [ebp - 0x48]
xor dword [ebp - 4], 0xd02901fd
mov di, di
mov edx, dword [0x4175a0]
xor edx, dword [str.21a]
add edx, 0x65
push sp
pop sp
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
push bx
pop bx
xor edx, edx
not edx
and edx, 0x3b
call fcn.00403ed9
mov edx, 0x61
mov ax, ax
xor eax, eax
not eax
and eax, dword [ebp - 0xc]
lea edx, [edx]
mov edx, 0xd6
push dword [ebp - 0x2c]
pop dword [ebp - 0x34]
mov ecx, eax
mov ebp, ebp
mov edx, 0xe1
lea ebp, [ebp]
rdtsc
lea ebp, [ebp]
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x20]
xor edx, 0x69
not edx
push esi
pop dword [0x4295d0]
or eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
push si
pop si
xor edx, edx
or edx, 0xe2
push esi
pop esi
mov eax, dword [ebp - 0x68]
xor eax, dword [ebp - 0x1c]
add eax, ecx
mov edi, edi
mov edx, 0x72
jmp loc.00437402
Function at 0x409454
Capabilities:
Check os version
Terminate process

Disassembly:
and esi, 0xffffffff
neg ecx
mov dword [0x416d27], esi
and edi, 0xffffffff
not ecx
mov dword [0x416d23], edi
and ebx, 0xffffffff
not ecx
mov dword [0x416d33], ebx
pop eax
jmp fcn.00403a67
Function at 0x43a170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28000]
push edi
jmp 0x43a18a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a180
mov eax, 1
add ebx, ebx
jne 0x43a1a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a198
jne 0x43a1b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a198
xor ecx, ecx
sub eax, 3
jb 0x43a1c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a23a
mov ebp, eax
add ebx, ebx
jne 0x43a1d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a1e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a204
inc ecx
add ebx, ebx
jne 0x43a1f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a1e5
jne 0x43a201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a1e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a224
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a215
jmp 0x43a186
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a224
add edi, ecx
jmp 0x43a186
pop esi
mov edi, esi
mov ecx, 0xd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a242
cmp byte [edi], 4
jne 0x43a242
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 al, bl
loop 0x43a247
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a2bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3ef70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3efac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a274
mov ecx, edi
jns 0x43a2a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3efb4]
or eax, eax
je 0x43a2b9
mov dword [ebx], eax
add ebx, 4
jmp 0x43a291
call dword [esi + 0x3efb0]
mov ebp, dword [esi + 0x3efb8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43a2f3
sub esp, 0xffffff80
jmp 0x401224
Function at 0x1e7f9e4c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x1004a1cd
sub ebx, dword [0x100692ae]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x1006929e
call fcn.1e7f5d1b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1e7f53ef
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x1e7fa079
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1e7fa079
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x1e7f9edc
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1e7f9fa6
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x100692aa], eax
cmp eax, 0
jne 0x1e7f9ef5
sub esp, 4
jmp 0x1e7f9f1c
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1e7f9f3d
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x1e7f9f65
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x1e7f9f8f
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 0x1e7f9f79
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x100692aa], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x1e7f9fca
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x1e7f9ffb
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x1e7fa01a
aam 0x7d
jb 0x1e7f9fd6
inc eax
jns 0x1e7f9fd4
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.1e7fa05e
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x1e7fa088
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x1e7f9e91
Function at 0x1e7f9f65
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x1004a1cd
sub ebx, dword [0x100692ae]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x1006929e
call fcn.1e7f5d1b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1e7f53ef
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x1e7fa079
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1e7fa079
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x1e7f9edc
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1e7f9fa6
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x100692aa], eax
cmp eax, 0
jne 0x1e7f9ef5
sub esp, 4
jmp 0x1e7f9f1c
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1e7f9f3d
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x1e7f9f65
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x1e7f9f8f
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 0x1e7f9f79
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x100692aa], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x1e7f9fca
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x1e7f9ffb
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x1e7fa01a
aam 0x7d
jb 0x1e7f9fd6
inc eax
jns 0x1e7f9fd4
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.1e7fa05e
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x1e7fa088
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x1e7f9e91
Function at 0x1e800ffe
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x49
mov dword [esp + 0x45], ebp
add esp, 0x45
mov ebp, esp
push 0xfee18332
xor dword [esp], 0xef2a0a40
mov dword [esp], ebx
sub esp, 4
jmp 0x1e800fe0
call 0x1e800fe7
and dh, byte [ebx + 0x12e8]
add byte [eax - 0x17], dh
outsb dx, byte [esi]
setl byte [ebp + 0x21882b7a]
inc esi
pop es
xor al, 0x5d
shl byte [ebx - 0x3b7ca660], cl
or byte [edi + 0xc8b240c], al
and al, 0x52
push 0xf150
push 0x801e
and dword [esp], edi
jbe 0x1e801017
cmp edx, eax
or dword [esp], edi
push 0xffffffffffffffff
push edx
mov edx, esp
push edi
add edi, eax
mov edi, esp
or dword [edi - 0x3b], esi
pop edi
jb 0x1e801030
xor eax, 0
and dword [edx + 4], esi
pop edx
or edi, 0xffffffff
not edi
sub edi, dword [ebp + 8]
dec edi
not edi
jmp 0x1e801049
push ecx
and ecx, edx
mov ecx, esp
cmp dword [ecx - 0x1c], eax
pop ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1c], eax
pop esi
call fcn.1e80107d
lodsd eax, dword [esi]
loop 0x1e8010e3
xor byte [ecx + 0x655ccf2e], ch
cmp ch, bl
dec eax
loope 0x1e801081
invalid
add byte [0x83606392], bl
les ecx, [eax]
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1e801110
push ebp
push 0xffffffffffffffff
push 0x10055f02
sub esp, 4
mov dword [esp], 0x1004d2a9
push 0xffffffffffffffff
call fcn.1e7f8453
mov edx, dword [ecx + 0x18]
cmp edx, 0
je 0x1e8010ec
mov ebx, edx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
jmp 0x1e8010cc
cmp ebx, 0
je 0x1e8010ec
lea edi, [edi]
sub edi, 0
cmp edi, edx
lea ebx, [ebx + edx]
mov esi, dword [ebx + 0xc]
lea esi, [esi + edx]
push esi
call fcn.1e7f7c55
call fcn.1e7f84ca
cmp eax, edi
jne 0x1e80105f
push ecx
not ecx
mov ecx, esp
mov dword [ecx - 0x6a], edi
pop ecx
add esp, 4
mov eax, ecx
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4
xor ecx, ecx
jmp 0x1e801105
Function at 0x1e8043a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d
mov dword [esp + 0x19], edi
add esp, 0x19
push esi
push 0
je 0x1e8043c0
add edx, 0
add dword [esp], ecx
push edx
push ebx
pop ebx
sub edx, edx
je 0x1e8043d6
dec esp
xchg ebp, eax
stosb byte es:[edi], al
wait
cmp byte [ecx], dl
jbe 0x1e804449
in al, 0x4d
add dl, byte [ebx]
or edx, 0xffffffff
push ecx
call 0x1e8043f4
dec esi
outsd dx, dword [esi]
jl 0x1e8043eb
pop edx
mov ebp, dword [eax - 0x7f]
adc al, 0xbd
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x74a6a002], 0xcc
and edx, dword [ecx + 4]
sub esp, 4
mov dword [esp], 0x760b497b
xor dword [esp], 0x760b497b
add edi, dword [esp]
lea esp, [esp + 4]
test edx, esi
mov ecx, dword [ecx]
js 0x1e80441b
sub esi, 0
add esp, 8
pop ecx
pop esi
pop edi
mov esp, ebp
lea esp, [esp - 0x40]
xchg dword [esp + 0x40], ebp
mov dword [esp + 0x40], ebp
lea esp, [esp + 0x44]
push 0xffffffffffffffc8
call 0x1e804444
popal
xchg byte [edi + 0x74], al
popfd
adc ah, bl
loopne 0x1e8043dc
pop esi
add esp, 8
jmp 0x1e804450
push ebp
push 0x5b
clc
sal dword [esi], 1
aaa
ret 0xc

Function at 0x1e805e20
Capabilities:
Encode data using xor

Disassembly:
push 0
push ecx
mov ecx, esp
call 0x1e805d44
int 0x82
call 0x1e805d4e
xchg ebx, eax
ror cl, 1
into
out dx, eax
add esp, 8
or dword [ecx + 4], ebp
pop ecx
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea esp, [esp - 4]
mov dword [esp], edx
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi + 0xc00]
mov esi, 0x100670aa
xor ecx, ecx
jne 0x1ec0b9ef
not ecx
and ecx, 0xfa
mov dword [edi], esi
js 0x1e805d8c
add edi, 0
jns 0x1e805d91
sub edx, 0
add edi, 4
inc esi
push esi
call fcn.1e7f5614
or dword [esp - 0x6d], esi
jb 0x1e805da7
sub eax, 0
cmp al, 0xff
jne 0x1e805d94
inc esi
dec ecx
jne 0x1e805d82
mov edi, dword [ebp + 8]
mov edi, dword [edi]
lea edi, [edi]
mov esi, 0x100675d6
push 0x300
lea eax, [esi]
push 0x40
push 0xec7b
push ecx
mov ecx, esp
jne 0x1e805ddd
sub edx, 0
jmp 0x1e805df6
and dword [ecx + 4], eax
or dword [ecx + 4], eax
pop ecx
call fcn.1e7f5d1b
mov eax, eax
and eax, 0x3ff
xchg ecx, esi
and esi, 0
add esi, 9
xor dword [esp - 0x5e], ebx
push 0x45
call 0x1e805e20
lcall 0x9f1, 0x8708c483
pop esp
and al, 0xd3
cmp eax, 3
je 0x1e805e49
mov ecx, 0x49
xor dword [esp - 0x3d], esi
cmp eax, 4
je 0x1e805e49
mov ecx, 1
mov dword [edi], esi
add edi, 4
push esi
call fcn.1e80602f
mov edx, 4
xor dword [esp - 0x12], edx
mul edx
add esi, eax
dec ecx
jne 0x1e805e4e
mov dword [esp - 0x3f], esi
dec dword [esp]
jne 0x1e805dc8
add esp, 4
xor edx, edx
jne 0x1ec0baf5
sub edx, edx
or edx, dword [esp]
add esp, 4
pop ecx
pop ebx
pop esi
xchg dword [esp], edi
mov dword [esp], edi
lea esp, [esp + 4]
leave
ret 4