joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475686
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0046a08f
xor ebx, ebx
cmp dword [0x4bdb8c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x47575c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x47583c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49b6f0
push edi
call esi
cmp eax, ebx
je 0x47583c
push eax
call fcn.0046a021
mov dword [esp], 0x49b6e0
push edi
mov dword [0x4bdb8c], eax
call esi
push eax
call fcn.0046a021
mov dword [esp], 0x49b6cc
push edi
mov dword [0x4bdb90], eax
call esi
push eax
call fcn.0046a021
mov dword [0x4bdb94], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0045f725
test eax, eax
pop ecx
pop ecx
je 0x47572a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004615cf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x47575c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0046a021
cmp eax, ebx
pop ecx
mov dword [0x4bdb9c], eax
je 0x47575c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046a021
pop ecx
mov dword [0x4bdb98], eax
mov eax, dword [0x4bdb98]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4757e1
cmp dword [0x4bdb9c], ecx
je 0x4757e1
push eax
call fcn.0046a098
push dword [0x4bdb9c]
mov esi, eax
call fcn.0046a098
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4757e1
cmp edi, ebx
je 0x4757e1
call esi
cmp eax, ebx
je 0x4757ae
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4757ae
test byte [ebp - 0x18], 1
jne 0x4757e1
lea eax, [ebp - 0x10]
push eax
call fcn.0045f75c
test eax, eax
pop ecx
je 0x4757c9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004615cf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4757d8
or dword [ebp + 0x10], 0x200000
jmp 0x47581c
or dword [ebp + 0x10], 0x40000
jmp 0x47581c
mov eax, dword [0x4bdb90]
cmp eax, dword [ebp - 8]
je 0x47581c
push eax
call fcn.0046a098
cmp eax, ebx
pop ecx
je 0x47581c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x47581c
mov eax, dword [0x4bdb94]
cmp eax, dword [ebp - 8]
je 0x47581c
push eax
call fcn.0046a098
cmp eax, ebx
pop ecx
je 0x47581c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bdb8c]
call fcn.0046a098
cmp eax, ebx
pop ecx
je 0x47583c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47583e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47ba8d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0047ba22
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0045eb50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x47badc
cmp dword [ebp - 0x1c], 5
jb 0x47baf4
jmp 0x47baf0
cmp dword [ebp - 0x10], 1
jne 0x47baf4
cmp dword [ebp - 0x1c], 4
ja 0x47baf0
jne 0x47baf4
cmp dword [ebp - 0x18], 0
jbe 0x47baf4
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x49b918
call fcn.0047b8f6
test eax, eax
jge 0x47bb15
mov byte [0x4b5b60], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0045e17e
add ebp, 0x78
leave
ret
Function at 0x40e584
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x41286c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, 0x43e080
push edi
push ebp
mov ebp, edx
cmp dword [esi + 4], 0
mov edi, ecx
mov ebx, eax
jne 0x412886
call fcn.00412834
mov eax, ebp
cmp edi, 8
jb 0x412911
xor ebx, dword [eax]
xor edx, edx
mov dl, bl
sub edi, 8
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
xor ebx, dword [eax + 4]
add eax, 8
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
xor edx, edx
mov ebx, ecx
mov dl, bl
shr ebx, 8
mov ecx, dword [esi + edx*4]
xor ecx, ebx
cmp edi, 8
mov ebx, ecx
jae 0x412891
xor edx, edx
jmp 0x41292b
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [esi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp edi, edx
ja 0x412915
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4129c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov edx, dword [esp]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
xor edx, dword [eax + 0x204]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
xor edx, dword [eax + 0x208]
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [ecx + 8]
mov esi, dword [edx + 0xc]
xor ebx, dword [eax + 0x20c]
xor esi, dword [eax + 0x210]
xor edx, edx
mov ecx, esi
mov edi, esi
shr edi, 0x15
shl ecx, 0xb
or ecx, edi
mov edi, edx
and edi, 3
add ecx, ebx
xor ecx, dword [eax + edi*4 + 0x204]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
mov ecx, ebx
xor edi, dword [esp + 4]
mov dword [esp + 0xc], edi
mov edi, ebx
shr edi, 0xf
shl ecx, 0x11
or ecx, edi
mov edi, edx
and edi, 3
xor ecx, esi
add ecx, dword [eax + edi*4 + 0x204]
mov ebp, ecx
mov edi, ecx
shr ebp, 8
and edi, 0xff
and ebp, 0xff
movzx edi, byte [eax + edi + 0x104]
movzx ebp, byte [eax + ebp + 0x104]
shl ebp, 8
or edi, ebp
mov ebp, ecx
shr ebp, 0x10
shr ecx, 0x18
and ebp, 0xff
and ecx, 0xff
movzx ebp, byte [eax + ebp + 0x104]
movzx ecx, byte [eax + ecx + 0x104]
shl ebp, 0x10
shl ecx, 0x18
or edi, ebp
or edi, ecx
xor edi, dword [esp + 8]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov ecx, edi
mov esi, ecx
mov ebx, dword [esp + 0xc]
inc edx
cmp edx, 0x20
jl 0x412a12
mov edx, dword [esp + 0x10]
xor ebx, dword [eax + 0x204]
mov dword [edx], ebx
xor esi, dword [eax + 0x208]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 0x20c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
xor edx, dword [eax + 0x210]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
call fcn.00412d10
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x412b64
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
xor ecx, dword [ebx + 0x204]
mov dword [esp], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
xor ecx, dword [ebx + 0x208]
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xc]
mov esi, dword [eax + 8]
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x20c]
mov edi, dword [eax + 0xc]
xor edi, dword [ebx + 0x210]
push 0x10
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00438f08
add esp, 0xc
mov edx, 0x1f
mov eax, edi
mov ecx, edi
shr ecx, 0x15
shl eax, 0xb
or eax, ecx
mov ecx, edx
and ecx, 3
add eax, esi
xor eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
mov eax, esi
xor ecx, dword [esp]
mov dword [esp + 8], ecx
mov ecx, esi
shr ecx, 0xf
shl eax, 0x11
or eax, ecx
mov ecx, edx
and ecx, 3
xor eax, edi
add eax, dword [ebx + ecx*4 + 0x204]
mov ebp, eax
mov ecx, eax
shr ebp, 8
and ecx, 0xff
and ebp, 0xff
movzx ecx, byte [ebx + ecx + 0x104]
movzx ebp, byte [ebx + ebp + 0x104]
shl ebp, 8
or ecx, ebp
mov ebp, eax
shr ebp, 0x10
shr eax, 0x18
and ebp, 0xff
and eax, 0xff
movzx ebp, byte [ebx + ebp + 0x104]
movzx eax, byte [ebx + eax + 0x104]
shl ebp, 0x10
shl eax, 0x18
or ecx, ebp
or ecx, eax
xor ecx, dword [esp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov eax, ecx
mov edi, eax
mov esi, dword [esp + 8]
dec edx
test edx, edx
jge 0x412bc0
mov eax, dword [esp + 0xc]
xor esi, dword [ebx + 0x204]
mov dword [eax], esi
xor edi, dword [ebx + 0x208]
mov edx, dword [esp + 0xc]
mov dword [edx + 4], edi
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
xor ecx, dword [ebx + 0x20c]
mov dword [eax + 8], ecx
mov eax, ebx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor edx, dword [ebx + 0x210]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x10]
call fcn.00412d10
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x412d10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ebx, 0x43e080
xor ecx, ecx
movzx esi, byte [edx + ecx]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x204], esi
movzx esi, byte [edx + ecx + 1]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x208], esi
movzx esi, byte [edx + ecx + 2]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x20c], esi
movzx esi, byte [edx + ecx + 3]
mov esi, dword [ebx + esi*4]
xor dword [eax + 0x210], esi
add ecx, 4
cmp ecx, 0x10
jl 0x412d19
pop esi
pop ebx
ret
Function at 0x413578
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jg 0x413598
xor eax, eax
jmp 0x413659
mov edx, dword [ebp - 0xc]
test edx, edx
jns 0x4135a2
add edx, 0xf
sar edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
add eax, 4
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004139f4
add dword [ebp - 8], 0x10
mov edx, dword [ebp - 0x14]
dec edx
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x413635
mov eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
xor ecx, dword [edx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 4]
xor ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
xor eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
add ebx, 0x10
lea edx, [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004139f4
add dword [ebp - 8], 0x10
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jg 0x4135f1
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
shl eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x413677
test esi, esi
jg 0x41367e
xor eax, eax
jmp 0x413734
push 0x10
mov edx, dword [ebp - 4]
add edx, 4
push edx
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00438f08
add esp, 0xc
test esi, esi
jns 0x41369a
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x413719
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00414024
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x4136ac
push 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.00438f08
add esp, 0xc
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413958
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
shl ebx, 2
add edx, edi
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx ebp, byte [edx + 1]
mov bl, byte [edx]
lea ebp, [ebp*4 + 0x440a9e]
lea ebx, [ebx*4 + 0x44069e]
mov bl, byte [ebx + eax]
xor bl, byte [ebp + eax]
movzx ebp, byte [edx + 2]
movzx edx, byte [edx + 3]
lea ebp, [ebp*4 + 0x440e9e]
lea edx, [edx*4 + 0x44129e]
xor bl, byte [ebp + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x41396a
inc eax
cmp eax, 4
jl 0x413968
mov ecx, esi
push 0x10
shl ecx, 4
lea eax, [esp + 4]
add ecx, edi
push eax
add ecx, 0x14
push ecx
call fcn.00438f08
add esp, 0xc
inc esi
cmp esi, 0xa
jl 0x413966
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x415e40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [eax]
cmp edx, 0x11
jle 0x415e60
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x44], ecx
mov ecx, dword [eax + edx*4]
xor dword [eax + edx*4 - 0x38], ecx
xor ecx, ecx
mov dword [eax + edx*4], ecx
dec edx
cmp edx, 0x11
jg 0x415e47
cmp dword [eax], 0x11
jbe 0x415e7b
mov dword [eax], 0x11
jmp 0x415e6f
dec dword [eax]
mov edx, dword [eax]
test edx, edx
je 0x415e7b
cmp dword [eax + edx*4], 0
je 0x415e6d
ret

Function at 0x4166b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [esi]
cmp eax, dword [ebx]
jae 0x4166fb
mov eax, 1
jmp 0x4166d4
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi]
jbe 0x4166ca
mov ecx, dword [ebx]
mov edx, eax
sub ecx, dword [esi]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, ebx
add edx, edi
push ecx
push edx
call fcn.00438f08
add esp, 0xc
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x416760
mov eax, dword [esi]
cmp eax, dword [ebx]
jbe 0x416739
mov eax, 1
jmp 0x416712
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
mov dword [edi + eax*4], edx
inc eax
cmp eax, dword [ebx]
jbe 0x416708
mov ecx, dword [esi]
mov edx, eax
sub ecx, dword [ebx]
shl ecx, 2
shl edx, 2
push ecx
mov ecx, edx
add ecx, esi
add edx, edi
push ecx
push edx
call fcn.00438f08
add esp, 0xc
mov eax, dword [esi]
mov dword [edi], eax
jmp 0x416760
mov eax, dword [ebx]
test eax, eax
jbe 0x41674c
mov edx, dword [esi + eax*4]
xor edx, dword [ebx + eax*4]
jne 0x41674c
dec eax
test eax, eax
ja 0x41673f
mov dword [edi], eax
test eax, eax
jbe 0x416760
mov ecx, dword [esi + eax*4]
xor ecx, dword [ebx + eax*4]
mov dword [edi + eax*4], ecx
dec eax
test eax, eax
ja 0x416752
pop edi
pop esi
pop ebx
ret
Function at 0x41f1c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xffffff70
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [esp + 8]
jmp 0x41f245
xor eax, eax
mov edx, dword [esp]
add edx, esi
add edx, eax
mov cl, byte [edx + 1]
mov byte [esp + eax + 0x19], cl
mov bl, byte [edx]
sub bl, cl
mov byte [esp + eax + 0x18], bl
mov dl, byte [edx + 2]
sub dl, cl
mov byte [esp + eax + 0x1a], dl
add eax, 3
cmp eax, 0x78
jl 0x41f1f3
mov ebx, 3
mov cl, byte [esp + ebx + 0x18]
sub cl, byte [esp + ebx + 0x15]
movsx ecx, cl
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 8]
add dword [esp + edx*4 + 0xc], eax
inc ebx
cmp ebx, 0x78
jl 0x41f21f
add esi, 0x780
mov eax, dword [esp + 4]
add eax, 0xffffff88
cmp esi, eax
jl 0x41f1f1
inc dword [esp + 8]
cmp dword [esp + 8], 2
jle 0x41f1eb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp edx, eax
jb 0x41f271
cmp eax, dword [esp + 0x14]
ja 0x41f271
xor eax, eax
jmp 0x41f283
cmp edx, dword [esp + 0x14]
ja 0x41f27e
mov eax, 1
jmp 0x41f283
mov eax, 2
add esp, 0x90
pop esi
pop ebx
ret
Function at 0x420904
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
push ecx
mov al, byte [edx + 0x5769]
mov byte [ebx + 0x14a1], al
mov cl, byte [edx + 0x576a]
mov byte [ebx + 0x14a0], cl
mov eax, dword [edx + 0x55b8]
mov dword [ebx + 0x149c], eax
lea eax, [ebx + 0x60b0]
mov ecx, dword [edx + 0x4c00]
add edx, 0x55c0
mov dword [ebx + 0x60a4], ecx
call fcn.00423c38
mov edx, dword [ebx + 0x20]
cmp edx, 0x400000
jae 0x4209a8
mov eax, dword [ebx + 0x149c]
cmp edx, eax
jbe 0x42097b
mov esi, 0x400000
sub esi, edx
jmp 0x420974
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x420968
jmp 0x4209a8
xor eax, eax
mov esi, dword [ebx + 0x149c]
sub esi, dword [ebx + 0x20]
jmp 0x420994
mov edx, dword [ebx]
lea ecx, [edx + eax]
mov cl, byte [ecx + esi]
mov byte [edx + eax], cl
inc eax
cmp eax, dword [ebx + 0x20]
jb 0x420988
xor eax, eax
mov dword [ebx + 0x149c], eax
mov byte [ebx + 0x14a1], 1
push 0x111
mov eax, dword [ebx]
push eax
add eax, dword [ebx + 0x20]
push eax
call fcn.00438f08
add esp, 0xc
mov eax, dword [ebx + 0x149c]
mov dword [esp], eax
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
jmp 0x420abc
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + eax]
inc eax
and eax, dword [ebx + 0x24]
mov edx, dword [ebx]
movzx eax, byte [edx + eax]
shl eax, 8
mov dl, byte [ebx + 0x149c]
add ecx, eax
mov eax, ecx
mov ecx, dword [ebx + 4]
and eax, 0x3fff
mov byte [ecx + eax], dl
xor edx, edx
mov eax, dword [ebx + 0x149c]
mov ecx, dword [ebx]
mov dl, byte [ecx + eax + 2]
mov ecx, dword [edx*4 + 0x43e080]
mov edx, dword [ebx]
shl ecx, 0xa
movzx edx, byte [edx + eax + 1]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 4
add ecx, edx
mov edx, dword [ebx]
movzx eax, byte [edx + eax]
add ecx, eax
mov dx, word [ebx + 0x149c]
and ecx, 0x3ffff
mov eax, ecx
mov ecx, dword [ebx + 8]
mov word [ecx + eax*2], dx
mov ecx, dword [ebx + 0x149c]
mov edx, dword [ebx]
movzx edx, byte [edx + ecx + 3]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 6
add eax, edx
mov edx, dword [ebx + 0xc]
and eax, 0x3ffff
mov dword [edx + eax*4], ecx
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x149c]
mov esi, dword [ebx + 0x10]
movzx ecx, byte [ecx + edx + 4]
mov ecx, dword [ecx*4 + 0x43e080]
shl ecx, 8
add eax, ecx
and eax, dword [ebx + 0x1c]
mov ecx, dword [esi + eax*4]
and ecx, dword [ebx + 0x24]
mov dword [esi + eax*4], edx
mov edx, dword [ebx]
movzx edx, byte [edx + ecx]
xor eax, edx
test al, 0xf
je 0x420aa0
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x149c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx + 0x149c]
inc eax
and eax, dword [ebx + 0x24]
mov dword [ebx + 0x149c], eax
mov eax, dword [ebx + 0x149c]
cmp eax, dword [esp]
jne 0x4209d4
mov byte [ebx + 0x60a0], 1
mov byte [ebx + 0x1498], 1
xor edx, edx
xor ecx, ecx
mov dword [ebx + 0x974], edx
mov dword [ebx + 0x978], ecx
mov byte [ebx + 0x97c], 1
pop edx
pop esi
pop ebx
ret
Function at 0x402f00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402f59
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402d9c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402d9c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402f43
inc ebx
jmp 0x402f2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f60
lea eax, [ebp - 8]
call fcn.004047b8
ret

Function at 0x402f68
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047b8
test esi, esi
jne 0x402f9f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004048a8
jmp 0x402fc0
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402d9c
mov dword [esp], eax
test esi, esi
je 0x402fc0
cmp dword [ebx], 0
je 0x402fc0
dec esi
jmp 0x402fa7
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403734
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c1020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037ac
xor eax, eax
push ebp
push 0x4037a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4c1020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c1020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045b0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c604c], 0
je 0x404611
cmp word [0x4c6220], 0xd7b2
jne 0x4045d9
cmp dword [0x4c6228], 0
jbe 0x4045d9
mov eax, 0x4c621c
call dword [0x4c6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c106c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404638
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c1030], 0
jne 0x40462d
push 0
push 0x4c1064
push 0x4c106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40476c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402b3c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4c604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404734
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc