joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Accept command line arguments
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x416004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
mov esi, 0xfffffffe
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x220]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4010a7
lea eax, [ebp - 0x228]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40109b
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
push 0
push 0
push 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x21c]
push eax
push 0
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x4011f5
cmp dword [ebp - 0x22c], 4
jne 0x4011ee
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4011ee
push ebx
mov ebx, dword [edi + 4]
push 0xa
push 0
push dword [edi + 8]
mov dword [ebp - 0x224], ebx
call fcn.00404b86
push 0xa
push 0
push dword [edi + 0xc]
mov dword [ebp - 0x220], eax
call fcn.00404b86
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x401127
lea esi, [eax - 2]
jmp 0x4011ed
cmp dword [ebp - 0x220], 0
je 0x401150
push 0xead29360
push 0x2fcf9778
push str._bsfbkmwuKfmfOvI
push ebx
push esi
call fcn.00401370
add esp, 0x14
mov esi, eax
jmp 0x4011ed
push 0xc82efdf7
push 0x8201df87
push str.HxjcQrmkb
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00401420
add esp, 0x10
push esi
push 0
push 0x1fffff
call eax
mov ebx, eax
test ebx, ebx
je 0x4011e8
push 0x350bfacd
push 0xf81b2018
push str.DnafGhjlsX
push 0x57135138
push 0xeb08ff1c
push str.ZhagHzfd_
push 0xadc6a7b9
push 0xacd73c9b
push str.__wrl_KeghiCt
push 0x81bf81ad
push 0xc9456b35
push str.Rqbr_TcnorBnlgwz
push 0x7c337198
push 0x6918e8f6
push str.Emod_cefubWkbgk
push dword [ebp - 0x224]
push ebx
call fcn.00401210
add esp, 0x44
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4011ed
mov esi, 0xfffffffd
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004014d3
mov esp, ebp
pop ebp
ret

Function at 0x401cde
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d1d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d1d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d1d
cmp dword [ecx + 0x74], 0xe
jbe 0x401d1d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407f0b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407fa8
push ebx
push esi
call fcn.00407ed4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407e1d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x407f55
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407fa7
push edi
push eax
call fcn.00408b0d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x407f75
call fcn.00406ac8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407fa6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407e1d
add esp, 0x20
test eax, eax
jne 0x407f94
push edi
call fcn.00406ac8
jmp 0x407f9c
push ebx
call fcn.00406ac8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409290
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4112a0
push 0x411298
push str.FlsAlloc
push 0x1e
call fcn.00409151
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4092c4
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f144]
call esi
jmp 0x4092ca
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40930e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4112b0
push 0x4112a8
push str.FlsGetValue
push 0x20
call fcn.00409151
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409345
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40e720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e74d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e74d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448090]
jne 0x401abf
repz ret
jmp fcn.00402998

Function at 0x4092ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407679
and dword [ebp - 4], 0
cmp dword [0x44e174], 0
mov ebx, eax
jne 0x40935f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409410
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409410
push eax
call fcn.00407607
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44e174], eax
call esi
push eax
call fcn.00407607
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44e178], eax
call esi
push eax
call fcn.00407607
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e17c], eax
call esi
push eax
call fcn.00407607
pop ecx
mov dword [0x44e184], eax
test eax, eax
je 0x40935f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407607
pop ecx
mov dword [0x44e180], eax
mov eax, dword [0x44e180]
cmp eax, ebx
je 0x4093b7
cmp dword [0x44e184], ebx
je 0x4093b7
push eax
call fcn.00407682
push dword [0x44e184]
mov esi, eax
call fcn.00407682
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4093b7
test edi, edi
je 0x4093b7
call esi
test eax, eax
je 0x4093ae
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4093ae
test byte [ebp - 0xc], 1
jne 0x4093b7
or dword [ebp + 0x10], 0x200000
jmp 0x4093f0
mov eax, dword [0x44e178]
cmp eax, ebx
je 0x4093f0
push eax
call fcn.00407682
pop ecx
test eax, eax
je 0x4093f0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4093f0
mov eax, dword [0x44e17c]
cmp eax, ebx
je 0x4093f0
push eax
call fcn.00407682
pop ecx
test eax, eax
je 0x4093f0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e174]
call fcn.00407682
pop ecx
test eax, eax
je 0x409410
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409412
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d7ab
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bc4824], 0x930
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
jne 0x40d7d5
push str.hixijagijunajidomirupejixaxudolimilacofodik
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bc4824], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bc4540], eax
jne 0x40d809
push str.pasesibuhapijibitemamobumofaceco_bamenolunalazoxeduceh_zijetezudihedavacagobowavawe
push 0
call esi
lea eax, [ebp - 0x1c]
push eax
push str.gijuluzibuxomavifakulaxofaxutirerijasocazitixewecetanazisofosufexejacikicoyaxahowuburokujasulununucexikowuvulanavi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
leave
ret
Function at 0x6e1ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x222000]
push edi
or ebp, 0xffffffff
jmp 0x6e1b02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e1b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e1af8
mov eax, 1
add ebx, ebx
jne 0x6e1b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e1b2c
jne 0x6e1b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e1b4b
dec eax
add ebx, ebx
jne 0x6e1b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6e1b10
add ebx, ebx
jne 0x6e1b47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6e1b9d
xor ecx, ecx
sub eax, 3
jb 0x6e1b63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e1bd2
sar eax, 1
mov ebp, eax
jmp 0x6e1b6e
add ebx, ebx
jne 0x6e1b6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e1b3c
inc ecx
add ebx, ebx
jne 0x6e1b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e1b3c
add ebx, ebx
jne 0x6e1b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e1b7e
jne 0x6e1b9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e1b7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e1bbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e1bae
jmp 0x6e1afe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e1bbc
add edi, ecx
jmp 0x6e1afe
pop esi
mov edi, esi
mov ecx, 0xa9e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e1bda
cmp byte [edi], 0x19
jne 0x6e1bda
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 0x6e1bdf
lea edi, [esi + 0x2cf000]
mov eax, dword [edi]
or eax, eax
je 0x6e1c57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2e647c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2e65d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e1c0c
mov ecx, edi
jns 0x6e1c3b
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 + 0x2e65d4]
or eax, eax
je 0x6e1c51
mov dword [ebx], eax
add ebx, 4
jmp 0x6e1c29
call dword [esi + 0x2e65e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6e1c88
cmp al, 0xef
ja 0x6e1c7b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6e1c5d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6e1c6a
mov ebp, dword [esi + 0x2e65d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x6e1cbc
sub esp, 0xffffff80
jmp 0x51cad2
Function at 0x10001f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10001f21
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10001f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x10001f61
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10001f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x10001fa1
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002071
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100020a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x100020b1
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002181
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100021b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100021c1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100021f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x10002201
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x50
xor eax, eax
mov dl, byte [edi + eax + 0x5abdd636]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10002341
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x5b
xor eax, eax
mov dl, byte [edi + eax - 0x416a29a2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002381
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100024b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x100024c1
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100024f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x84
xor eax, eax
mov dl, byte [edi + eax - 0x49ba47c2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1e
jb 0x10002501
pop edi
mov byte [esi + 0x1e], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x89
xor eax, eax
mov dl, byte [edi + eax + 0x1af98a5a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x10002541
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x8c
xor eax, eax
mov dl, byte [edi + eax + 0x57243b52]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x10
jb 0x10002581
pop edi
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x10002631
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100026d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xbe
xor eax, eax
mov dl, byte [edi + eax + 0x6e0053c7]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x11
jb 0x100026e1
pop edi
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002891
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100028c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xeb
xor eax, eax
mov dl, byte [edi + eax - 0x7b6b46e5]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x20
jb 0x100028d1
pop edi
mov byte [esi + 0x20], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x10002a31
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10005880
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10140bd4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x1000590b
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x100058e3
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x100058e3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.10016ab0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000591f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1000591f
mov ecx, esi
call fcn.10005f50
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100144ff
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10005978
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10005948
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x1000595d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100144ff
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.10017030
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.10017030
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 0x100010], 0
xor ecx, ebp
mov byte [esi + 0x100038], 1
mov al, 1
pop edi
pop esi
call fcn.100144ff
mov esp, ebp
pop ebp
ret 8
Function at 0x10005a30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030966
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x10140bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [0x10033884]
mov dword [ebp - 0x18], eax
mov ax, word [0x10033888]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10005b94
lea esi, [ebp - 0x620]
nop dword [eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10005b80
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x10005aff
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005af0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.1000b1f0
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x10005b21
xor ecx, ecx
jmp 0x10005b3f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005b30
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.1000bb80
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005bb2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x10005b80
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.1000b510
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10005b80
cmp word [esi], ax
jne 0x10005aa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100144ff
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.10002d70
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.1000d250
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x10005bf8
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.1000b510
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x654]
call fcn.1001987d
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x10005c3c
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.1000b510
mov al, 1
jmp 0x10005b96