joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10084280
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x10084301
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x10084301
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x10084301
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.10087680
add esp, 0xc
test eax, eax
je 0x10084301
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100842d2
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.100876d0
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10084360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100dad00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x100843ae
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x100843ae
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x100843ae
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100843bf
add eax, 4
cmp eax, ecx
jb 0x100843a3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a20bd
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1008442a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10084415
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x100843f6
cmp dl, 0x11
jne 0x1008440f
inc eax
cmp eax, 6
jl 0x100843e5
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a20bd
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100843e3
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a20bd
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.100856e0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100a20bd
mov esp, ebp
pop ebp
ret

Function at 0x100857c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10085710
add esp, 0x18
test eax, eax
je 0x100857e9
inc eax
cmp byte [eax], 0xcc
je 0x100857e3
pop ebp
ret

Function at 0x100859f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10085930
add esp, 0x18
test eax, eax
je 0x10085a19
inc eax
cmp byte [eax], 0xcc
je 0x10085a13
pop ebp
ret
Function at 0x10087cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10087e70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10087d8d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100dacb0]
jb 0x10087d0a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100dacb4]
ja 0x10087d0a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10087cda
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10087d30
jmp 0x10087d8d
cmp dword [ebp - 0x14], 0x10000
jne 0x10087d73
cmp dword [ebp - 0x18], 0x10000
jb 0x10087d73
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10087d66
mov eax, dword [ebp - 8]
jmp 0x10087d8f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10087d88
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10087e70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10087cda
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10087da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10087ea0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10087e65
mov edx, dword [ebp - 4]
cmp edx, dword [0x100dacb0]
jb 0x10087de5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100dacb4]
ja 0x10087de5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10087db5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10087e0b
jmp 0x10087e65
cmp dword [ebp - 0x14], 0x10000
jne 0x10087e4e
cmp dword [ebp - 0x18], 0x10000
jb 0x10087e4e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10087e41
mov eax, dword [ebp - 8]
jmp 0x10087e67
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10087e60
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10087ea0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10087db5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10094e23
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x10094e46
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x10094e34
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100a3300
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100a3230
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x100a332a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x100a3336
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x100a3340
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100a3230
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x100a336a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x100a35d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100dad00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100a35f7
mov ecx, 5
int 0x29
push 2
call fcn.100a2b7d
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x100a3702
test esi, esi
jne 0x100a3702
push 2
call fcn.100a2b7d
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100a20bd
mov esp, ebp
pop ebp
ret
Function at 0x100ad7e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10019d20
mov esi, dword [ebp + 8]
test al, al
je 0x100ad7fe
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100ad810
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100b1c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b1c9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b1c9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402349
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4048c8
call fcn.00402ab4
push 1
call fcn.00402611
pop ecx
test al, al
jne 0x4021f2
push 7
call fcn.0040287f
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004025dc
mov byte [ebp - 0x24], al
mov eax, dword [0x40641c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4021eb
test eax, eax
jne 0x40225c
mov dword [0x40641c], ecx
push 0x40416c
push 0x40415c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40223f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402343
push 0x404158
push 0x404150
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40641c], 2
jmp 0x402261
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040276e
pop ecx
call fcn.00402873
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402291
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x402291
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00402aae
call esi
call fcn.00402879
mov esi, eax
cmp dword [esi], edi
je 0x4022af
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x4022af
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00402994
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004029c7
test al, al
jne 0x4022e8
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4022f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040278b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402343
call fcn.00402afa
ret
call fcn.00402063
jmp 0x4021d3

Function at 0x12a3a844
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12a3a84e
pushal
call 0x12a3a854
pop ebp
sub ebp, 0x10
sub ebp, 0xa3a844
jmp 0x12a3a86a
mov eax, 0xa3a844
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0x2aa9c74
xor byte [eax], dl
inc eax
dec ecx
jne 0x12a3a881
jmp 0x12a3a894
invalid
Function at 0x401fef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x818110]
jne 0x401ff9
repz ret
jmp fcn.00402e96

Function at 0x40ffbc
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.00403a1a
and dword [ebp - 4], 0
cmp dword [0x819920], 0
mov ebx, eax
jne 0x41006d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41011e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41011e
push eax
call fcn.004039a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x819920], eax
call esi
push eax
call fcn.004039a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x819924], eax
call esi
push eax
call fcn.004039a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x819928], eax
call esi
push eax
call fcn.004039a8
pop ecx
mov dword [0x819930], eax
test eax, eax
je 0x41006d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004039a8
pop ecx
mov dword [0x81992c], eax
mov eax, dword [0x81992c]
cmp eax, ebx
je 0x4100c5
cmp dword [0x819930], ebx
je 0x4100c5
push eax
call fcn.00403a23
push dword [0x819930]
mov esi, eax
call fcn.00403a23
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4100c5
test edi, edi
je 0x4100c5
call esi
test eax, eax
je 0x4100bc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4100bc
test byte [ebp - 0xc], 1
jne 0x4100c5
or dword [ebp + 0x10], 0x200000
jmp 0x4100fe
mov eax, dword [0x819924]
cmp eax, ebx
je 0x4100fe
push eax
call fcn.00403a23
pop ecx
test eax, eax
je 0x4100fe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4100fe
mov eax, dword [0x819928]
cmp eax, ebx
je 0x4100fe
push eax
call fcn.00403a23
pop ecx
test eax, eax
je 0x4100fe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x819920]
call fcn.00403a23
pop ecx
test eax, eax
je 0x41011e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410120
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x508050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb1000]
push edi
jmp 0x50806a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x508071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508060
mov eax, 1
add ebx, ebx
jne 0x508083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x508094
jne 0x5080b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5080b3
dec eax
add ebx, ebx
jne 0x5080a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x508078
add ebx, ebx
jne 0x5080af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x508105
xor ecx, ecx
sub eax, 3
jb 0x5080cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50813a
sar eax, 1
mov ebp, eax
jmp 0x5080d6
add ebx, ebx
jne 0x5080d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5080a4
inc ecx
add ebx, ebx
jne 0x5080e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5080a4
add ebx, ebx
jne 0x5080f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5080e6
jne 0x508102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5080e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x508124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x508116
jmp 0x508066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x508124
add edi, ecx
jmp 0x508066
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x508142
cmp byte [edi], 0x11
jne 0x508142
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 0x508147
lea edi, [esi + 0x101000]
mov eax, dword [edi]
or eax, eax
je 0x5081bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x137d1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x137e98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x508174
mov ecx, edi
jns 0x5081a3
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 + 0x137e9c]
or eax, eax
je 0x5081b9
mov dword [ebx], eax
add ebx, 4
jmp 0x508191
call dword [esi + 0x137eac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5081f0
cmp al, 0xef
ja 0x5081e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5081c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5081d2
mov ebp, dword [esi + 0x137ea0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x508224
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x419550
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cc820]
xor edx, edx
cmp eax, edx
jne 0x419576
xor eax, eax
mov byte [eax + 0x4cc720], al
inc eax
cmp eax, 0x100
jl 0x41955e
mov dword [0x4cc820], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cc720
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x419607
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 0x4195da
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 0x4195a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x419610
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 0x419663
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 0x41964a
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
Function at 0x41d030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
cmp eax, 1
push ebx
push ebp
push esi
push edi
mov esi, ecx
jl 0x41d0b3
cmp eax, 8
jg 0x41d0b3
cmp dword [esp + 0x34], 2
jl 0x41d0b3
call fcn.0041cbf0
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ebp, ebp
jg 0x41d063
test ecx, ecx
jle 0x41d0b3
mov edi, dword [esp + 0x38]
test edi, edi
je 0x41d0bf
cmp dword [edi], 0
jge 0x41d076
mov dword [esp + 0x10], ebp
mov dword [esp + 0x38], ecx
Function at 0x41da20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x41dc41
cmp eax, 8
jg 0x41dc41
cmp dword [esp + 0x8c], 2
jl 0x41dc41
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x41dc41
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x41dc41
mov eax, dword [esp + 0x80]
test eax, eax
je 0x41daa7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x41dc2a
mov ebp, dword [0x494498]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x41dad9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x41dc11
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x41daf9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x494488]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x41db38
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x494490]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4944cc]
test eax, eax
jne 0x41dbf8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0041d030
cmp eax, 1
jne 0x41dc22
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0041d8e0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x41daed
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x41dc2a
jmp 0x41dac4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0041cbf0
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c