joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8080c8]
jne 0x4045aa
repz ret
jmp fcn.00406d0e

Function at 0x40692f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404621
and dword [ebp - 4], 0
cmp dword [0x809a10], 0
mov ebx, eax
jne 0x4069e0
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a91
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406a91
push eax
call fcn.004045af
mov dword [esp], 0x4019dc
push edi
mov dword [0x809a10], eax
call esi
push eax
call fcn.004045af
mov dword [esp], 0x4019c8
push edi
mov dword [0x809a14], eax
call esi
push eax
call fcn.004045af
mov dword [esp], 0x4019ac
push edi
mov dword [0x809a18], eax
call esi
push eax
call fcn.004045af
pop ecx
mov dword [0x809a20], eax
test eax, eax
je 0x4069e0
push 0x401994
push edi
call esi
push eax
call fcn.004045af
pop ecx
mov dword [0x809a1c], eax
mov eax, dword [0x809a1c]
cmp eax, ebx
je 0x406a38
cmp dword [0x809a20], ebx
je 0x406a38
push eax
call fcn.0040462a
push dword [0x809a20]
mov esi, eax
call fcn.0040462a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406a38
test edi, edi
je 0x406a38
call esi
test eax, eax
je 0x406a2f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406a2f
test byte [ebp - 0xc], 1
jne 0x406a38
or dword [ebp + 0x10], 0x200000
jmp 0x406a71
mov eax, dword [0x809a14]
cmp eax, ebx
je 0x406a71
push eax
call fcn.0040462a
pop ecx
test eax, eax
je 0x406a71
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a71
mov eax, dword [0x809a18]
cmp eax, ebx
je 0x406a71
push eax
call fcn.0040462a
pop ecx
test eax, eax
je 0x406a71
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x809a10]
call fcn.0040462a
pop ecx
test eax, eax
je 0x406a91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9dd8
push eax
mov dword fs:[0], esp
sub esp, 0x448
push esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x40375b
lea eax, [ebp - 0x454]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x403748
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov ebx, dword [ebp - 0x10]
xor esi, esi
call edi
cmp esi, 0x2b259d
jle 0x403782
cmp ebx, 0x785074d5
jne 0x40378b
inc esi
cmp esi, 0x1c1b
jl 0x403770
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x4037bd
inc esi
cmp esi, 0x4f6a4
jl 0x4037a0
cmp dword [0x8fb080], 0x400
jne 0x403800
push 0
lea ecx, [ebp - 0x454]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
lea eax, [ebp - 0x30]
call fcn.00403890
push 0
mov dword [ebp - 4], 0
call fcn.00403bc4
add esp, 4
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004038b0
mov edx, dword [0x4dc13c]
mov eax, dword [0x4dc110]
mov dword [0x8fb080], edx
mov dword [0x8fb084], eax
call fcn.004033e0
mov ebx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40383a
cmp ebx, 0x785074d5
jne 0x403843
inc esi
cmp esi, 0x11915
jl 0x403826
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
nop
cmp dword [0x8fb080], 0x51f
jne 0x403862
lea ecx, [ebp - 0x54]
push ecx
call esi
sub edi, 1
jne 0x403850
mov eax, dword [0x8f9fd4]
mov dword [0x8fa614], eax
call eax
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x404530
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4db0c8]
jne 0x40453a
repz ret
jmp fcn.00406c9e
Function at 0x4068bf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004045b1
and dword [ebp - 4], 0
cmp dword [0x4dca10], 0
mov ebx, eax
jne 0x406970
push 0x4019f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019ec
push edi
call esi
test eax, eax
je 0x406a21
push eax
call fcn.0040453f
mov dword [esp], 0x4019dc
push edi
mov dword [0x4dca10], eax
call esi
push eax
call fcn.0040453f
mov dword [esp], 0x4019c8
push edi
mov dword [0x4dca14], eax
call esi
push eax
call fcn.0040453f
mov dword [esp], 0x4019ac
push edi
mov dword [0x4dca18], eax
call esi
push eax
call fcn.0040453f
pop ecx
mov dword [0x4dca20], eax
test eax, eax
je 0x406970
push 0x401994
push edi
call esi
push eax
call fcn.0040453f
pop ecx
mov dword [0x4dca1c], eax
mov eax, dword [0x4dca1c]
cmp eax, ebx
je 0x4069c8
cmp dword [0x4dca20], ebx
je 0x4069c8
push eax
call fcn.004045ba
push dword [0x4dca20]
mov esi, eax
call fcn.004045ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069c8
test edi, edi
je 0x4069c8
call esi
test eax, eax
je 0x4069bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069bf
test byte [ebp - 0xc], 1
jne 0x4069c8
or dword [ebp + 0x10], 0x200000
jmp 0x406a01
mov eax, dword [0x4dca14]
cmp eax, ebx
je 0x406a01
push eax
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a01
mov eax, dword [0x4dca18]
cmp eax, ebx
je 0x406a01
push eax
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4dca10]
call fcn.004045ba
pop ecx
test eax, eax
je 0x406a21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcr ebx, 0xeb
rcr esi, 0xf4
or eax, 0xcb
add ebx, 0x9e
sub esi, 0x92
not esi
rol edx, 0x8e
sbb esi, 0x9c
neg edx
not edx
and edx, 0x7e
or ebx, 0x7d
not edx
rcr esi, 0x7f
neg ebx
not edx
rol ebx, 0xc8
rcr esi, 0x71
not esi
mov esi, 0x10
rcl edx, 0x9f
rcr edx, 6
ror esi, 0x8f
rol edx, 0xed
neg edi
ror eax, 0x45
sbb eax, 0x49
sbb esi, 0xa0
neg eax
bswap esi
ror esi, 0xed
bswap edi
neg edx
rcr edi, 0x7e
imul esi
not edx
inc eax
imul edx
rol eax, 0xc3
sub esi, 0x7a
neg edi
and ebx, 0x68
inc edx
imul edx
bswap eax
rcl edx, 0xcf
inc edx
add esi, 0x57
inc esi
sub ebx, 0xb9
xor ecx, ecx
xor edi, edi
bswap ebx
rcr eax, 0xa0
and ebx, 0xda
ror eax, 0xe8
inc eax
or eax, 0x3d
ror edx, 0x58
or edi, 0xd4
bswap eax
add edi, 0x50
rcl edx, 0x2a
neg ebx
and ebx, 0xc
add ebx, 0x1e
imul esi
ror esi, 0x18
inc ebx
add edx, 0x1a
dec edi
or edx, 0x84
sub edx, 0xa6
imul edx
inc edx
and edi, 0xd
bswap eax
mov edx, 0xa0
sub edi, 0x8a
inc ebx
sub esi, 0x10
bswap edi
ror eax, 0x16
rcl ebx, 0xdf
add eax, 0x5a
not eax
inc ebx
rcl esi, 0xe5
inc ebx
ror edi, 0xc5
not edi
rcr edi, 0x50
rcl esi, 0x68
bswap edi
imul eax
neg edx
rcl ebx, 0x75
dec ebx
inc eax
imul edi
or ebx, 0x1f
and edx, 0xd1
mov ecx, dword [ebp + 0xc]
rcr edx, 0xb1
rcl eax, 0xfc
neg eax
ror ebx, 0x89
not eax
sub edi, 0x4b
imul esi
sbb edi, 0x57
or edx, 0xef
bswap edx
inc ebx
rcr ebx, 0xe7
mov edx, 0x95
ror esi, 0xbf
not edx
dec edx
dec edi
neg ebx
add ebx, 0xf
sub esi, 0x61
neg esi
inc ebx
ror eax, 0xbc
rcr edi, 0xdb
add edi, 4
imul esi
sbb eax, 0xdc
and esi, 0x96
not eax
rcr ebx, 0xf0
bswap ebx
neg ebx
rcl esi, 0xcd
ror edi, 0x10
ror ebx, 0xe6
not ebx
dec eax
dec eax
bswap ebx
inc esi
and eax, 0xf8
dec esi
not esi
inc edx
or edi, 0x19
add edi, 0x7f
rcr eax, 0x48
inc esi
sbb ebx, 0x5e
ror ebx, 0x81
mov edi, dword [ebp + 8]
xor esi, eax
xor eax, esi
xor eax, eax
not byte [edi]
mov ebx, esi
xor eax, esi
mov eax, eax
xor eax, eax
xor esi, esi
xor esi, ebx
mov ebx, ebx
xor esi, eax
mov eax, ebx
add byte [edi], 0x26
mov eax, ebx
mov eax, ebx
xor eax, esi
xor ebx, esi
xor eax, ebx
xor eax, ebx
mov esi, eax
xor ebx, ebx
mov esi, esi
sub byte [edi], 0x86
xor esi, esi
mov esi, esi
xor ebx, esi
mov esi, ebx
xor ebx, esi
xor eax, esi
xor ebx, ebx
mov esi, eax
xor ebx, ebx
imul byte [edi]
inc edi
loop 0x4013c0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4062a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480464]
jne 0x4062b2
repz ret
jmp fcn.00408bc5
Function at 0x40aba3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406329
and dword [ebp - 4], 0
cmp dword [0x481d58], 0
mov ebx, eax
jne 0x40ac54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ad05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ad05
push eax
call fcn.004062b7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x481d58], eax
call esi
push eax
call fcn.004062b7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x481d5c], eax
call esi
push eax
call fcn.004062b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x481d60], eax
call esi
push eax
call fcn.004062b7
pop ecx
mov dword [0x481d68], eax
test eax, eax
je 0x40ac54
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004062b7
pop ecx
mov dword [0x481d64], eax
mov eax, dword [0x481d64]
cmp eax, ebx
je 0x40acac
cmp dword [0x481d68], ebx
je 0x40acac
push eax
call fcn.00406332
push dword [0x481d68]
mov esi, eax
call fcn.00406332
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40acac
test edi, edi
je 0x40acac
call esi
test eax, eax
je 0x40aca3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aca3
test byte [ebp - 0xc], 1
jne 0x40acac
or dword [ebp + 0x10], 0x200000
jmp 0x40ace5
mov eax, dword [0x481d5c]
cmp eax, ebx
je 0x40ace5
push eax
call fcn.00406332
pop ecx
test eax, eax
je 0x40ace5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ace5
mov eax, dword [0x481d60]
cmp eax, ebx
je 0x40ace5
push eax
call fcn.00406332
pop ecx
test eax, eax
je 0x40ace5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x481d58]
call fcn.00406332
pop ecx
test eax, eax
je 0x40ad05
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ad07
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x10002bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
lea edx, [ebp - 0x1c]
push 1
call fcn.100027c0
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x10002d0e
mov cx, word [0x10015150]
movq xmm0, qword [0x10015148]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0xc], cx
test ch, ch
je 0x10002c26
xor ebx, ebx
nop dword [eax]
mov eax, 0xcccccccd
mul ebx
mov al, bl
shr edx, 3
mov cl, dl
shl dl, 2
add cl, dl
add cl, cl
sub al, cl
add al, 0x38
xor byte [ebp + ebx - 0x14], al
inc ebx
cmp ebx, 0xa
jl 0x10002c00
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
push 0x51
mov edx, 1
call fcn.10001030
add esp, 4
call eax
push eax
lea edx, [ebp - 0x14]
mov ecx, ebx
call fcn.10003460
add esp, 8
mov edx, 1
push esi
push 0x2e
call fcn.10001030
add esp, 4
call eax
cmp eax, 0xffffffff
jne 0x10002c77
push 0x30
mov edx, 1
call fcn.10001030
add esp, 4
call eax
jmp 0x10002c8d
test al, 0x10
jne 0x10002c8d
push esi
push 0x19
mov edx, 1
call fcn.10001030
add esp, 4
call eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
push 0xc
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x10002d0e
cmp esi, 0xffffffff
je 0x10002d0e
push 0
lea eax, [ebp - 8]
mov edx, 1
push eax
push edi
push ebx
push esi
push 0x9e
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x10002d0e
cmp edi, dword [ebp - 8]
jne 0x10002d0e
push esi
push 4
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x10002d0e
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100055ab
mov esp, ebp
pop ebp
ret
Function at 0x10002d30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movups xmm0, xmmword [0x1001520c]
mov ax, word [0x10015224]
xor ecx, ecx
cmp dword [0x10017bfc], 2
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 4], ax
movq xmm0, qword [0x1001521c]
movq qword [ebp - 0xc], xmm0
jl 0x10002e51
movaps xmm2, xmmword [0x10015870]
mov eax, 2
movaps xmm3, xmmword [0x100158f0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x1001520c
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015880]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x100158a0]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x1c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015890]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x14]
paddw xmm1, xmmword [0x100158a0]
pxor xmm1, xmm0
movq qword [ebp - 0x14], xmm1
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*4]
add eax, eax
sub edx, eax
add edx, 0x30
xor word [ebp + ecx*2 - 0x1c], dx
inc ecx
cmp ecx, 0xd
jl 0x10002e51
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x1c]
mov edx, 1
push eax
push 0xc
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x10002ea9
cmp eax, 0xffffffff
jne 0x10002eab
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002eb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10015cb0
push 0x100061e0
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x10017004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0xa5c], esi
push esi
push 2
push 0x12
lea edx, [esi + 1]
call fcn.10001030
add esp, 4
call eax
mov ebx, eax
mov dword [ebp - 0xa64], ebx
call fcn.10002d30
mov edi, eax
mov dword [ebp - 0xa58], edi
test edi, edi
je 0x1000310c
cmp ebx, 0xffffffff
je 0x100030f8
mov dword [ebp - 0xa54], 0x22c
lea eax, [ebp - 0xa54]
push eax
push ebx
push 0x64
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x100030e6
nop dword [eax]
nop dword [eax + eax]
cmp dword [0x100182b0], 0
jne 0x100030e0
mov dword [ebp - 0xa60], 0
xor ebx, ebx
mov cx, word [ebp - 0xa30]
lea edi, [ebp - 0xa30]
mov eax, dword [0x100182ac]
test cx, cx
je 0x10002fbf
movzx edx, cx
movzx esi, dx
lea ecx, [edx - 0x61]
lea edx, [esi + 0x20]
cmp cx, 0x19
cmova esi, edx
imul ecx, esi, 0x1000193
xor eax, ecx
lea edi, [edi + 2]
movzx ecx, word [edi]
mov edx, ecx
test cx, cx
jne 0x10002f93
mov cx, word [ebp - 0xa30]
shr eax, 2
cmp eax, dword [ebx + 0x10014ee8]
je 0x10002fdd
add ebx, 4
cmp ebx, 0x194
jb 0x10002f80
mov eax, dword [ebp - 0xa60]
jmp 0x10002fe2
mov eax, 1
test eax, eax
je 0x100030b3
mov dword [ebp - 0x828], 1
mov eax, dword [ebp - 0xa4c]
mov dword [ebp - 0x824], eax
push eax
push 0
push 0x1000
push 0x5e
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x100030b3
lea eax, [ebp - 0x20]
push eax
push esi
push 0x2d
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x100030b3
cmp dword [ebp - 0x20], 0x103
jne 0x100030b3
push esi
push 4
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0x808
lea eax, [ebp - 0x828]
push eax
push 0x22e010
mov edi, dword [ebp - 0xa58]
push edi
push 0x1d
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
je 0x1000309a
inc dword [ebp - 0xa5c]
mov dword [ebp - 4], 0xfffffffe
jmp 0x100030b9
mov edi, dword [ebp - 0xa58]
lea eax, [ebp - 0xa54]
push eax
mov ebx, dword [ebp - 0xa64]
push ebx
push 0x66
mov edx, 1
call fcn.10001030
add esp, 4
call eax
test eax, eax
jne 0x10002f60
mov esi, dword [ebp - 0xa5c]
push ebx
push 4
mov edx, 1
call fcn.10001030
add esp, 4
call eax
push edi
push 4
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100055ab
mov esp, ebp
pop ebp
ret
Function at 0x10003460
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov edx, 1
push 0x36
mov dword [ebp - 0x18], ecx
call fcn.10001030
add esp, 4
call eax
push 0x100
mov ebx, eax
xor edx, edx
push 0
push ebx
push 0x7b
mov dword [ebp - 0x1c], ebx
call fcn.10001030
add esp, 4
call eax
push 0x100
push 0
push ebx
push 0x7b
xor edx, edx
mov dword [ebp - 4], eax
call fcn.10001030
add esp, 4
call eax
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x14], edi
xor ecx, ecx
mov edi, dword [ebp - 4]
mov dword [ebp - 0x10], ebx
sub ebx, edi
mov eax, ecx
lea esi, [ecx + edi]
xor edx, edx
mov edi, dword [ebp - 0xc]
div dword [ebp + 8]
mov byte [ebx + esi], cl
inc ecx
mov al, byte [edx + edi]
mov edi, dword [ebp - 4]
mov byte [esi], al
cmp ecx, 0x100
jl 0x100034c5
mov ebx, dword [ebp - 0x10]
mov eax, edi
mov edi, dword [ebp - 0x14]
sub eax, ebx
mov esi, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0x100
nop dword [eax]
mov dl, byte [esi]
movzx eax, byte [eax + esi]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x1000351d
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + ebx]
mov byte [edi + ebx], dl
mov byte [esi], al
inc esi
sub dword [ebp - 8], 1
mov eax, dword [ebp - 0x10]
jne 0x10003500
xor edx, edx
xor esi, esi
cmp dword [ebp + 0xc], edx
jbe 0x1000358e
xor edi, edi
nop word [eax + eax]
inc edi
and edi, 0x800000ff
jns 0x10003551
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [edi + ebx]
movzx eax, cl
add edx, eax
and edx, 0x800000ff
jns 0x10003569
dec edx
or edx, 0xffffff00
inc edx
mov al, byte [edx + ebx]
mov byte [edx + ebx], cl
mov byte [edi + ebx], al
movzx ecx, al
movzx eax, byte [edx + ebx]
add ecx, eax
movzx eax, cl
mov ecx, dword [ebp - 0x18]
movzx eax, byte [eax + ebx]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x10003540
mov eax, dword [ebp - 4]
xor edx, edx
mov esi, dword [ebp - 0x1c]
push eax
push 0
push esi
push 0x7c
call fcn.10001030
add esp, 4
call eax
push ebx
push 0
push esi
push 0x7c
xor edx, edx
call fcn.10001030
add esp, 4
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100035c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
push 0x36
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10003716
push 0xa
movzx ecx, di
mov edx, 1
push ecx
push esi
push 0x21
call fcn.10001030
add esp, 4
call eax
mov edi, eax
test edi, edi
je 0x10003716
push edi
push esi
push 0x48
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov ebx, eax
test ebx, ebx
je 0x10003716
push edi
push esi
push 0x86
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov edi, dword [ebp + 8]
mov dword [edi], eax
test eax, eax
je 0x10003716
push ebx
push 0x4b
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov dword [ebp - 8], eax
test eax, eax
je 0x10003716
push dword [edi]
xor edx, edx
push 0
push dword [ebp - 4]
push 0x7b
call fcn.10001030
add esp, 4
call eax
mov esi, eax
test esi, esi
je 0x10003716
push dword [edi]
xor edx, edx
push dword [ebp - 8]
push esi
push 0x7f
call fcn.10001030
add esp, 4
call eax
push ebx
push 0x24
mov edx, 1
call fcn.10001030
add esp, 4
call eax
mov ax, word [0x10015244]
movq xmm0, qword [0x1001523c]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 0xc], ax
test ah, ah
je 0x100036f3
xor ebx, ebx
nop word [eax + eax]
mov eax, 0xcccccccd
mul ebx
mov al, 5
shr edx, 3
sub al, dl
mov cl, al
shl al, 2
add cl, al
add cl, cl
add cl, bl
xor byte [ebp + ebx - 0x14], cl
inc ebx
cmp ebx, 0xa
jl 0x100036d0
push dword [edi]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x14]
mov ecx, esi
call fcn.10003460
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret