joyce8/EMBER2024-capa huggingface dataset:
Function at 0x738f643e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x738f6488
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x738f642f
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x738f643e
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x73cfc0e1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x738f648f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.738dd305
cmp eax, dword [ebp + 0xc]
pop eax
je 0x738f652e
add edi, 4
add eax, 2
dec ecx
jne 0x738f6474
call 0x738f64db
loope 0x738f64d1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x738f652b
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x738f653c
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x738f64ef
cmp eax, ecx
ja 0x738f64ef
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x738f6579
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x738f656f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.738dd7e4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x41ae47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x170
push esi
xor esi, esi
push edi
lea eax, [esp + 0x28]
push esi
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], esi
call dword [fcn.00405030]
test eax, eax
jne 0x41ae92
pop edi
pop esi
add esp, 0x170
ret 4
mov eax, dword [esp + 8]
push esi
push 1
push eax
call dword [fcn.0040502c]
test eax, eax
jne 0x41aeaf
pop edi
pop esi
add esp, 0x170
ret 4
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x34]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x20], ecx
push edx
mov dword [esp + 0x28], ecx
mov ecx, 0x11
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x2c]
or eax, 0x101
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x184]
push esi
push esi
push esi
push 1
push ecx
push edx
push eax
push esi
mov word [esp + 0x8c], si
call dword [fcn.00405028]
test eax, eax
jne 0x41af44
mov ecx, dword [esp + 0xc]
mov esi, dword [fcn.0040501c]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
pop edi
xor eax, eax
pop esi
add esp, 0x170
ret 4
mov eax, dword [esp + 0x18]
push ebx
push ebp
push 0x64
push eax
call dword [fcn.004050e8]
mov ecx, dword [esp + 0x14]
push ecx
call dword [fcn.0040501c]
mov edi, dword [0x4064d4]
mov ebx, dword [0x405024]
mov ecx, 0x80000
xor eax, eax
rep stosd dword es:[edi], eax
xor ebp, ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x80]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push esi
push edx
lea eax, [esp + 0x88]
push 0xff
push eax
push ecx
mov dword [esp + 0x2c], esi
call ebx
mov edx, eax
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x41aff1
add ebp, eax
cmp ebp, 0x200000
mov dword [esp + 0x1c], ebp
jae 0x41aff1
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x4064d4]
mov ebp, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
cmp edx, esi
jne 0x41af75
mov edx, dword [0x4064d4]
push edx
call fcn.0041adb7
mov edi, dword [fcn.0040501c]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x170
ret 4
Function at 0x402142
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43b14c]
jne 0x40214c
repz ret
jmp fcn.00402c71

Function at 0x41069c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b14c]
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.00405a1d
and dword [ebp - 0x14], 0
cmp dword [0x43dfc0], 0
mov dword [ebp - 0x18], eax
jne 0x41074f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4107f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4107f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43dfc0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43dfc4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43dfc8], eax
call edi
push eax
call esi
mov dword [0x43dfd0], eax
test eax, eax
je 0x41074f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43dfcc], eax
mov eax, dword [0x43dfcc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4107a8
cmp dword [0x43dfd0], ecx
je 0x4107a8
push eax
call esi
push dword [0x43dfd0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4107a8
test ebx, ebx
je 0x4107a8
call edi
test eax, eax
je 0x41079f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41079f
test byte [ebp - 8], 1
jne 0x4107a8
or dword [ebp + 0x10], 0x200000
jmp 0x4107db
mov eax, dword [0x43dfc4]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4107db
mov eax, dword [0x43dfc8]
cmp eax, dword [ebp - 0x18]
je 0x4107db
push eax
call esi
test eax, eax
je 0x4107db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43dfc0]
call esi
test eax, eax
je 0x4107f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4107f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402142
leave
ret
Function at 0x42c3e0
Capabilities:
Get disk information
Get system information on windows
Manipulate console buffer
Write file on windows

Disassembly:
sub esp, 0x430
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
jmp 0x42c410
cmp dword [0x44123c], 0x3dc
mov dword [0x440ea4], edi
jne 0x42c426
push 0
call esi
dec ebx
jne 0x42c410
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor esi, esi
lea ecx, [ecx]
cmp dword [0x44123c], 0x933
jne 0x42c487
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
cmp esi, 0x845fef
jne 0x42c4a1
mov edx, dword [0x43cd40]
add edx, 0xa231
mov dword [0x44123c], edx
cmp dword [0x44123c], 0x141
jne 0x42c4dc
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call ebp
mov dword [0x43e4e8], 0xec58acac
mov dword [0x43e4ec], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x42c440
call fcn.0042bf70
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00402142
add esp, 0x430
ret 0x10
Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430004]
jne 0x4010fa
repz ret
jmp fcn.004014df

Function at 0x408e5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430004]
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.00403a3e
and dword [ebp - 0x14], 0
cmp dword [0x432d7c], 0
mov dword [ebp - 0x18], eax
jne 0x408f0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408fb7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408fb7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x432d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x432d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x432d84], eax
call edi
push eax
call esi
mov dword [0x432d8c], eax
test eax, eax
je 0x408f0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x432d88], eax
mov eax, dword [0x432d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408f68
cmp dword [0x432d8c], ecx
je 0x408f68
push eax
call esi
push dword [0x432d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408f68
test ebx, ebx
je 0x408f68
call edi
test eax, eax
je 0x408f5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408f5f
test byte [ebp - 8], 1
jne 0x408f68
or dword [ebp + 0x10], 0x200000
jmp 0x408f9b
mov eax, dword [0x432d80]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408f9b
mov eax, dword [0x432d84]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432d7c]
call esi
test eax, eax
je 0x408fb7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408fb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010f0
leave
ret
Function at 0x424dd0
Capabilities:
Get system information on windows
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x430004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x433a6c]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ebp, 0x1519a5
mov ebx, 0x8e46a7b8
mov dword [0x4336d4], ebx
cmp eax, 0x3dc
jne 0x424e22
push 0
push 0x42e494
call esi
push 0
call edi
mov eax, dword [0x433a6c]
dec ebp
jne 0x424e03
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [sym.imp.KERNEL32.dll_CancelIo]
xor esi, esi
cmp eax, 0x933
jne 0x424e6b
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
lea edx, [esp + 0x34]
push edx
push ebp
mov dword [esp + 0x24], ebp
call edi
push ebp
call ebx
mov eax, dword [0x433a6c]
cmp esi, 0x845fef
jne 0x424e82
mov eax, dword [0x431bd0]
add eax, 0xa231
mov dword [0x433a6c], eax
cmp eax, 0x141
jne 0x424e9d
mov dword [0x4332a8], 0xec58acac
mov dword [0x4332ac], 0xffffffff
inc esi
cmp esi, 0x12d1832
jl 0x424e33
call fcn.00424a10
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004010f0
add esp, 0x41c
ret 0x10
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4c18495f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7c951995
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406d64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push str._INS0432.INI
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00406fbf
push 0
push 0x80
push 2
push 0
push 1
lea eax, [ebp - 0x108]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x410908
push dword [ebp + 0xc]
mov dword [0x410904], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [0x41090c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
leave
ret

Function at 0x4096f0
Capabilities:
Inspect section memory permissions

Disassembly:
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0040913f
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x40973e
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040913f
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x40970b
call fcn.004091ce
ffree st(6)
mov cl, byte [ebx - 0x1fcc382]
jle 0x409786
add edi, esi

Function at 0x409748
Capabilities:
Inspect section memory permissions

Disassembly:
jle 0x409786
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x4099bd
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x409773
cmp dword [eax + 0xc], ebx
je 0x409816
add byte [eax], al
invalid
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.004091ce
inc esi
dec ecx
inc dword [esi + 0x49]
and eax, 0xc5d398f
jne 0x4097a2
invalid
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4099bd
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x4097b6
mov dword [ebp + 0x10], edi
jmp 0x4097bb
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.004091ce
cwde
sbb ch, byte [edx + 0x10458bae]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x409804
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4097df
and eax, 0xffff
push eax
jmp 0x4097e3
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409193
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4099bd
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4097c4
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x409765
call fcn.004091ce
invalid
Function at 0x409770
Capabilities:
Inspect section memory permissions

Disassembly:
jle 0x409786
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x4099bd
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x409773
cmp dword [eax + 0xc], ebx
je 0x409816
add byte [eax], al
invalid
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.004091ce
inc esi
dec ecx
inc dword [esi + 0x49]
and eax, 0xc5d398f
jne 0x4097a2
invalid
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x4099bd
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x4097b6
mov dword [ebp + 0x10], edi
jmp 0x4097bb
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.004091ce
cwde
sbb ch, byte [edx + 0x10458bae]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x409804
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4097df
and eax, 0xffff
push eax
jmp 0x4097e3
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00409193
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x4099bd
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4097c4
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x409765
call fcn.004091ce
invalid
Function at 0x4098d6
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4098a5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4098c3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409921
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x409908
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409911
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40991b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4098fd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x409887
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40996e
dec eax
je 0x409965
sub eax, 3
je 0x40995c
mov dword [ebp - 4], 0x40
jmp 0x40998b
mov dword [ebp - 4], 4
jmp 0x409971
mov dword [ebp - 4], 0x20
jmp 0x409971
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4099bd
invalid
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40993d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004091ce
jecxz 0x40997c
xchg esp, eax
ud0
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x8f
mov dword [ebp - 8], 0
jmp 0x10002142
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jge 0x10002181
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x5e301c7e]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000217c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10002139
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100022f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x6a
mov dword [ebp - 8], 0
jmp 0x10002312
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x29
jge 0x10002351
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x10ff3b30]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x1000234c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10002309
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100023a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x88
mov dword [ebp - 8], 0
jmp 0x100023c2
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2b
jge 0x10002401
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x732d4b64]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x100023fc
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x100023b9
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x2b], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10002450
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x6e
mov dword [ebp - 8], 0
jmp 0x10002472
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x26
jge 0x100024b1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
movsx edx, byte [ecx - 0x60d280bc]
xor edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x100024ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
jmp 0x10002469
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x26], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4