joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10007faf
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0x178
mov eax, 0x1000b872
call fcn.10009c1c
cmp byte [0x10044502], 0
mov edi, dword [ebp + 8]
push 0xa
pop eax
jne 0x1000814a
lea eax, [ebp - 0x15c]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREApple_Computer__Inc.QuickTime
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10008061
lea eax, [ebp - 0x160]
mov dword [ebp - 0x160], 4
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
push ebx
push str.Version
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x15c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10008061
mov ecx, dword [ebp - 0x164]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
push 0xa
mov byte [0x1004450b], al
mov byte [0x1004450a], cl
mov word [0x10044508], bx
pop eax
jmp 0x1000813b
push 0x104
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push ebx
push 0x1000cb4c
lea eax, [ebp - 0x128]
push 0x118
push eax
call fcn.1000a7e5
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x1000812d
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x184]
call fcn.1000a7e5
lea ecx, [ebp - 0x184]
call fcn.1000a7e5
mov esi, edx
mov ebx, eax
mov ecx, esi
mov edx, ebx
shr ecx, 0x10
mov eax, esi
and cl, 0xf
mov byte [0x1004450b], cl
mov ecx, esi
shrd edx, ecx, 0x1c
shr ecx, 0x1c
mov ecx, ebx
shrd ecx, eax, 0x10
shrd ebx, esi, 0x1c
xor dl, cl
shr eax, 0x10
and dl, 0xf
shr esi, 0x1c
xor eax, eax
xor dl, bl
mov byte [0x1004450a], dl
mov esi, eax
mov word [0x10044508], ax
mov dword [0x10044504], eax
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], eax
mov dword [ebp - method.CFileVersion.virtual_0], vtable.CFileVersion.0
call fcn.10007b94
or dword [ebp - 4], 0xffffffff
mov ebx, dword [0x10044504]
test esi, esi
push 0xa
pop eax
cmovne ebx, eax
mov dword [0x10044504], ebx
mov byte [0x10044502], 1
jmp 0x10008150
mov ebx, dword [0x10044504]
test ebx, ebx
jne 0x1000816a
push 4
push 0x10044508
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.10009bc6
ret
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x168]
push 0x100429a8
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1000a7e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000a7f4
pop dword [ebp - 0x3c]
mov eax, 0xe98a2b0b
sub eax, 0xd9898317
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x6e5d57e1
sub dword [ebp - 0x4c], 0x200b1296
mov dword [ebp - 0x48], 0xc73e283b
sub dword [ebp - 0x48], 0x950adbf6
mov dword [ebp - 0x44], 0xcb419262
sub dword [ebp - 0x44], 0x7ef54e34
mov dword [ebp - 0x40], 0xbd3c08a6
add dword [ebp - 0x40], 0x42c3f75a
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x86f5d334
add dword [ebp - 0x4c], 0xed7c9622
mov dword [ebp - 0x48], 0x45fdf2c8
add dword [ebp - 0x48], 0xfb6e6ead
mov dword [ebp - 0x44], 0x9852ef70
add dword [ebp - 0x44], 0xcb1c7cfc
mov dword [ebp - 0x40], 0xee6f3b7e
sub dword [ebp - 0x40], 0xee6f3b7e
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xab3146f7
sub eax, 0x9b3086cb
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x36ca4
push 0
call eax
mov ecx, 0x4364
mov edx, eax
mov edi, 0xb83cd5a7
sub edi, 0xa83861a7
add edi, dword [ebp - 0x3c]
mov esi, 0x8450aa0
add esi, 0x69a3e160
add dword [ebp - 0x1c], 0x6618a5d8
mov ebx, dword [edi]
sub dword [ebp - 0x2c], ecx
sub ebx, esi
sub dword [ebp - 0x24], ebx
mov dword [edx], ebx
xor dword [ebp - 0x18], 0x8ab72a93
add edx, 0x2d8c2d75
sub edx, 0x2d8c2d71
add edi, 0x5836f5d7
add edi, 0xa7c90a2d
loop 0x1000a90b
add eax, 0xf7db5d8d
add eax, 0x825a2d6
mov ebx, eax
add eax, 0x342d486a
add eax, 0xcbd2b79b
mov ecx, 0xfa997c25
sub ecx, 0xea997c25
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4127bd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
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 dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0x100
movq qword [ebp - 0x1c], xmm0
call fcn.0040181e
mov esi, eax
push 0x100
push 0
push esi
lea edi, [esi + 0x100]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
call fcn.00402c70
mov dword [ebp - 0x18], edi
push 0x100
mov dword [ebp - 4], 0
call fcn.0040181e
push 0x100
mov edi, eax
push 0
push edi
mov dword [ebp - 0x24], edi
call fcn.00402c70
add esp, 0x20
mov dword [ebp - 0x20], esi
xor ebx, ebx
sub esi, edi
lea ecx, [edi + ebx]
mov eax, ebx
xor edx, edx
mov byte [esi + ecx], bl
mov edi, 7
inc ebx
div edi
mov edi, dword [ebp + 8]
mov al, byte [edx + edi]
mov edi, dword [ebp - 0x24]
mov byte [ecx], al
cmp ebx, 0x100
jl 0x401215
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov edi, esi
sub eax, esi
mov dword [ebp - 0x20], 0x100
mov dword [ebp - 0x30], eax
mov dl, byte [edi]
movzx eax, byte [eax + edi]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x40126d
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [esi + ebx]
mov byte [edi], al
inc edi
sub dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x30]
mov byte [esi + ebx], dl
jne 0x401250
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x28], ebx
jbe 0x4012e2
nop dword [eax + eax]
inc edi
and edi, 0x800000ff
jns 0x4012a1
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esi + edi]
movzx edx, cl
add ebx, edx
and ebx, 0x800000ff
jns 0x4012b9
dec ebx
or ebx, 0xffffff00
inc ebx
movzx eax, byte [esi + ebx]
mov byte [esi + edi], al
mov byte [esi + ebx], cl
movzx eax, byte [esi + edi]
mov ecx, dword [ebp - 0x20]
add eax, edx
mov edx, dword [ebp - 0x2c]
movzx eax, al
movzx eax, byte [eax + esi]
xor byte [edx + ecx], al
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x28]
jb 0x401290
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4012f7
push 0x100
push eax
call fcn.0040184e
add esp, 8
test esi, esi
je 0x401323
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, 0x1000
jb 0x401319
mov ecx, dword [esi - 4]
add eax, 0x23
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x401342
mov esi, ecx
push eax
push esi
call fcn.0040184e
add esp, 8
mov eax, dword [ebp - 0x2c]
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.00401810
mov esp, ebp
pop ebp
ret
call fcn.004060e5
int3
Function at 0x401350
Capabilities:
Copy file
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push str.CLR_Hosting_builder_for_WhiteSnake_by_Tr0uble_n
call fcn.00401010
add esp, 4
cmp dword [ebp + 8], 2
jg 0x401391
push str.Usage:_CLRHost.exe__INPUT.exe___OUTPUT.exe_
call fcn.00401010
add esp, 4
push 0
call fcn.004049be
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401455
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.00406136
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push 0
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401455
push 7
call fcn.0040185c
mov ecx, dword [esp + 0x10]
mov edx, edi
push eax
mov dword [eax], 0x78563412
mov word [eax + 4], 0x1234
mov byte [eax + 6], 0
call fcn.00401180
add esp, 8
mov ebx, eax
push 0
push dword [esi + 8]
push str.CLR_Stub.exe
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x401455
mov ecx, dword [esi + 8]
push edi
call fcn.004014c0
mov ecx, dword [esi + 8]
add esp, 4
mov edx, ebx
push edi
call fcn.00401710
add esp, 4
push str.Done.
call fcn.00401010
add esp, 4
push 0
call fcn.004049be
push str.Error...
call fcn.00401010
add esp, 4
push 0
call fcn.004049be
int3
Function at 0x401710
Capabilities:
Get file size
Parse pe header
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], edx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4017e5
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x1c]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4017de
push ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4017ce
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4017ce
mov edx, dword [esi + 0x3c]
add edx, esi
cmp dword [edx], 0x4550
jne 0x4017ce
movzx eax, word [edx + 6]
push ebx
push ebx
lea ecx, [eax + eax*4]
movzx eax, word [edx + 0x14]
add eax, edx
push dword [eax + ecx*8 + 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, 1
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401810
mov esp, ebp
pop ebp
ret

Function at 0x4020be
Capabilities:
Parse pe header

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

Function at 0x40ad4d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040a9ca

Function at 0x4121e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41220d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41220d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10007bab
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10032010], 0
mov byte [0x10032014], 0
mov dword [0x10032008], 0x21b3
mov dword [0x1003200c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x10032008], 0x76b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10032004], 0xae2
mov eax, dword [0x1003200c]
add eax, 1
mov dword [0x1003200c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007bf0
mov dword [0x10032004], 0x1eac
mov dword [0x1003200c], 0
mov eax, 0xb4a
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10007c4d
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xfffff78f
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x10032018], 0
mov dword [0x10032008], 0x141d
mov ebx, dword [0x10032010]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x10032018], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x10032008], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x10032010], edx
mov dword [0x10032004], 0x929
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x10032014], cl
mov dword [0x10032008], 0x1600
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x10032014]
mov esi, dword [0x10032010]
mov byte [edi + esi], cl
mov dword [0x10032004], 0xaf1
mov esi, dword [0x1003200c]
add esi, 1
mov dword [0x1003200c], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jl 0x10007c4d
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007d29
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov dword [0x10032008], 0x1a77
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10032004], 0x158d
mov esi, dword [0x10032008]
add esi, 0x1c0f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x10007de1
mov eax, dword [ebp - 0x1c]
add esp, 0x38
pop esi
pop ebp
ret
mov dword [0x10032004], 0x10f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x22], dx
mov eax, 0x10f
mov cx, word [ebp - 0x22]
cmp cx, 0x6c
mov dword [ebp - 0x28], eax
je 0x10007ebd
jmp 0x10007ee0
mov eax, 0xb26
mov dword [0x10032004], 0xb26
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x28], eax
je 0x10007e96
jmp 0x10007ee0
mov eax, dword [ebp - 0x18]
mov ecx, 0x873
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], esi
je 0x10007e1c
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], eax
jl 0x10007de1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x10032004], ecx
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov esi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], esi
jne 0x10007ee0
mov dword [0x10032008], 0x2651
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x39], dl
mov al, byte [ebp - 0x39]
test al, 1
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], ecx
jne 0x10007e6f
jmp 0x10007ee0
mov eax, 0x599
mov dword [0x10032004], 0x599
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x28], eax
je 0x10007db7
jmp 0x10007ee0
mov eax, 0x63f
mov dword [0x10032004], 0x63f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x28], eax
je 0x10007d82
jmp 0x10007ee0
mov eax, 1
mov ecx, 0x10f
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
je 0x10007d79
mov eax, dword [ebp - 0x28]
xor ecx, ecx
add eax, 0x599
mov dword [0x10032008], eax
mov dword [ebp - 0x1c], ecx
jmp 0x10007d79
Function at 0x10007ef7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1003200c], 0
mov dword [0x10032010], 0
mov dword [0x1003201c], 0
mov dword [0x10032008], 0xa49
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000806a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10032004], 0x155
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1003200c], edx
mov dword [0x10032008], 0x11f1
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10032010], edx
mov dword [0x10032008], 0x1930
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10032014], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10032014]
mov edx, dword [0x10032010]
mov byte [edi + edx], cl
mov dword [0x10032004], 0x134
mov edx, dword [0x1003200c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10032010]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10032004], 0xcb2
and ebx, 0xff
mov dword [0x1003201c], ebx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dword [0x10032004], 0xfa8
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10032008], 0x134d
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1000806a
mov eax, dword [0x1003200c]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x10032010]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x10007f5a
mov eax, dword [0x10032004]
add eax, 0x115a
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [0x10032004], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100080e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x10032008]
add ecx, 0xffffe584
mov dword [0x10032008], ecx
mov dword [0x10032004], 0x1e69
mov dword [ebp - 0x10], eax
call fcn.10008fd5
mov ecx, dword [0x10032004]
mov edx, eax
add ecx, 0xffffc0bc
mov dword [0x10032004], ecx
mov ecx, dword [eax + 0x3c]
mov dword [0x10032008], 0xfffffa68
mov dword [0x10032004], 0xffffe539
mov ecx, dword [eax + ecx + 0x78]
mov dword [0x10032008], 0xfffff632
mov esi, edx
add esi, dword [eax + ecx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ecx + edx + 0x24]
mov dword [0x10032004], 0x2418
mov edi, dword [ecx + edx + 0x18]
cmp edi, 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x10008285
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
jmp 0x100081a3
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + eax*4]
mov dword [0x10032004], 0x1e69
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x10008218
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x100081c7
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x10008256
jmp 0x10008221
mov eax, dword [ebp - 0x3c]
add eax, 2
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], eax
jb 0x100081a3
jmp 0x10008285
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10032008], 0xd4a
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [0x10032004], 0x14b4
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret