joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d5130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10114d4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.100d5a50
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x1013b4ec
call fcn.10106684
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x100d51c3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10106684
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x100d51bc
push 0
mov ecx, eax
call fcn.100cc2a0
mov dword [esi + 0xc], eax
jmp 0x100d51c5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x100d51c5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x100e57e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x100e5901
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x100e58e5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x100e5837
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x100e5815
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x100e6349
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100e63a0
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100e63a0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x100e63a0
xor eax, eax
inc eax
jmp 0x100e63a2
xor eax, eax
leave
ret 0x10

Function at 0x100e63cb
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x100e6439
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1013f38c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100e6430
cmp dword [ebp - 0xc], 4
jne 0x100e6430
cmp dword [ebp - 0x10], edi
je 0x100e6430
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x10169ad0], edi
xor eax, eax
jmp 0x100e6478
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10169ad0], edi
jge 0x100e6473
lea eax, [ebp - 0x34]
push eax
mov dword [0x10169ad0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x100e6473
cmp word [ebp - 0x14], 5
jb 0x100e6473
call fcn.100e63a6
test eax, eax
je 0x100e6473
emms
mov dword [0x10169ad0], 1
mov eax, dword [0x10169ad0]
pop edi
leave
ret

Function at 0x10108d14
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10108d4c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10106d9e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10106d76
jmp 0x10108d58
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1010a402
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1010a444
call fcn.1010feda
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1010a444
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1010a43b
xor eax, eax
jmp 0x1010a44c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1010a452
pop edi
pop esi
pop ebx
ret 4
Function at 0x52fb30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf9000]
push edi
jmp 0x52fb4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52fb51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52fb40
mov eax, 1
add ebx, ebx
jne 0x52fb63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52fb74
jne 0x52fb93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52fb93
dec eax
add ebx, ebx
jne 0x52fb80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52fb58
add ebx, ebx
jne 0x52fb8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52fbe5
xor ecx, ecx
sub eax, 3
jb 0x52fbab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52fc1a
sar eax, 1
mov ebp, eax
jmp 0x52fbb6
add ebx, ebx
jne 0x52fbb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52fb84
inc ecx
add ebx, ebx
jne 0x52fbc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52fb84
add ebx, ebx
jne 0x52fbd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52fbc6
jne 0x52fbe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52fbc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52fc04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52fbf6
jmp 0x52fb46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52fc04
add edi, ecx
jmp 0x52fb46
pop esi
mov edi, esi
mov ecx, 0x1146
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52fc22
cmp byte [edi], 0xa
jne 0x52fc22
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 0x52fc27
lea edi, [esi + 0x12c000]
mov eax, dword [edi]
or eax, eax
je 0x52fc9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155288]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15538c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52fc54
mov ecx, edi
jns 0x52fc83
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 + 0x155390]
or eax, eax
je 0x52fc99
mov dword [ebx], eax
add ebx, 4
jmp 0x52fc71
call dword [esi + 0x1553a0]
mov ebp, dword [esi + 0x155394]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x52fcd3
sub esp, 0xffffff80
jmp 0x4243cd
Function at 0x4026e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
xor eax, eax
test ecx, ecx
je 0x4027f7
test edx, edx
je 0x4027f7
mov ebp, dword [esp + 0x30]
test ebp, ebp
mov dword [esp], ecx
je 0x40272a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402731
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402710
jmp 0x402733
mov esi, 0x1505
jmp 0x402733
mov esi, ecx
mov ebx, dword [esp]
mov ebp, dword [ebx + 0x20]
test ebp, ebp
je 0x4027f7
mov dword [esp + 8], edx
mov eax, ebp
xor eax, 0xfffffffe
mov ecx, ebp
and ecx, 0xfffffffe
lea eax, [eax + ecx*2]
inc eax
and eax, esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 1]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
xor edi, edi
mov edx, ebp
mov dword [esp + 4], ebp
jmp 0x402785
inc edi
cmp edx, edi
je 0x4027f5
mov eax, edi
mov ebp, dword [esp + 0x18]
and eax, ebp
mov ecx, edi
xor ecx, ebp
lea eax, [ecx + eax*2]
and eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + eax*4]
cmp ebp, 0xffffffff
je 0x4027f5
mov eax, dword [ebx + 8]
cmp dword [eax + ebp*4], esi
jne 0x402780
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00408e20
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x30]
jne 0x402780
push dword [esp + 0x30]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00408e40
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402780
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4027f7
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402c50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, 0xffffffff
test ecx, ecx
je 0x402dd3
mov esi, edx
test edx, edx
je 0x402dd3
mov dword [esp], ecx
cmp dword [esp + 0x30], 0
je 0x402dd3
push esi
call fcn.00408e20
add esp, 4
test eax, eax
je 0x402caa
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402cb1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402c90
jmp 0x402cb3
mov ebp, 0x1505
jmp 0x402cb3
mov ebp, ecx
mov ecx, dword [esp]
mov ebx, dword [ecx + 0x20]
test ebx, ebx
mov dword [esp + 4], esi
je 0x402d55
mov dword [esp + 8], eax
mov eax, ebx
xor eax, 0xfffffffe
mov edx, ebx
and edx, 0xfffffffe
lea eax, [eax + edx*2]
inc eax
and eax, ebp
mov dword [esp + 0x14], eax
lea eax, [ebx - 1]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
xor edi, edi
jmp 0x402cf5
inc edi
cmp ebx, edi
je 0x402d55
mov eax, edi
mov esi, dword [esp + 0x14]
and eax, esi
mov edx, edi
xor edx, esi
lea eax, [edx + eax*2]
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + eax*4]
cmp edx, 0xffffffff
je 0x402d5a
mov eax, dword [ecx + 8]
cmp dword [eax + edx*4], ebp
jne 0x402cf0
mov eax, dword [ecx + 0xc]
mov esi, dword [eax + edx*4]
push esi
call fcn.00408e20
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402cf0
push dword [esp + 8]
push esi
push dword [esp + 0xc]
call fcn.00408e40
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402cf0
mov eax, 0xffffffff
jmp 0x402dd3
mov eax, 0xffffffff
mov edi, dword [ecx + 0x18]
cmp edi, dword [ecx + 0x1c]
mov ebx, dword [esp + 4]
jb 0x402d9a
call fcn.00402eb0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x402dd3
push ebx
call fcn.00408e20
add esp, 4
lea esi, [esp + 0x18]
mov edi, dword [esp]
mov ecx, edi
mov edx, ebx
push esi
push ebp
push eax
call fcn.00402de0
mov ecx, edi
add esp, 0xc
mov edi, dword [edi + 0x18]
mov esi, ecx
mov edx, dword [ecx + 0xc]
mov dword [edx + edi*4], ebx
mov ecx, dword [ecx + 4]
mov edx, dword [esi + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x18]
mov edi, dword [esp + 0x30]
mov dword [ecx + edx*4], edi
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
mov dword [eax + ecx*4], ebp
inc dword [esi + 0x18]
mov eax, dword [esi]
mov dword [edi], eax
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4035e0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403796
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test ebx, ebx
je 0x40378f
mov edx, 0x5e6ea9af
mov eax, ebx
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebx
sub esi, eax
jmp 0x403673
add ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov ebx, dword [esp + 0x10]
sub ebx, esi
mov esi, 0x15b0
je 0x40378f
xor edx, edx
cmp esi, 8
mov dword [esp + 4], esi
jb 0x4036f4
and esi, 0x1ff8
mov dword [esp], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 6]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 7]
mov edi, edx
and edi, esi
xor edx, esi
mov esi, dword [esp + 4]
lea edi, [edx + edi*2]
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x403690
add ebp, edx
mov edx, dword [esp]
mov eax, esi
sub eax, edx
mov dword [esp + 0x10], ebx
jbe 0x403638
mov dword [esp], edx
not edx
add edx, esi
mov dword [esp + 8], edx
and esi, 3
mov dword [esp + 0xc], eax
je 0x403743
neg esi
xor edx, edx
mov ebx, ebp
nop
nop
nop
nop
movzx eax, byte [ebx]
inc ebx
add edi, eax
add ecx, edi
dec edx
cmp esi, edx
jne 0x403720
mov eax, dword [esp]
sub eax, edx
mov edx, eax
mov eax, dword [esp + 8]
cmp eax, 3
jb 0x403630
jmp 0x403755
mov ebx, ebp
mov eax, dword [esp + 8]
mov edx, dword [esp]
cmp eax, 3
jb 0x403630
mov eax, dword [esp + 4]
sub eax, edx
xor edx, edx
nop
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x403760
jmp 0x403630
shl ecx, 0x10
or ecx, edi
jmp 0x40379b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4037b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x40380f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x403811
not eax
nop
nop
nop
nop
nop
nop
mov esi, edx
not esi
add edx, edx
movzx edi, byte [ecx]
inc ecx
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43da18]
mov eax, ebx
shr eax, 4
mov ebp, ebx
and ebp, 0xf
shr edi, 4
and ebx, edi
add edi, ebp
add ebx, ebx
sub edi, ebx
xor eax, dword [edi*4 + 0x43da18]
add edx, esi
jne 0x4037d0
not eax
jmp 0x403811
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x414960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edi + 2], 0
lea edi, [edi + 2]
jne 0x414980
mov esi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4149a0
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
jns 0x4149c0
mov eax, 0xffffffff
jmp 0x4149c7
add eax, edi
add eax, eax
add eax, 4
push eax
call fcn.00408d00
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x4149f1
add esi, 2
mov ebx, eax
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4149e0
mov word [ebx], 0x5c
add ebx, 2
mov edx, dword [ebp + 0x10]
movzx ecx, word [edx]
test cx, cx
je 0x414a21
add edx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414a10
mov word [ebx], 0
lea ecx, [esp + 8]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x34], eax
push eax
call fcn.0043b640
add esp, 0x14
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x4426d4]
mov ecx, 0x49d27e5c
xor ecx, dword [0x4426dc]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x419e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov dword [esp + 8], 0xfb65f9aa
mov dword [esp + 0xc], 0xff77fd9d
mov dword [esp + 0x10], 0xf3aef1aa
mov dword [esp + 0x14], 0xf796f596
lea eax, [esp + 0x18]
mov word [esp + 0x18], 0xe9f6
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov dword [esp + 0x22], 0
mov byte [esp + 0x26], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x1e
ja 0x419f3c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
lea esi, [ecx - 0x77327ea1]
add ecx, 0x5f
and ecx, edx
or esi, edx
sub esi, ecx
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x28]
add cl, 0x67
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x1f
jb 0x419f00
mov ebx, dword [ebp + 8]
lea edi, [esp + 0x28]
lea esi, [esp + 8]
mov edx, esi
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x38]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x419f70
mov edi, esi
cmp eax, 0xffffffed
jge 0x419f89
mov eax, 0xffffffff
jmp 0x419f8c
add eax, 0x12
push eax
call fcn.00408d00
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x419fc1
add ebx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x419fb0
mov word [eax], 0
movzx ecx, word [esp + 0x28]
test cx, cx
je 0x419ff1
lea edx, [esp + 0x2a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x419fe0
mov word [eax], 0
push edi
push esi
call fcn.0043b820
add esp, 8
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x44350c]
mov ecx, 0x86a1c442
xor ecx, dword [0x443514]
add eax, ecx
inc eax
jmp eax
Function at 0x41d940
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [esp + 0x10], 0x4b0b4d61
mov dword [esp + 0x14], 0x57264938
mov dword [esp + 0x18], 0x53335518
mov dword [esp + 0x1c], 0x5f3f512c
mov dword [esp + 0x20], 0x5b3e5d71
mov dword [esp + 0x24], 0x670e5904
mov dword [esp + 0x28], 0x63106519
mov dword [esp + 0x2c], 0x6f03610c
mov dword [esp + 0x30], 0x6b046d12
mov dword [esp + 0x34], 0x77086901
mov dword [esp + 0x38], 0x73167518
mov dword [esp + 0x3c], 0x7f007120
mov dword [esp + 0x40], 0x7b107d0f
mov dword [esp + 0x44], 0x87f27911
mov dword [esp + 0x48], 0x83fd85e9
lea eax, [esp + 0x4c]
mov word [esp + 0x4c], 0x8180
mov dword [esp + 0x4e], 0
mov word [esp + 0x52], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x43
ja 0x41da40
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
mov esi, ecx
and esi, 0x191c4ca
xor ecx, 0x191c4ca
lea ecx, [ecx + esi*2]
xor ecx, edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x5c]
add cl, 0x7a
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x44
jb 0x41da00
lea ebx, [esp + 0x5c]
lea edx, [esp + 0x10]
mov ecx, 0xf
mov edi, ebx
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x98]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x1e
push ebx
push 0
call dword [0x44a1a0]
mov edi, dword [esp + 0xc]
test edi, edi
jns 0x41da89
mov eax, 0xffffffff
jmp 0x41da8c
lea eax, [edi + edi]
push eax
call fcn.00408d00
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push 0x1e
push ebx
push 0
call dword [0x44a1a0]
mov dword [esp + 0x10], 0x33ca31e4
mov dword [esp + 0x14], 0x37c835c1
mov dword [esp + 0x18], 0xcb2fc92c
mov dword [esp + 0x1c], 0xcf2ccd3e
mov dword [esp + 0x20], 0xc330c139
mov dword [esp + 0x24], 0xc7c6c520
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x17
ja 0x41db30
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + ecx]
add edx, 0xb8dd578
add eax, 0xb8dd578
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
add al, 0xb8
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x18
jb 0x41daf0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push esi
push dword [ebp + 8]
call fcn.00417cb0
add esp, 0x14
mov ebx, eax
jmp dword [0x44408c]
Function at 0x4213a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
xor ebx, ebx
mov eax, 0x20219
mov ecx, 1
jmp dword [ecx*4 + 0x444d28]