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

Disassembly:
cmp ecx, dword [0x41610c]
jne 0x4079ee
repz ret
jmp fcn.004087fd

Function at 0x40fc2f
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.0040bece
and dword [ebp - 4], 0
cmp dword [0x417c4c], 0
mov ebx, eax
jne 0x40fce0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40fd91
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40fd91
push eax
call fcn.0040be5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417c4c], eax
call esi
push eax
call fcn.0040be5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417c50], eax
call esi
push eax
call fcn.0040be5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417c54], eax
call esi
push eax
call fcn.0040be5c
pop ecx
mov dword [0x417c5c], eax
test eax, eax
je 0x40fce0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040be5c
pop ecx
mov dword [0x417c58], eax
mov eax, dword [0x417c58]
cmp eax, ebx
je 0x40fd38
cmp dword [0x417c5c], ebx
je 0x40fd38
push eax
call fcn.0040bed7
push dword [0x417c5c]
mov esi, eax
call fcn.0040bed7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40fd38
test edi, edi
je 0x40fd38
call esi
test eax, eax
je 0x40fd2f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40fd2f
test byte [ebp - 0xc], 1
jne 0x40fd38
or dword [ebp + 0x10], 0x200000
jmp 0x40fd71
mov eax, dword [0x417c50]
cmp eax, ebx
je 0x40fd71
push eax
call fcn.0040bed7
pop ecx
test eax, eax
je 0x40fd71
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40fd71
mov eax, dword [0x417c54]
cmp eax, ebx
je 0x40fd71
push eax
call fcn.0040bed7
pop ecx
test eax, eax
je 0x40fd71
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417c4c]
call fcn.0040bed7
pop ecx
test eax, eax
je 0x40fd91
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40fd93
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x403e59
pop dword [ebp - 0x30]
mov eax, 0x403e59
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf957f97f
add dword [ebp - 0x40], 0x54fa4bcc
mov dword [ebp - 0x3c], 0x76b072db
add dword [ebp - 0x3c], 0xbb82d96a
mov dword [ebp - 0x38], 0x7bd61f8
sub dword [ebp - 0x38], 0xbb711dca
mov dword [ebp - 0x34], 0x209458ee
sub dword [ebp - 0x34], 0x209458ee
lea eax, [ebp - 0x40]
push eax
mov eax, 0x13eb2b44
add eax, 0xec554520
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x3b26b3f5
sub dword [ebp - 0x40], 0xc6b44a9f
mov dword [ebp - 0x3c], 0x3ed0a763
add dword [ebp - 0x3c], 0x29bba12
mov dword [ebp - 0x38], 0xddaa916b
sub dword [ebp - 0x38], 0x7a3b24ff
mov dword [ebp - 0x34], 0xf5638390
add dword [ebp - 0x34], 0xa9c7c70
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xac947626
sub eax, 0xac54057e
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x36c25
push 0
call eax
mov ecx, 0x216017a9
add ecx, 0xdea03063
xor ebx, ebx
add ebx, eax
mov edi, 0x410000
add edi, dword [ebp - 0x30]
mov edx, 0x2ebe7139
add edx, 0x8a938848
sub dword [ebp - 0x2c], 0x66ca843f
mov esi, dword [edi]
xor dword [ebp - 8], 0xc97e774d
add esi, edx
sub dword [ebp - 0x28], edx
mov dword [ebx], esi
add dword [ebp - 0x10], 0x82bc8515
add ebx, 0xa059b11a
sub ebx, 0xa059b116
add edi, 4
loop 0x403f72
add eax, 0x11303
mov ebx, eax
add eax, 0x6f986812
sub eax, 0x6f98680d
mov ecx, 0xbb9fb63f
sub ecx, 0xbb5fb63f
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x1018c8de
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101987b8], 0x1938
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1018c948
lea eax, [ebp - 0x24]
mov dword [0x101987bc], 0x14f9
mov dword [ebp - 0x34], eax
call fcn.1018c75b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018c2cd
mov ecx, dword [0x101987b8]
add ecx, 0xfffffb5f
mov dword [0x101987bc], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1018ca12
jmp 0x1018c974
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018e14f]
mov dh, byte [eax + 0x1018e120]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1018c902
jmp 0x1018c948
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1018cd12
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101987b8], 0x2cd
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov dword [0x101987bc], 0x2226
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
add ecx, 0x1f19
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1018ca09
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1018ca25
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101987b8], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018ca6f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1018cad3
jmp 0x1018cb17
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x1018ca9c
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x1018ca6f
mov eax, dword [ebp - 0x1c]
mov dword [0x101987bc], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1018cb17
mov dword [0x101987bc], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1018ca5b
jmp 0x1018cb17
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1018cb17
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1018cb17
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1018cb17
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1018cb26
xor eax, eax
mov dword [0x101987bc], 0x1864
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x1018cb2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x101987bc]
add ecx, 0x77c
mov dword [0x101987bc], ecx
mov dword [ebp - 0x10], eax
call fcn.1018d477
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x101987bc], 0x10e8
mov edi, dword [0x101987b8]
add edi, 0xfffffe9f
mov dword [0x101987bc], edi
mov esi, dword [eax + esi + 0x78]
mov dword [0x101987b8], 0x171d
mov ebx, edx
add ebx, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
je 0x1018cca3
jmp 0x1018cbd8
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x1018cc1a
jmp 0x1018cc47
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], esi
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
xor esi, esi
add eax, 0x77c
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx*4]
mov dword [0x101987bc], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
jne 0x1018cbae
mov al, byte [ebp - 0x2e]
test al, 1
jne 0x1018cc80
jmp 0x1018cc50
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], eax
jb 0x1018cbf0
jmp 0x1018cca3
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101987b8], 0xfffff748
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018d26a
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 [0x101987c4], 0
mov byte [0x101987c8], 0
mov dword [0x101987c0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1018d2d0
mov eax, dword [0x101987b8]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1018d302
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x101987c0], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1018d302
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101987b8], 0x1fdd
mov eax, dword [0x101987c0]
add eax, 1
mov dword [0x101987c0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1018d2d0
jmp 0x1018d2b7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101987cc], 0
add eax, 0xfffff6b9
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101987c4]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101987cc], esi
mov dword [0x101987bc], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x101987c4], edx
mov esi, dword [ebp - 0x2c]
mov dword [0x101987b8], esi
mov bl, byte [ebx + ecx]
mov byte [0x101987c8], bl
mov dword [0x101987bc], 0xe30
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x101987bc]
add ecx, 0xfffffd81
mov dword [0x101987b8], ecx
mov bl, byte [0x101987c8]
mov ecx, dword [0x101987c4]
mov byte [esi + ecx], bl
mov ecx, dword [0x101987c0]
add ecx, 1
mov dword [0x101987c0], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x1018d2a7
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018d5ff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
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 [0x101987c0], 0
mov dword [0x101987c4], 0
mov dword [0x101987d0], 0
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
jne 0x1018d65c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
mov dword [0x101987b8], 0x1e8a
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101987c0], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101987c4], edx
mov dword [0x101987b8], 0x40c5
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101987c8], cl
mov dword [0x101987bc], 0x471
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101987c8]
mov edx, dword [0x101987c4]
mov byte [ebx + edx], cl
mov edx, dword [0x101987c0]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101987c4]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101987d0], ecx
mov dword [0x101987b8], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x101987bc], 0xbad
mov dword [0x101987b8], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1018d654
mov eax, dword [0x101987c0]
mov ecx, dword [0x101987c4]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x1018d65c
Function at 0x1018d766
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101987b8], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1018ce08
lea ecx, [0x1018d11e]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], 0x160400
mov edx, dword [0x101987a4]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101987a8]
mov dword [esp + 0x64], edx
mov edx, dword [0x101987ac]
mov dword [esp + 0x34], edx
mov edx, dword [0x101987b0]
mov dword [esp + 0x30], edx
mov edx, dword [0x101987b4]
mov dword [esp + 0x6c], edx
mov dword [0x101987b8], 0x212d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1018d836
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1018d836
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1018c8de
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101987b8], 0x1ed4
mov dword [esp + 0xc], eax
jmp 0x1018d88d
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1018d7ec
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1018d7ec
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [0x101987bc], 0x1fcc
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
call fcn.1018ca25
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
je 0x1018d800
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x406ccd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x39d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x406cd7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x406d1d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x406cfc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406d3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00436850
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x406dcc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x406d82
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x406d98
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x406dbf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x406d71
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x421f71
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x421f9c
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x421f9c
cmp al, 0xc0
je 0x421f9c
cmp al, 0xcc
je 0x421f9c
add edx, 2
cmp dx, cx
jb 0x421f81
pop esi
ret

Function at 0x424a4b
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.004249e8
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x424a66
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x424a74
pop edi
pop esi
ret

Function at 0x426ccf
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x426ce7
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x426cda
pop esi
ret

Function at 0x426ce9
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x426d04
shr esi, 2
push esi
call fcn.00426ccf
pop ecx
pop esi
ret
test esi, esi
je 0x426d15
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x426d0a
pop esi
ret

Function at 0x426d17
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x426d3b
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x426d2a
pop edi
pop esi
pop ebx
ret
Function at 0x433fad
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x433fbb
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x434008
mov eax, edi
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00436dd0
push edi
mov edx, ebp
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.004337f6
add esp, 0x10
mov edx, ebp
mov ecx, ebx
call fcn.00433894
test eax, eax
jne 0x434064
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00436dd0
lea edi, [ebx + 0x64]
mov edx, ebp
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, ebp
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.004337f6
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00436850
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00436850
add esp, 0x28
mov edx, ebp
mov ecx, ebx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00433894
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x434069
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4340a0
test edi, edi
je 0x4340a0
call fcn.00433fad
test eax, eax
jne 0x4340a5
push 0x20
mov edx, esi
mov ecx, esi
call fcn.004337f6
push 0x20
push esi
push edi
call fcn.00436850
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x433820
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x434158
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
mov ebp, ecx
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x4341f2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4341f2
mov edx, dword [ebp]
mov ecx, ebx
inc edx
call fcn.0042f83b
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4341f7
xor edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x4341b8
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434142
mov ecx, ebx
mov esi, eax
call fcn.00434142
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x434192
jmp 0x4341dd
mov ecx, dword [esp + 0x10]
jmp 0x4341dd
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434142
mov ecx, ebx
mov esi, eax
call fcn.00434142
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x4341be
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x4341f7
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret

Function at 0x44bfa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044be25