Function at 0x425940
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc74
push ebx
push esi
push edi
mov dword [ebp - 0xc74], ecx
mov ecx, dword [ebp - 0xc74]
call fcn.00424d70
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa4]
shl ecx, 1
mov edx, dword [ebp - 0xc74]
cmp dword [edx + 0x9c], ecx
jne 0x4259ab
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa8]
shl ecx, 1
mov edx, dword [ebp - 0xc74]
cmp dword [edx + 0xa0], ecx
jne 0x4259ab
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x34], 2
jmp 0x425a51
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
imul ecx, ecx, 5
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0xa4]
shl eax, 3
cmp ecx, eax
jne 0x4259ff
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0xa0]
imul edx, edx, 5
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa8]
shl ecx, 3
cmp edx, ecx
jne 0x4259ff
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x34], 8
jmp 0x425a51
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0x9c]
shl eax, 2
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0xa4]
imul edx, edx, 5
cmp eax, edx
jne 0x425a51
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa0]
shl ecx, 2
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0xa8]
imul eax, eax, 5
cmp ecx, eax
jne 0x425a51
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x34], 5
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx + 0xa4]
jle 0x425aaf
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa4]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0xc74]
mov eax, dword [ebp + 0x14]
cmp eax, dword [edx + 0xa8]
jle 0x425acf
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0xa8]
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0x1c]
imul eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0xc74]
mov eax, dword [ebp + 0xc]
imul eax, dword [edx + 0xa4]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0xc74]
mov eax, dword [ebp - 4]
imul eax, dword [edx + 0x9c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0x9c]
mov eax, dword [ebp - 0xc44]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
mov edx, dword [ebp - 0xc]
lea eax, [edx + ecx*4]
mov dword [ebp - 0xc40], eax
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0x9c]
mov eax, dword [ebp - 0xc40]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc3c], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x1c], 1
jne 0x425ce1
cmp dword [ebp - 0x34], 2
jne 0x425ce1
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
test edx, edx
je 0x425cdc
pushaw
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc3c]
mov eax, dword [esi]
and eax, 0xff00ff
mov edx, dword [esi + 4]
and edx, 0xff00ff
add eax, edx
mov edx, dword [edi]
and edx, 0xff00ff
add eax, edx
mov edx, dword [edi + 4]
and edx, 0xff00ff
add eax, edx
shr eax, 2
mov dl, byte [esi + 1]
mov dh, 0
add dl, byte [esi + 5]
adc dh, 0
add dl, byte [edi + 1]
adc dh, 0
add dl, byte [edi + 5]
adc dh, 0
shr edx, 2
mov ah, dl
mov dword [ebx], eax
add ebx, 4
add esi, 8
add edi, 8
dec ecx
jne 0x425c36
popaw
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0xa4]
imul edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0x9c]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
imul ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*4]
mov dword [ebp - 8], eax
jmp 0x425c11
jmp 0x426358
cmp dword [ebp - 0x1c], 5
jne 0x426093
cmp dword [ebp - 0x34], 8
jne 0x426093
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0x9c]
shl edx, 2
mov dword [ebp - 0xc4c], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa4]
shl ecx, 2
mov dword [ebp - 0xc48], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
test edx, edx
je 0x42608e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc54], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc50], edx
mov dword [ebp - 0xc58], 0
jmp 0x425d60
mov eax, dword [ebp - 0xc58]
add eax, 1
mov dword [ebp - 0xc58], eax
mov ecx, dword [ebp - 0xc58]
cmp ecx, dword [ebp - 0xc3c]
jge 0x426051
pushaw
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0xc38]
mov ecx, 8
mov edx, dword [esi]
mov eax, edx
and eax, 0xff
mov ebx, eax
shl eax, 2
add eax, ebx
mov dword [edi], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
shl eax, 2
add eax, ebx
mov dword [edi + 4], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
shl eax, 2
add eax, ebx
mov dword [edi + 8], eax
mov edx, dword [esi + 4]
mov eax, edx
and eax, 0xff
mov ebx, eax
add eax, eax
mov dword [edi + 0xc], eax
add eax, ebx
add dword [edi], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
add eax, eax
mov dword [edi + 0x10], eax
add eax, ebx
add dword [edi + 4], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
add eax, eax
mov dword [edi + 0x14], eax
add eax, ebx
add dword [edi + 8], eax
mov edx, dword [esi + 8]
mov eax, edx
and eax, 0xff
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0xc], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x10], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x14], eax
mov edx, dword [esi + 0xc]
mov eax, edx
and eax, 0xff
add dword [edi + 0xc], eax
shl eax, 2
mov dword [edi + 0x18], eax
mov eax, edx
and eax, 0xff00
add dword [edi + 0x10], eax
shl eax, 2
mov dword [edi + 0x1c], eax
mov eax, edx
and eax, 0xff0000
add dword [edi + 0x14], eax
shl eax, 2
mov dword [edi + 0x20], eax
mov edx, dword [esi + 0x10]
mov eax, edx
and eax, 0xff
mov dword [edi + 0x24], eax
shl eax, 2
add dword [edi + 0x18], eax
mov eax, edx
and eax, 0xff00
mov dword [edi + 0x28], eax
shl eax, 2
add dword [edi + 0x1c], eax
mov eax, edx
and eax, 0xff0000
mov dword [edi + 0x2c], eax
shl eax, 2
add dword [edi + 0x20], eax
mov edx, dword [esi + 0x14]
mov eax, edx
and eax, 0xff
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x24], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x28], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x2c], eax
mov edx, dword [esi + 0x18]
mov eax, edx
and eax, 0xff
mov ebx, eax
add eax, eax
add dword [edi + 0x24], eax
add eax, ebx
mov dword [edi + 0x30], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
add eax, eax
add dword [edi + 0x28], eax
add eax, ebx
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
add eax, eax
add dword [edi + 0x2c], eax
add eax, ebx
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x1c]
mov eax, edx
and eax, 0xff
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x30], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x34], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x38], eax
add esi, dword [ebp - 0xc4c]
add edi, 0x3c
dec ecx
jne 0x425d82
mov ecx, 0xf
lea esi, [ebp - 0xc38]
lea edi, [ebp - 0xa58]
mov eax, dword [esi]
mov ebx, eax
shl eax, 2
add eax, ebx
mov dword [edi], eax
mov eax, dword [esi + 0x3c]
mov ebx, eax
add eax, eax
mov dword [edi + 0x3c], eax
add eax, ebx
add dword [edi], eax
mov eax, dword [esi + 0x78]
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0x3c], eax
mov eax, dword [esi + 0xb4]
add dword [edi + 0x3c], eax
shl eax, 2
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0xf0]
mov dword [edi + 0xb4], eax
shl eax, 2
add dword [edi + 0x78], eax
mov eax, dword [esi + 0x12c]
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0xb4], eax
mov eax, dword [esi + 0x168]
mov ebx, eax
add eax, eax
add dword [edi + 0xb4], eax
add eax, ebx
mov dword [edi + 0xf0], eax
mov eax, dword [esi + 0x1a4]
mov ebx, eax
shl eax, 2
add eax, ebx
add dword [edi + 0xf0], eax
add esi, 4
add edi, 4
dec ecx
jne 0x425f56
lea esi, [ebp - 0xa58]
mov edi, dword [ebp - 0x18]
mov ebx, 5
push edi
mov ecx, 5
mov eax, dword [esi]
shr eax, 6
mov edx, dword [esi + 4]
shr edx, 6
and edx, 0xff00
or eax, edx
mov edx, dword [esi + 8]
shr edx, 6
and edx, 0xff0000
or eax, edx
mov dword [edi], eax
add esi, 0xc
add edi, 4
dec ecx
jne 0x425ffc
pop edi
add edi, dword [ebp - 0xc48]
dec ebx
jne 0x425ff6
popaw
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x425d51
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0xa4]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc50]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
imul ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc54]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x10], eax
jmp 0x425d1f
jmp 0x426358
cmp dword [ebp - 0x1c], 4
jne 0x426358
cmp dword [ebp - 0x34], 5
jne 0x426358
mov ecx, dword [ebp - 0xc74]
mov edx, dword [ecx + 0x9c]
shl edx, 2
mov dword [ebp - 0xc60], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0xa4]
shl ecx, 2
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0xc64], 0xa3d70a3
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
test edx, edx
je 0x426358
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc6c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc68], edx
mov dword [ebp - 0xc70], 0
jmp 0x42611c
mov eax, dword [ebp - 0xc70]
add eax, 1
mov dword [ebp - 0xc70], eax
mov ecx, dword [ebp - 0xc70]
cmp ecx, dword [ebp - 0xc3c]
jge 0x42631b
pushaw
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0xc38]
mov ecx, 5
mov edx, dword [esi]
mov eax, edx
and eax, 0xff
shl eax, 2
mov dword [edi], eax
mov eax, edx
and eax, 0xff00
shl eax, 2
mov dword [edi + 4], eax
mov eax, edx
and eax, 0xff0000
shl eax, 2
mov dword [edi + 8], eax
mov edx, dword [esi + 4]
mov eax, edx
and eax, 0xff
mov ebx, eax
add dword [edi], eax
add eax, eax
add eax, ebx
mov dword [edi + 0xc], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
add dword [edi + 4], eax
add eax, eax
add eax, ebx
mov dword [edi + 0x10], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
add dword [edi + 8], eax
add eax, eax
add eax, ebx
mov dword [edi + 0x14], eax
mov edx, dword [esi + 8]
mov eax, edx
and eax, 0xff
add eax, eax
add dword [edi + 0xc], eax
mov dword [edi + 0x18], eax
mov eax, edx
and eax, 0xff00
add eax, eax
add dword [edi + 0x10], eax
mov dword [edi + 0x1c], eax
mov eax, edx
and eax, 0xff0000
add eax, eax
add dword [edi + 0x14], eax
mov dword [edi + 0x20], eax
mov edx, dword [esi + 0xc]
mov eax, edx
and eax, 0xff
mov ebx, eax
mov dword [edi + 0x24], eax
add eax, eax
add eax, ebx
add dword [edi + 0x18], eax
mov eax, edx
and eax, 0xff00
mov ebx, eax
mov dword [edi + 0x28], eax
add eax, eax
add eax, ebx
add dword [edi + 0x1c], eax
mov eax, edx
and eax, 0xff0000
mov ebx, eax
mov dword [edi + 0x2c], eax
add eax, eax
add eax, ebx
add dword [edi + 0x20], eax
mov edx, dword [esi + 0x10]
mov eax, edx
and eax, 0xff
shl eax, 2
add dword [edi + 0x24], eax
mov eax, edx
and eax, 0xff00
shl eax, 2
add dword [edi + 0x28], eax
mov eax, edx
and eax, 0xff0000
shl eax, 2
add dword [edi + 0x2c], eax
add esi, dword [ebp - 0xc60]
add edi, 0x30
dec ecx
jne 0x42613e
mov ecx, 0xc
lea esi, [ebp - 0xc38]
lea edi, [ebp - 0xb48]
mov eax, dword [esi]
shl eax, 2
mov dword [edi], eax
mov eax, dword [esi + 0x30]
mov ebx, eax
add dword [edi], eax
add eax, eax
add eax, ebx
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x60]
add eax, eax
add dword [edi + 0x30], eax
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x90]
mov ebx, eax
mov dword [edi + 0x90], eax
add eax, eax
add eax, ebx
add dword [edi + 0x60], eax
mov eax, dword [esi + 0xc0]
shl eax, 2
add dword [edi + 0x90], eax
add esi, 4
add edi, 4
dec ecx
jne 0x426258
lea esi, [ebp - 0xb48]
mov edi, dword [ebp - 0x18]
mov ecx, 4
push ecx
push edi
mov ecx, 4
mov eax, dword [esi]
mul dword [ebp - 0xc64]
mov ebx, edx
mov eax, dword [esi + 4]
mul dword [ebp - 0xc64]
and edx, 0xff00
or ebx, edx
mov eax, dword [esi + 8]
mul dword [ebp - 0xc64]
and edx, 0xff0000
or ebx, edx
mov dword [edi], ebx
add esi, 0xc
add edi, 4
dec ecx
jne 0x4262ba
pop edi
pop ecx
add edi, dword [ebp - 0xc5c]
dec ecx
jne 0x4262b3
popaw
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x42610d
mov edx, dword [ebp - 0xc74]
mov eax, dword [edx + 0xa4]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc68]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax + 0x9c]
imul ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc6c]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x10], eax
jmp 0x4260db
mov ecx, dword [ebp - 0xc74]
call fcn.00424dc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14