joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x418d10], 0
jne 0x40b174
jmp 0x40b24c
mov eax, dword [0x418d10]
shl eax, 3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0040a580
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40b24c
mov dword [ebp - 0x10], 0
jmp 0x40b1aa
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x418d10]
jae 0x40b1e4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx*4 + 0x418d18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [ecx + eax*8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax*4 + 0x418d18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [ecx + 8]
mov dword [eax + edx*8 + 4], ecx
jmp 0x40b1a1
push 0
push 2
push 2
push 0
push 0
push 0x40000000
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x40b233
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3d
push 0x4178c0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [ebp - 4]
push edx
call fcn.0040a790
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x40b3b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov byte [ebp - 0x101], 0
push 0x100
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x40b447
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x40b447
mov dword [ebp - 0x10c], 0
jmp 0x40b40e
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10c]
cmp dword [ecx + edx*4], 0
je 0x40b447
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
cmp ecx, dword [ebp + 8]
jne 0x40b445
mov byte [ebp - 0x101], 1
jmp 0x40b447
jmp 0x40b3ff
mov al, byte [ebp - 0x101]
mov esp, ebp
pop ebp
ret
Function at 0x40b8a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x418cf8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 8], 0
jmp 0x40b8c3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x200
jae 0x40b8e9
push 0
call fcn.0040da80
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x4178c8]
push edx
call fcn.0040b480
add esp, 0xc
jmp 0x40b8ba
push 0
push 0
push 3
push 0
push 0
push accept
push 0x418ae0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x40b9d2
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b9c8
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b9be
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x40b97d
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x40b9b4
cmp dword [ebp - 0x1c], 0x200
jae 0x40b9b4
push 0
call fcn.0040da80
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
sub eax, dword [edx + ecx*8 + 4]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*8]
push edx
call fcn.0040b480
add esp, 0xc
jmp 0x40b96b
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0040b140
push 0
push 0
push 0
push 0x40ba00
push 0
mov eax, dword [0x41951c]
push eax
call fcn.0040d740
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x40e1a0
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x754
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x344], 0
push 0x38
push 0
lea eax, [ebp - 0x340]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x344], 0x3c
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], 0x100
lea edx, [ebp - 0x300]
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x314], 0x200
lea eax, [ebp - 0x344]
push eax
push 0x10000000
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push 0
push 0
push 0
push 1
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x308], 0
je 0x40e3b7
push 0
push 0
push 3
push 0
push 0
movzx edx, word [ebp - 0x32c]
push edx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x308]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
je 0x40e3aa
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x300]
push edx
push 0x411f60
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
je 0x40e39d
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x34c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40e390
cmp dword [ebp + 0xc], 0
je 0x40e386
mov dword [ebp - 0x350], 0
mov edx, 1
test edx, edx
je 0x40e379
lea eax, [ebp - 0x754]
push eax
push 0x400
lea ecx, [ebp - 0x750]
push ecx
mov edx, dword [ebp - 0x34c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40e31b
cmp dword [ebp - 0x754], 0
jne 0x40e31d
jmp 0x40e379
mov eax, dword [ebp - 0x350]
add eax, dword [ebp - 0x754]
push eax
mov ecx, dword [ebp - 0x304]
push ecx
call fcn.0040a5c0
add esp, 8
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x754]
push edx
lea eax, [ebp - 0x750]
push eax
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x350]
push ecx
call sub.ntdll.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x350]
add edx, dword [ebp - 0x754]
mov dword [ebp - 0x350], edx
jmp 0x40e2e1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x350]
mov dword [eax], ecx
jmp 0x40e390
mov dword [ebp - 0x304], 1
mov edx, dword [ebp - 0x34c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x308]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x304]
mov esp, ebp
pop ebp
ret
Function at 0x40ed10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0xa
lea eax, [ebp - 0xc]
push eax
push 7
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x412a38
lea ecx, [ebp - 0xc]
push ecx
call sub.ntdll.dll_strcmp
add esp, 8
test eax, eax
jne 0x40ed42
mov al, 1
jmp 0x40ed44
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40ed50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push accept
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40ed98
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40ef60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call sub.ntdll.dll_memset
add esp, 0xc
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov edx, 5
mov word [ebp - 0x30], dx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x40efd1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x40f008
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x412a3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x20
jle 0x40f006
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x40f008
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40f010
Capabilities:
Create http request
Get http content length
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 5], 0
push 0
push 0
push 0
push 1
push 0x412a48
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40f0a8
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40f09e
mov dword [ebp - 0x14], 4
push 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x20000005
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x10], 0x1388
jbe 0x40f094
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx]
je 0x40f094
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x40f6b5
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40f6e6
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40f6ed
cmp ebx, dword [ebp + 8]
jae 0x40f6ed
xor eax, eax
jmp 0x40f8d3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40f6fe
xor eax, eax
inc eax
jmp 0x40f8d2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40f710
cmp ecx, edx
jae 0x40f774
cmp dword [eax + 4], 0
je 0x40f719
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40f705
cmp dword [ebp + 8], 0
je 0x40f733
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40f774
cmp eax, esi
jae 0x40f774
mov ecx, dword [0x419540]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x40f755
cmp dword [eax*4 + 0x419548], esi
je 0x40f77b
inc eax
cmp eax, ecx
jl 0x40f747
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x40f7eb
mov eax, dword [ebp + 8]
jmp 0x40f7ed
xor eax, eax
jmp 0x40f8d2
test eax, eax
jle 0x40f6f6
xor edx, edx
mov ebx, 0x419588
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x40f6f6
cmp dword [eax*4 + 0x419548], esi
je 0x40f7ca
lea eax, [ecx - 1]
test eax, eax
jl 0x40f7b7
cmp dword [eax*4 + 0x419548], esi
je 0x40f7b3
dec eax
jns 0x40f7a7
test eax, eax
jge 0x40f7c8
cmp ecx, 0x10
jge 0x40f7c3
inc ecx
mov dword [0x419540], ecx
lea eax, [ecx - 1]
jmp 0x40f7ca
je 0x40f7e2
xor edx, edx
test eax, eax
jl 0x40f7e2
lea ecx, [edx*4 + 0x419548]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x40f7d0
xor eax, eax
xchg dword [ebx], eax
jmp 0x40f6f6
xor eax, eax
test eax, eax
je 0x40f8d0
cmp dword [ebp - 8], 0x1000000
jne 0x40f8d0
test byte [ebp - 0xc], 0xcc
je 0x40f862
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40f8d0
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40f8d0
cmp word [eax + 0x18], 0x10b
jne 0x40f8d0
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40f8d0
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40f862
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40f862
test byte [ecx + 0x27], 0x80
jne 0x40f774
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x419588
xchg dword [edx], ecx
test ecx, ecx
jne 0x40f8d2
mov ecx, dword [0x419540]
test ecx, ecx
mov edx, ecx
jle 0x40f891
lea eax, [ecx*4 + 0x419544]
cmp dword [eax], esi
je 0x40f891
dec edx
sub eax, 4
test edx, edx
jg 0x40f885
test edx, edx
jne 0x40f8c2
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40f89e
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40f8b6
lea eax, [edx*4 + 0x419548]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x40f8a4
cmp ecx, 0x10
jge 0x40f8c2
inc ecx
mov dword [0x419540], ecx
xor eax, eax
mov ecx, 0x419588
xchg dword [ecx], eax
jmp 0x40f6f6
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x130a8d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xe1a015
lea edi, [esi - 0xa19015]
push edi
or ebp, 0xffffffff
jmp 0x130a8f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x130a8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130a8e8
mov eax, 1
add ebx, ebx
jne 0x130a90b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x130a91c
jne 0x130a93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130a93b
dec eax
add ebx, ebx
jne 0x130a928
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x130a900
add ebx, ebx
jne 0x130a937
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x130a98d
xor ecx, ecx
sub eax, 3
jb 0x130a953
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x130a9c2
sar eax, 1
mov ebp, eax
jmp 0x130a95e
add ebx, ebx
jne 0x130a95e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130a92c
inc ecx
add ebx, ebx
jne 0x130a96c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x130a92c
add ebx, ebx
jne 0x130a979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x130a96e
jne 0x130a98a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x130a96e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x130a9ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x130a99e
jmp 0x130a8ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x130a9ac
add edi, ecx
jmp 0x130a8ee
pop esi
mov edi, esi
mov ecx, 0x26fc9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x130a9ca
cmp byte [edi], 0x57
jne 0x130a9ca
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 0x130a9cf
lea edi, [esi + 0xee5000]
mov eax, dword [edi]
or eax, eax
je 0x130aa3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf0a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf0a028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x130a9fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf0a030]
or eax, eax
je 0x130aa38
mov dword [ebx], eax
add ebx, 4
jmp 0x130aa19
call dword [esi + 0xf0a02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x130aa78
cmp al, 0xef
ja 0x130aa62
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x130aa44
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x130aa51
mov eax, dword [edi]
add edi, 4
jmp 0x130aa51
mov ebp, dword [esi + 0xf0a034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x130aaac
sub esp, 0xffffff80
jmp 0x459150
Function at 0x10011680
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 0x100116be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100116b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100116c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100116a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10011790
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 0x100117c1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100117c1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100117c1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1001b196
Capabilities:
Encode data using xor

Disassembly:
call 0x1001b10f
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 0x1001b13f
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 0x1001b15b
xor edx, 0
jmp 0x1001b166
xor edx, edx
jmp 0x1001b17d
jmp 0x1001b189
xor eax, eax
push 0x8427d7c0
call 0x1001b196
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1001b1d2
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 0x1001b1ab
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 0x1001b1e9
add eax, 0
jno 0x1001b1ee
add esi, 0
ret 0x10
Function at 0x1001bf57
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 0x1001bf79
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 0x1001c11b
cmp edi, dword [ebp + 0x10]
jb 0x1001c11b
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.1001ba43
inc edi
jmp 0x1001c002
jmp 0x1001c00f
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ba43
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001ba43
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 0x1001c063
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 0x1001c047
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c091
add dword [eax], 0x39
jle 0x1001c06d
sub al, 0xf5
mov ch, al
call fcn.1001c0a6
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001dd7e
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 0x1001dd94
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 0x1001dda5
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001dde6
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 0x10020152
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 0x1002009b
add ebx, 0
push ecx
call 0x100200b0
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, 0x734d6010
sub ebx, dword [0x734f584f]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x734f583f
call fcn.1001bb7a
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b088
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1002020e
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1002020e
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 0x100201c5
mov eax, 1
lock xchg dword [0x734f584b], eax
push 0x3dd1fc71
call 0x10020152
push esi
add esp, 8
cmp eax, 0
jne 0x1002013b
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10020161
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10020176
cmp ecx, edx
cmp eax, 0
je 0x1002019b
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 0x10020185
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100201b4
dec eax
loope 0x100201b7
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x734f584b], 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 0x100201eb
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10020200
jmp 0x1002020b
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100200f9