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

Disassembly:
sub esp, 0x188
mov eax, dword [0x63d20c]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
mov esi, ecx
xor ecx, ecx
xor eax, eax
cmp dword [esi + 0x24], ecx
mov dword [esp + 0x18], eax
jle 0x48e33d
push ebx
push ebp
push edi
jmp 0x48dbf0
cmp dword [esi + 0x20], ecx
mov dword [esp + 0x20], ecx
jle 0x48e32a
lea ecx, [ecx]
cmp dword [esi + 0xbc], ecx
mov dword [esp + 0x3c], ecx
jle 0x48e08e
lea eax, [esi + 0xd98]
lea ebx, [esi + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov ecx, dword [ebx + 8]
shl ecx, 7
lea edx, [ecx + esi + 0xd0]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x48], edx
mov eax, ecx
cdq
idiv dword [ebx]
mov edi, dword [esi + 0x1c]
mov ebp, eax
mov eax, edi
cdq
idiv dword [ebx + 4]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x38], eax
mov eax, ebp
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
cdq
and edx, 7
add eax, edx
mov ebp, eax
sar ebp, 3
xor eax, eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x48e06b
lea ecx, [ecx]
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x48e05a
mov ecx, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x44], eax
lea ebx, [ebx]
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
imul edx, ecx
imul ecx, ebp
add edx, dword [esp + 0x18]
mov eax, dword [eax]
add edx, dword [esp + 0x20]
add ecx, ecx
add ecx, ecx
lea eax, [eax + edx*4]
mov edx, ecx
lea ecx, [esp + 0x58]
mov edi, 2
lea ecx, [ecx]
mov ebx, dword [eax]
mov dword [ecx - 4], ebx
mov ebx, dword [eax + 4]
mov dword [ecx], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x14], ebx
mov ebx, dword [eax + 0x1c]
mov dword [ecx + 0x18], ebx
mov ebx, dword [eax + edx]
mov dword [ecx + 0x1c], ebx
mov ebx, dword [eax + edx + 4]
mov dword [ecx + 0x20], ebx
mov ebx, dword [eax + edx + 8]
add eax, edx
mov dword [ecx + 0x24], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0x28], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x2c], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x30], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x34], ebx
mov ebx, dword [eax + 0x1c]
mov dword [ecx + 0x38], ebx
mov ebx, dword [eax + edx]
mov dword [ecx + 0x3c], ebx
mov ebx, dword [eax + edx + 4]
add eax, edx
mov dword [ecx + 0x40], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 0x44], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0x48], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x4c], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x50], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x54], ebx
mov ebx, dword [eax + 0x1c]
add eax, edx
mov dword [ecx + 0x58], ebx
mov ebx, dword [eax]
mov dword [ecx + 0x5c], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 0x60], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 0x64], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0x68], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x6c], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x70], ebx
mov ebx, dword [eax + 0x18]
mov dword [ecx + 0x74], ebx
mov ebx, dword [eax + 0x1c]
mov dword [ecx + 0x78], ebx
add eax, edx
sub ecx, 0xffffff80
sub edi, 1
jne 0x48dcd0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
mov ecx, esi
call fcn.0048c0d0
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
imul ecx, eax
add ecx, dword [esp + 0x18]
mov edx, dword [edx]
add ecx, dword [esp + 0x20]
lea edx, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x48defb
cmp ebp, ecx
jne 0x48dfbb
lea eax, [esp + 0x155]
lea edi, [ecx + 1]
movzx ecx, byte [eax - 1]
mov dword [edx], ecx
movzx ecx, byte [eax]
mov dword [edx + 4], ecx
movzx ecx, byte [eax + 1]
mov dword [edx + 8], ecx
movzx ecx, byte [eax + 2]
mov dword [edx + 0xc], ecx
movzx ecx, byte [eax + 3]
mov dword [edx + 0x10], ecx
movzx ecx, byte [eax + 4]
mov dword [edx + 0x14], ecx
movzx ecx, byte [eax + 5]
mov dword [edx + 0x18], ecx
movzx ecx, byte [eax + 6]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esi + 0x20]
lea ecx, [edx + ecx*4]
movzx edx, byte [eax + 7]
mov dword [ecx], edx
movzx edx, byte [eax + 8]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 9]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xa]
mov dword [ecx + 0xc], edx
movzx edx, byte [eax + 0xb]
mov dword [ecx + 0x10], edx
movzx edx, byte [eax + 0xc]
mov dword [ecx + 0x14], edx
movzx edx, byte [eax + 0xd]
mov dword [ecx + 0x18], edx
movzx edx, byte [eax + 0xe]
mov dword [ecx + 0x1c], edx
mov edx, dword [esi + 0x20]
lea ecx, [ecx + edx*4]
movzx edx, byte [eax + 0xf]
mov dword [ecx], edx
movzx edx, byte [eax + 0x10]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 0x11]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0x12]
mov dword [ecx + 0xc], edx
movzx edx, byte [eax + 0x13]
mov dword [ecx + 0x10], edx
movzx edx, byte [eax + 0x14]
mov dword [ecx + 0x14], edx
movzx edx, byte [eax + 0x15]
mov dword [ecx + 0x18], edx
movzx edx, byte [eax + 0x16]
mov dword [ecx + 0x1c], edx
mov edx, dword [esi + 0x20]
lea ecx, [ecx + edx*4]
movzx edx, byte [eax + 0x17]
mov dword [ecx], edx
movzx edx, byte [eax + 0x18]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 0x19]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0x1a]
mov dword [ecx + 0xc], edx
movzx edx, byte [eax + 0x1b]
mov dword [ecx + 0x10], edx
movzx edx, byte [eax + 0x1c]
mov dword [ecx + 0x14], edx
movzx edx, byte [eax + 0x1d]
mov dword [ecx + 0x18], edx
movzx edx, byte [eax + 0x1e]
mov dword [ecx + 0x1c], edx
mov edx, dword [esi + 0x20]
add eax, 0x20
sub edi, 1
lea edx, [ecx + edx*4]
jne 0x48ddf7
jmp 0x48e03b
cmp ecx, 2
jne 0x48dfbb
cmp ebp, ecx
jne 0x48dfbb
lea eax, [edx + eax*4]
lea ecx, [esp + 0x155]
mov ebx, 8
jmp 0x48df20
movzx edi, byte [ecx - 1]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [edx], edi
movzx edi, byte [ecx]
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [edx + 0xc], edi
mov dword [edx + 8], edi
movzx edi, byte [ecx + 1]
mov dword [eax + 0x14], edi
mov dword [eax + 0x10], edi
mov dword [edx + 0x14], edi
mov dword [edx + 0x10], edi
movzx edi, byte [ecx + 2]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x18], edi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x18], edi
movzx edi, byte [ecx + 3]
mov dword [eax + 0x24], edi
mov dword [eax + 0x20], edi
mov dword [edx + 0x24], edi
mov dword [edx + 0x20], edi
movzx edi, byte [ecx + 4]
mov dword [eax + 0x2c], edi
mov dword [eax + 0x28], edi
mov dword [edx + 0x2c], edi
mov dword [edx + 0x28], edi
movzx edi, byte [ecx + 5]
mov dword [eax + 0x34], edi
mov dword [eax + 0x30], edi
mov dword [edx + 0x34], edi
mov dword [edx + 0x30], edi
movzx edi, byte [ecx + 6]
mov dword [eax + 0x3c], edi
mov dword [eax + 0x38], edi
mov dword [edx + 0x3c], edi
mov dword [edx + 0x38], edi
mov edi, dword [esi + 0x20]
add edi, edi
add edi, edi
add edi, edi
add edx, edi
add eax, edi
add ecx, 8
sub ebx, 1
jne 0x48df20
jmp 0x48e03b
mov dword [esp + 0x2c], 0
mov dword [esp + 0x40], 8
jmp 0x48dfd0
mov ebx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 8
mov edi, edi
test ebp, ebp
jle 0x48e00b
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x48dffc
mov eax, dword [esp + 0x2c]
movzx eax, byte [esp + eax + 0x154]
mov edi, ebx
rep stosd dword es:[edi], eax
sub ebp, 1
mov ecx, dword [esi + 0x20]
lea ebx, [ebx + ecx*4]
jne 0x48dfe4
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
add eax, eax
mov ecx, 1
add dword [esp + 0x2c], ecx
add eax, eax
add ebx, eax
sub dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jne 0x48dfe0
mov eax, dword [esi + 0x20]
imul eax, ebp
sub dword [esp + 0x40], ecx
lea edx, [edx + eax*4]
jne 0x48dfd0
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x48dca0
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x38]
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
jl 0x48dc80
mov eax, dword [esp + 0x3c]
add dword [esp + 0x14], 4
inc eax
add ebx, 0x14
cmp eax, dword [esi + 0xbc]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ebx
jl 0x48dc21
xor ecx, ecx
cmp dword [esi + 0xc0], ecx
je 0x48e312
mov eax, dword [esi + 0xbc]
cmp eax, 3
jne 0x48e1c8
cmp dword [esi + 0x1c], ecx
mov dword [esp + 0x1c], ecx
jle 0x48e312
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x20]
imul ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x20]
mov edi, dword [esi + 0xd98]
mov ebx, dword [esi + 0xd9c]
mov eax, dword [esi + 0xda0]
add ecx, ecx
add ecx, ecx
add eax, ecx
add edi, ecx
add ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
test edx, edx
jle 0x48e1ad
lea ecx, [ecx]
mov eax, dword [eax]
mov edx, dword [edi]
mov ecx, dword [ebx]
add eax, 0xffffff80
mov ebp, eax
imul eax, eax, 0xffff492e
imul ebp, ebp, 0x166e9
shl edx, 0x10
lea ebp, [edx + ebp + 0x8000]
sar ebp, 0x10
add ebp, 0x180
add ecx, 0xffffff80
and ebp, 0x3ff
movzx ebp, byte [ebp + 0x63e0e8]
mov dword [edi], ebp
mov ebp, ecx
imul ecx, ecx, 0x1c5a2
imul ebp, ebp, 0x5819
sub eax, ebp
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
lea ecx, [ecx + edx + 0x8000]
add eax, 0x180
and eax, 0x3ff
movzx eax, byte [eax + 0x63e0e8]
sar ecx, 0x10
add ecx, 0x180
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
and ecx, 0x3ff
movzx edx, byte [ecx + 0x63e0e8]
mov ecx, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esi + 0x18]
inc ecx
add eax, 4
add edi, 4
add ebx, 4
cmp ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jl 0x48e100
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
jl 0x48e0c1
jmp 0x48e310
cmp eax, 4
jne 0x48e312
cmp dword [esi + 0x1c], ecx
mov dword [esp + 0x1c], ecx
jle 0x48e312
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ecx, dword [esi + 0x20]
imul ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x20]
mov edi, dword [esi + 0xd98]
mov eax, dword [esi + 0xd9c]
mov ebx, dword [esi + 0xda0]
add ecx, ecx
add ecx, ecx
add eax, ecx
add ebx, ecx
add edi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
test edx, edx
jle 0x48e2fa
mov ecx, dword [eax]
mov eax, dword [ebx]
mov edx, dword [edi]
add eax, 0xffffff80
mov ebx, eax
imul eax, eax, 0xffff492e
imul ebx, ebx, 0x166e9
shl edx, 0x10
lea ebx, [ebx + edx + 0x8000]
sar ebx, 0x10
add ebx, 0x180
and ebx, 0x3ff
movzx ebx, byte [ebx + 0x63e0e8]
add ecx, 0xffffff80
mov ebp, 0xff
sub ebp, ebx
mov ebx, ecx
imul ecx, ecx, 0x1c5a2
imul ebx, ebx, 0x5819
sub eax, ebx
lea eax, [eax + edx + 0x8000]
sar eax, 0x10
add eax, 0x180
lea ecx, [ecx + edx + 0x8000]
mov dword [edi], ebp
and eax, 0x3ff
movzx eax, byte [eax + 0x63e0e8]
sar ecx, 0x10
add ecx, 0x180
and ecx, 0x3ff
mov ebx, 0xff
sub ebx, eax
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
movzx edx, byte [ecx + 0x63e0e8]
mov ebx, dword [esp + 0x14]
mov ecx, 0xff
sub ecx, edx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x18]
inc ecx
add eax, 4
add ebx, 4
add edi, 4
cmp ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
jl 0x48e230
mov eax, dword [esp + 0x1c]
inc dword [esp + 0x10]
inc eax
cmp eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
jl 0x48e1f0
xor ecx, ecx
mov eax, dword [esp + 0x20]
add eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
jl 0x48dc00
mov eax, dword [esp + 0x24]
add eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x24]
mov dword [esp + 0x24], eax
jl 0x48dbf0
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x188]
pop esi
xor ecx, esp
call fcn.00551b9a
add esp, 0x188
ret