joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41eeb2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], bl
je 0x41eedd
cmp eax, 1
je 0x41eedd
jle 0x41eee5
cmp eax, 3
jle 0x41eedd
cmp eax, 4
jne 0x41eee5
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x41ef10
call fcn.00416318
mov dword [eax], 0x16
call fcn.00416321
mov dword [eax], ebx
or eax, 0xffffffff
jmp 0x41f089
inc eax
cmp byte [eax], bl
jne 0x41eeff
lea ecx, [eax + 1]
cmp byte [ecx], bl
je 0x41ef10
mov byte [eax], 0x20
mov eax, ecx
cmp byte [eax], bl
jne 0x41eeff
push esi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041b620
mov dword [ebp - 0x68], esi
mov esi, dword [0x468220]
add esp, 0xc
cmp esi, ebx
je 0x41ef56
lea ecx, [esi - 1]
mov edx, ecx
mov eax, ecx
sar edx, 5
mov edx, dword [edx*4 + 0x468240]
and eax, 0x1f
lea eax, [eax + eax*8]
cmp byte [edx + eax*4 + 4], bl
jne 0x41ef56
dec esi
dec ecx
cmp esi, ebx
jne 0x41ef36
lea eax, [esi + esi*4 + 4]
mov word [ebp - 0x36], ax
push edi
movzx eax, ax
push 1
push eax
call fcn.004151a4
cmp esi, ebx
mov dword [ebp - 0x34], eax
pop ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
pop ecx
mov dword [ebp - 8], ebx
lea ecx, [eax + 4]
lea edx, [eax + esi + 4]
jle 0x41efbd
mov eax, dword [ebp - 8]
mov edi, eax
sar edi, 5
mov edi, dword [edi*4 + 0x468240]
and eax, 0x1f
lea eax, [eax + eax*8]
lea edi, [edi + eax*4]
mov al, byte [edi + 4]
test al, 0x10
jne 0x41efa9
mov byte [ecx], al
mov eax, dword [edi]
mov dword [edx], eax
jmp 0x41efae
mov byte [ecx], bl
or dword [edx], 0xffffffff
inc dword [ebp - 8]
inc ecx
add edx, 4
cmp dword [ebp - 8], esi
jl 0x41ef82
mov eax, dword [ebp - 0x34]
cmp byte [ebp - 1], bl
je 0x41efee
lea ecx, [eax + 4]
xor edx, edx
lea eax, [eax + esi + 4]
cmp esi, 3
jge 0x41efd4
mov edi, esi
jmp 0x41efd7
push 3
pop edi
cmp edx, edi
jge 0x41efe7
mov byte [ecx], bl
or dword [eax], 0xffffffff
inc edx
inc ecx
add eax, 4
jmp 0x41efcb
mov dword [ebp - 0xc], 8
call fcn.00416318
mov dword [eax], ebx
call fcn.00416321
mov dword [eax], ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0xc]
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x34]
mov edi, eax
call fcn.004143d6
cmp esi, ebx
pop ecx
jne 0x41f03e
push edi
call fcn.0041632a
pop ecx
or eax, 0xffffffff
jmp 0x41f087
cmp dword [ebp + 8], 2
jne 0x41f04a
push ebx
call fcn.0041a5b4
cmp dword [ebp + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x41f077
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x24]
call esi
jmp 0x41f080
cmp dword [ebp + 8], 4
je 0x41f070
mov ebx, dword [ebp - 0x24]
push dword [ebp - 0x20]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f365
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x467f88], ebx
push esi
push edi
jne 0x41f3e5
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41f420
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42491c
push edi
call esi
test eax, eax
mov dword [0x467f88], eax
je 0x41f420
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x467f8c], eax
call esi
cmp dword [0x467cc0], 2
mov dword [0x467f90], eax
jne 0x41f3e5
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x467f98], eax
je 0x41f3e5
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x467f94], eax
mov eax, dword [0x467f94]
test eax, eax
je 0x41f42a
call eax
test eax, eax
je 0x41f411
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x467f98]
test eax, eax
je 0x41f411
test byte [ebp - 8], 1
jne 0x41f42a
cmp dword [0x467ccc], 4
jb 0x41f424
or byte [ebp + 0x12], 0x20
jmp 0x41f449
xor eax, eax
jmp 0x41f459
or byte [ebp + 0x12], 4
jmp 0x41f449
mov eax, dword [0x467f8c]
test eax, eax
je 0x41f449
call eax
mov ebx, eax
test ebx, ebx
je 0x41f449
mov eax, dword [0x467f90]
test eax, eax
je 0x41f449
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x467f88]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f4a2
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00414210
mov eax, dword [0x427278]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.0041b8f4
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x41f5d7
push 2
push esi
push dword [ebp + 8]
call fcn.0041b8f4
add esp, 0xc
cmp eax, ebx
je 0x41f5d7
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41f577
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0041b620
push 0x8000
push dword [ebp + 8]
call fcn.0042005a
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x41f52d
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0041c478
add esp, 0xc
cmp eax, 0xffffffff
je 0x41f54d
sub edi, eax
test edi, edi
jg 0x41f525
jmp 0x41f565
call fcn.00416321
cmp dword [eax], 5
jne 0x41f562
call fcn.00416318
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042005a
pop ecx
pop ecx
jmp 0x41f5bf
jge 0x41f5bf
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b8f4
push dword [ebp + 8]
call fcn.0041d89d
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x41f5bf
call fcn.00416318
mov dword [eax], 0xd
call fcn.00416321
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.0041b8f4
add esp, 0xc
mov eax, esi
pop edi
jmp 0x41f5d9
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e12c
leave
ret
Function at 0x41fe84
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x41fe9d
or eax, 0xffffffff
jmp 0x41fefe
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x41fefa
push 0x3d
push esi
call fcn.0041ee37
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x41fefa
cmp esi, eax
je 0x41fefa
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x467ce0]
sete cl
cmp eax, dword [0x467ce4]
mov dword [ebp - 4], ecx
jne 0x41fee0
mov edi, eax
call fcn.0041fe23
mov dword [0x467ce0], eax
cmp eax, ebx
jne 0x41ff39
cmp dword [ebp + 0xc], ebx
je 0x41ff02
cmp dword [0x467ce8], ebx
je 0x41ff02
call fcn.0041f2d5
test eax, eax
je 0x41ff39
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
je 0x41ff0b
xor eax, eax
jmp 0x41fefd
push 4
call fcn.00414902
cmp eax, ebx
pop ecx
mov dword [0x467ce0], eax
je 0x41fefa
mov dword [eax], ebx
cmp dword [0x467ce8], ebx
jne 0x41ff39
push 4
call fcn.00414902
cmp eax, ebx
pop ecx
mov dword [0x467ce8], eax
je 0x41fefa
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
mov ebx, dword [0x467ce0]
sub edi, esi
push esi
call fcn.0041fdd6
mov edi, eax
test edi, edi
pop ecx
jl 0x41ffa0
cmp dword [ebx], 0
je 0x41ffa0
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004143d6
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x41ff80
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x41ffe1
mov ecx, dword [esi + 4]
inc edi
mov dword [esi], ecx
lea esi, [ebx + edi*4]
cmp dword [esi], eax
jne 0x41ff77
mov eax, edi
shl eax, 2
push eax
push dword [0x467ce0]
call fcn.00414a84
test eax, eax
mov esi, dword [ebp - 8]
pop ecx
pop ecx
je 0x41ffe1
jmp 0x41ffdc
cmp dword [ebp - 4], 0
jne 0x420048
test edi, edi
jge 0x41ffb0
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x467ce0]
call fcn.00414a84
test eax, eax
pop ecx
pop ecx
je 0x41fefa
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov ecx, dword [ebp + 8]
and dword [ecx], 0
mov dword [0x467ce0], eax
cmp dword [ebp + 0xc], 0
je 0x420033
push esi
call fcn.0041b590
inc eax
inc eax
push eax
call fcn.00414902
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x420033
push esi
push edi
call fcn.0041bad0
mov eax, edi
sub eax, esi
add eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov byte [eax], 0
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42002c
or dword [ebp - 0x10], 0xffffffff
push edi
call fcn.004143d6
pop ecx
cmp dword [ebp - 4], 0
je 0x420040
push esi
call fcn.004143d6
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41fefd
push esi
call fcn.004143d6
mov eax, dword [ebp + 8]
and dword [eax], 0
pop ecx
jmp 0x41ff07
Function at 0x40a83c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov edi, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov esi, dword [eax + 0xc]
test esi, esi
je 0x40a972
test ecx, ecx
jle 0x40a97d
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x18]
nop
lea ecx, [eax*8]
movzx ebx, byte [esi + edx]
movzx ebx, byte [ebx + 0x4ac480]
xor ecx, ebx
xor eax, ecx
inc edx
cmp edx, dword [ebp - 0x14]
jne 0x40a86c
mov esi, dword [ebp - 0x10]
xor edx, edx
div dword [edi]
shl edx, 3
lea edx, [esi + edx]
mov esi, dword [edx + 4]
mov eax, dword [edx]
test eax, eax
je 0x40a968
test esi, esi
je 0x40a968
dec eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x1c], eax
jmp 0x40a8d0
mov esi, dword [esi]
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x40a968
test esi, esi
je 0x40a968
dec dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
cmp ebx, dword [esi + 0x10]
jne 0x40a8b8
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
test ebx, ebx
jle 0x40a940
mov bl, byte [eax]
test bl, bl
je 0x40a940
movzx ebx, bl
mov dword [ebp - 0x20], ebx
movzx edi, byte [ecx]
mov dword [ebp - 0x24], edi
mov bl, byte [ebx + 0x4ac480]
mov edi, dword [ebp - 0x24]
cmp bl, byte [edi + 0x4ac480]
jne 0x40a940
mov dword [ebp - 0x24], esi
jmp 0x40a933
mov bl, byte [eax]
test bl, bl
je 0x40a93d
movzx edi, bl
movzx ebx, byte [ecx]
mov dword [ebp - 0x20], ebx
movzx edi, byte [edi + 0x4ac480]
mov ebx, edi
mov esi, dword [ebp - 0x20]
cmp bl, byte [esi + 0x4ac480]
jne 0x40a93d
inc eax
inc ecx
dec edx
lea ebx, [edx + 1]
test ebx, ebx
jg 0x40a910
mov esi, dword [ebp - 0x24]
test edx, edx
js 0x40a95c
movzx eax, byte [eax]
movzx edx, byte [ecx]
mov al, byte [eax + 0x4ac480]
cmp al, byte [edx + 0x4ac480]
jne 0x40a8b8
mov eax, dword [esi + 8]
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret
mov esi, dword [eax + 8]
mov eax, dword [eax + 4]
jmp 0x40a89a
xor edx, edx
jmp 0x40a892
Function at 0x40d404
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, eax
mov esi, edx
test eax, eax
je 0x40d444
test edx, edx
je 0x40d444
movzx eax, word [eax + 2]
test ah, 0x10
jne 0x40d438
movzx edx, word [edx + 2]
test dh, 0x10
jne 0x40d438
xor eax, edx
test al, 0x10
jne 0x40d438
mov al, byte [ebx]
cmp al, byte [esi]
je 0x40d454
nop
xor eax, eax
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
xor eax, eax
cmp esi, ebx
sete al
add esp, 0x1c
pop ebx
pop esi
pop edi
leave
ret
mov edx, dword [esi + 8]
mov eax, dword [ebx + 8]
call fcn.0040d404
test eax, eax
je 0x40d438
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0xc]
call fcn.0040d404
test eax, eax
je 0x40d438
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x40d4be
mov edx, dword [esi + 0x10]
test edx, edx
je 0x40d438
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x40d438
test ecx, ecx
jle 0x40d4c8
xor edi, edi
xor ecx, ecx
jmp 0x40d49e
inc ecx
mov eax, dword [ebx + 0x10]
add edi, 0x14
cmp dword [eax], ecx
jle 0x40d4c8
mov edx, dword [esi + 0x10]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + edi]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi]
mov dword [ebp - 0x1c], ecx
call fcn.0040d404
test eax, eax
mov ecx, dword [ebp - 0x1c]
jne 0x40d490
jmp 0x40d438
cmp dword [esi + 0x10], 0
jne 0x40d438
mov eax, dword [ebx + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x40d438
mov eax, dword [ebx + 0x1c]
cmp ax, word [esi + 0x1c]
jne 0x40d438
test byte [ebx + 3], 8
je 0x40d502
test byte [esi + 3], 8
je 0x40d438
mov eax, dword [ebx + 4]
cmp eax, dword [esi + 4]
sete al
movzx eax, al
jmp 0x40d43a
cmp byte [ebx], 0x97
je 0x40d545
mov edx, dword [ebx + 4]
test edx, edx
je 0x40d545
test byte [esi + 3], 8
jne 0x40d438
mov eax, dword [esi + 4]
test eax, eax
je 0x40d438
mov cl, byte [edx]
test cl, cl
je 0x40d54f
movzx ecx, cl
movzx ebx, byte [eax]
mov cl, byte [ecx + 0x4ac480]
cmp cl, byte [ebx + 0x4ac480]
jne 0x40d438
inc edx
inc eax
jmp 0x40d523
mov eax, 1
jmp 0x40d43a
movzx eax, byte [eax]
cmp byte [eax + 0x4ac480], 0
sete al
movzx eax, al
jmp 0x40d43a
Function at 0x40d6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], ecx
test edx, edx
je 0x40d7b3
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
je 0x40d7b3
mov eax, dword [ebp - 0x18]
lea esi, [esi]
inc eax
cmp byte [eax], 0
jne 0x40d6cc
sub eax, dword [ebp - 0x18]
and eax, 0x3fffffff
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
test edx, edx
jle 0x40d788
xor ebx, ebx
lea esi, [esi]
cmp ebx, 1
jle 0x40d798
mov edi, ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d7a8
shl edi, 4
mov eax, dword [ebp - 0x14]
add edi, dword [eax + 8]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [edi]
mov cl, byte [edx]
test cl, cl
je 0x40d75a
movzx esi, cl
movzx ecx, byte [eax]
movzx esi, byte [esi + 0x4ac480]
mov edx, esi
cmp dl, byte [ecx + 0x4ac480]
jne 0x40d77b
mov edx, dword [ebp - 0x20]
mov esi, ebx
jmp 0x40d750
movzx ebx, bl
movzx ecx, byte [eax]
mov bl, byte [ebx + 0x4ac480]
cmp bl, byte [ecx + 0x4ac480]
jne 0x40d794
inc edx
inc eax
mov bl, byte [edx]
test bl, bl
jne 0x40d73c
mov ebx, esi
movzx eax, byte [eax]
cmp byte [eax + 0x4ac480], 0
jne 0x40d77b
mov eax, dword [edi + 0xc]
add eax, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.0040a83c
test eax, eax
jne 0x40d78a
inc ebx
mov esi, dword [ebp - 0x14]
cmp dword [esi + 4], ebx
jg 0x40d6f0
xor eax, eax
add esp, 0x14
pop ebx
pop esi
pop edi
leave
ret
mov ebx, esi
jmp 0x40d77b
mov edi, ebx
xor edi, 1
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40d706
shl edi, 4
mov esi, dword [ebp - 0x14]
add edi, dword [esi + 8]
jmp 0x40d766
mov dword [ebp - 0x1c], 0
jmp 0x40d6dd
Function at 0x40d7c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
test edx, edx
je 0x40d8ba
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
je 0x40d8ba
mov eax, dword [ebp - 0x18]
inc eax
cmp byte [eax], 0
jne 0x40d7e8
sub eax, dword [ebp - 0x18]
and eax, 0x3fffffff
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 4]
test ecx, ecx
jle 0x40d8a0
xor ebx, ebx
lea esi, [esi]
cmp ebx, 1
jle 0x40d8b0
mov eax, ebx
shl eax, 4
mov edx, dword [ebp - 0x10]
add eax, dword [edx + 8]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
test esi, esi
je 0x40d87e
mov dword [ebp - 0x20], esi
mov eax, dword [eax]
mov cl, byte [esi]
test cl, cl
je 0x40d872
movzx edi, cl
movzx ecx, byte [eax]
movzx edi, byte [edi + 0x4ac480]
mov edx, edi
cmp dl, byte [ecx + 0x4ac480]
jne 0x40d893
mov edx, esi
mov edi, ebx
jmp 0x40d868
movzx ebx, bl
movzx ecx, byte [eax]
mov bl, byte [ebx + 0x4ac480]
cmp bl, byte [ecx + 0x4ac480]
jne 0x40d8ac
inc edx
inc eax
mov bl, byte [edx]
test bl, bl
jne 0x40d854
mov ebx, edi
movzx eax, byte [eax]
cmp byte [eax + 0x4ac480], 0
jne 0x40d893
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.0040a83c
test eax, eax
jne 0x40d8a2
inc ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], ebx
jg 0x40d80c
xor eax, eax
add esp, 0x14
pop ebx
pop esi
pop edi
leave
ret
mov ebx, edi
jmp 0x40d893
mov eax, ebx
xor eax, 1
jmp 0x40d817
mov dword [ebp - 0x1c], 0
jmp 0x40d7f9
Function at 0x437cc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov dword [ebp - 0xec], eax
mov ebx, edx
mov dword [ebp - 0xf0], ecx
mov esi, dword [eax + 0xc]
test esi, esi
je 0x437dd7
test edx, edx
je 0x437dd7
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dl, byte [edx]
movzx eax, dl
inc eax
xor eax, 1
lea edi, [eax - 1]
sub edx, 0x13
cmp dl, 0x3b
jbe 0x437de4
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 0xec]
call fcn.00437bc8
mov dword [ebp - 0x24], eax
xor edx, edx
cmp dword [ebp + 8], 0
setne dl
mov dword [esp + 4], edx
mov edx, dword [ebp - 0xf0]
mov dword [esp], edx
mov ecx, eax
mov edx, 0x44
mov eax, esi
call fcn.00416aa0
nop
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x437d94
mov eax, dword [ebp - 0xec]
mov bl, byte [eax + 0x15]
cmp bl, 7
ja 0x437d94
mov edx, eax
add edx, 0x60
xor eax, eax
jmp 0x437d73
add edx, 0x18
cmp ecx, dword [edx + 0x10]
je 0x437fc8
inc eax
cmp eax, 0xa
jne 0x437d70
movzx eax, bl
mov edx, dword [ebp - 0xec]
mov dword [edx + eax*4 + 0x18], ecx
inc ebx
mov byte [edx + 0x15], bl
nop
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x437dd7
mov eax, dword [ebp - 0xec]
mov bl, byte [eax + 0x15]
cmp bl, 7
ja 0x437dd7
mov edx, eax
add edx, 0x60
xor eax, eax
jmp 0x437db7
add edx, 0x18
cmp ecx, dword [edx + 0x10]
je 0x437fbc
inc eax
cmp eax, 0xa
jne 0x437db4
movzx eax, bl
mov edx, dword [ebp - 0xec]
mov dword [edx + eax*4 + 0x18], ecx
inc ebx
mov byte [edx + 0x15], bl
add esp, 0x10c
pop ebx
pop esi
pop edi
leave
ret
movzx edx, dl
jmp dword [edx*4 + 0x4a9bc4]
mov byte [edx + 9], 1
jmp 0x437dd7
mov byte [edx + 9], 1
jmp 0x437d94
Function at 0x499ac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004949e0
test eax, eax
jne 0x499b2c
push ebp
push 0x48df40
mov ecx, edi
call fcn.00498d40
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.00494560
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004879b0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.00494b90
add esp, 4
test eax, eax
je 0x499bcf
add esi, 0x18
push esi
call 0x4d3c20
add esi, eax
push esi
call 0x4d3c20
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x499ed2
jmp dword [ecx*4 + 0x418310]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.00498e80
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call 0x4d3c20
add esi, eax
push esi
call 0x4d3c20
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x499c20
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004763c8]
test eax, eax
je 0x499c20
mov eax, 1
jmp 0x499c22
xor eax, eax
cmp ebx, 8
jge 0x499e87
cmp ebx, 7
ja 0x499ed2
jmp dword [ebx*4 + 0x418320]
test eax, eax
jne 0x499e9a
mov ecx, dword [esp + 0x10]
push eax
push 0x48df2c
call fcn.00498d40
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.0049a3e0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x478f20
call fcn.00487bb0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x4a2ad0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a4aa8]
xor edx, edx
cmp eax, edx
jne 0x4a2af6
xor eax, eax
mov byte [eax + 0x4a49a8], al
inc eax
cmp eax, 0x100
jl 0x4a2ade
mov dword [0x4a4aa8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a49a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a2b87
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 0x4a2b5a
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 0x4a2b28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a2c00
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 0x4a2c53
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 0x4a2c3a
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