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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov eax, dword [esp + 0x100]
mov ebp, dword [eax + 0x18e60]
mov edi, dword [eax + 0x18e64]
mov esi, dword [eax + 0x18e68]
mov ebx, dword [eax + 0x18e6c]
call dword [0x70ea6260]
mov eax, dword [esp + 0x100]
mov dword [esp + 0x64], 0
mov edx, dword [eax + 0x1a908]
test edx, edx
je 0x700bac6e
mov eax, ebp
add esi, edi
shl eax, 8
add ebx, esi
sub eax, ebp
add ebp, ebx
cdq
mov ecx, 1
idiv ebp
mov esi, pe_nt_image_headers32
test eax, eax
cmovne ecx, eax
test ebx, ebx
je 0x700bab48
mov eax, dword [esp + 0x100]
mov edx, dword [eax + 0x18e64]
mov eax, edx
shl eax, 8
sub eax, edx
cdq
idiv ebx
mov esi, eax
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x100]
mov ebx, dword [eax + 0x18e68]
mov eax, pe_nt_image_headers32
mov edi, ebx
add edi, dword [edx + 0x18e6c]
jne 0x700bae69
mov dword [esp + 8], esi
lea esi, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.700ba960
mov eax, dword [esp + 0x100]
mov edx, dword [eax + 0x18e60]
mov eax, dword [eax + 0x18e64]
imul eax, dword [esp + 0x74]
imul edx, dword [esp + 0x70]
add edx, eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x18e68]
imul eax, dword [esp + 0x78]
lea ebx, [edx + eax]
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x18e6c]
imul eax, dword [esp + 0x7c]
add ebx, eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x23bc8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x23bc4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x23bc0]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.700ba960
mov eax, dword [esp + 0x100]
mov edx, dword [eax + 0x18e60]
mov eax, dword [eax + 0x18e64]
imul eax, dword [esp + 0x74]
imul edx, dword [esp + 0x70]
add edx, eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x18e68]
imul eax, dword [esp + 0x78]
add edx, eax
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x18e6c]
imul eax, dword [esp + 0x7c]
add eax, edx
sub eax, ebx
test eax, eax
lea edx, [eax + 0xff]
cmovs eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x100]
sar dword [esp + 0x64], 8
test byte [eax + 0x1cde0], 2
jne 0x700bae78
add eax, 0x21a80
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x58], 0x108
mov dword [esp + 0x34], 0
add eax, 0x13c34
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x100]
add eax, 0x21240
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x5c]
sub eax, 0x108
mov dword [esp + 0x50], esi
lea esi, [esi]
lea esi, [eax + 0x21]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x54]
add eax, esi
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x100
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x707a4860
mov dword [esp + 4], 0x707a4800
mov dword [esp], 0xc
call fcn.7013f850
mov edx, ebx
mov dword [esp + 0x2c], 0
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x2c]
movzx edi, byte [esi - 0x5723]
movzx ebx, byte [esi]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
movzx ecx, byte [eax + ecx + 0x707a4a20]
mov eax, 0xff
sub eax, edi
imul ebp, dword [eax*4 + 0x707a5540]
mov eax, ebp
mov ebp, dword [edx]
imul ebp, dword [edi*4 + 0x707a5540]
mov edi, dword [esp + 0x30]
add eax, ebp
mov ebp, 0xff
sub ebp, ebx
imul edi, dword [ebp*4 + 0x707a5540]
mov ebp, dword [edx]
shr eax, 8
imul ebp, dword [ebx*4 + 0x707a5540]
mov ebx, 0xff
sub ebx, ecx
mov ebx, dword [ebx*4 + 0x707a5540]
sub ebx, dword [ecx*4 + 0x707a5540]
add edi, ebp
shr edi, 8
sub eax, edi
mov edi, dword [esp + 0x34]
shr ebx, 8
add ebx, 8
sub eax, ebx
mov ecx, edi
add ecx, eax
test eax, eax
cmovle ecx, edi
add esi, 1
add dword [esp + 0x2c], 1
add edx, 8
cmp dword [esp + 0x2c], 0xb
mov dword [esp + 0x34], ecx
jne 0x700bad43
add dword [esp + 0x38], 0xb
mov eax, dword [esp + 0x48]
add dword [esp + 0x3c], 0xb
add dword [esp + 0x40], 0x58
add dword [esp + 0x44], 0x30
cmp dword [esp + 0x38], eax
jne 0x700bacf5
mov eax, dword [esp + 0x38]
add dword [esp + 0x50], 0x108
add dword [esp + 0x4c], 0x90
cmp dword [esp + 0x58], eax
jne 0x700bacd0
add dword [esp + 0x58], 0x108
add dword [esp + 0x5c], 0x840
add dword [esp + 0x60], 0x480
cmp dword [esp + 0x58], 0x528
jne 0x700bacb4
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x34]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
shl eax, 8
sub eax, ebx
cdq
idiv edi
jmp 0x700bab6f
mov eax, dword [eax + 0x1a908]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x100]
add eax, 0x21a80
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x100]
add eax, 0x21240
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x100]
add eax, 0x21261
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x100]
lea eax, [eax + esi + 0x13c34]
mov dword [esp + 0x5c], eax
xor eax, eax
mov ecx, 0xc
mov esi, dword [esp + 0x48]
lea edi, [esp + 0x80]
mov edx, dword [esp + 0x58]
rep stosd dword es:[edi], eax
lea edi, [esp + 0xb0]
lea edx, [edx + esi + 0x7079bca0]
mov cl, 0xc
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
add eax, esi
test ecx, ecx
cmove eax, edx
mov edx, dword [esp + 0x80]
mov esi, 0xffffffff
add edx, dword [eax]
cmovb edx, esi
add edx, dword [eax + 0x30]
cmovb edx, esi
add edx, dword [eax + 0x60]
cmovb edx, esi
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x84]
add edx, dword [eax + 4]
cmovb edx, esi
add edx, dword [eax + 0x34]
cmovb edx, esi
add edx, dword [eax + 0x64]
cmovb edx, esi
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x88]
add edx, dword [eax + 8]
cmovb edx, esi
add edx, dword [eax + 0x38]
cmovb edx, esi
add edx, dword [eax + 0x68]
cmovb edx, esi
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x8c]
add edx, dword [eax + 0xc]
cmovb edx, esi
add edx, dword [eax + 0x3c]
cmovb edx, esi
add edx, dword [eax + 0x6c]
cmovb edx, esi
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x90]
add edx, dword [eax + 0x10]
cmovb edx, esi
add edx, dword [eax + 0x40]
cmovb edx, esi
add edx, dword [eax + 0x70]
cmovb edx, esi
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x94]
add edx, dword [eax + 0x14]
cmovb edx, esi
add edx, dword [eax + 0x44]
cmovb edx, esi
add edx, dword [eax + 0x74]
cmovb edx, esi
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x98]
add edx, dword [eax + 0x18]
cmovb edx, esi
add edx, dword [eax + 0x48]
cmovb edx, esi
add edx, dword [eax + 0x78]
cmovb edx, esi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x9c]
add edx, dword [eax + 0x1c]
cmovb edx, esi
add edx, dword [eax + 0x4c]
cmovb edx, esi
add edx, dword [eax + 0x7c]
cmovb edx, esi
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xa0]
add edx, dword [eax + 0x20]
cmovb edx, esi
add edx, dword [eax + 0x50]
cmovb edx, esi
add edx, dword [eax + 0x80]
cmovb edx, esi
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xa4]
add edx, dword [eax + 0x24]
cmovb edx, esi
add edx, dword [eax + 0x54]
cmovb edx, esi
add edx, dword [eax + 0x84]
cmovb edx, esi
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xa8]
add edx, dword [eax + 0x28]
cmovb edx, esi
add edx, dword [eax + 0x58]
cmovb edx, esi
add edx, dword [eax + 0x88]
cmovb edx, esi
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0xac]
add edx, dword [eax + 0x2c]
cmovb edx, esi
add edx, dword [eax + 0x5c]
cmovb edx, esi
mov esi, dword [esp + 0x60]
add edx, dword [eax + 0x8c]
mov eax, 0xffffffff
cmovb edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xac], edx
add esi, eax
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x54]
add eax, esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x100
mov dword [esp + 8], 0x707a4860
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x707a4800
mov dword [esp], 0xc
mov dword [esp + 0xc], eax
call fcn.7013f850
mov eax, dword [esp + 0x100]
mov eax, dword [eax + 0x1a908]
test eax, eax
mov dword [esp + 0x40], eax
jne 0x700bb347
mov esi, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
movzx ebp, byte [ecx - 0x5723]
mov edi, dword [esi + 4]
movzx ebx, byte [ecx]
movzx eax, byte [eax + edx + 0x707a4a20]
mov dword [esp + 0x2c], eax
mov eax, 0xff
sub eax, ebp
imul edi, dword [eax*4 + 0x707a5540]
mov eax, edi
mov edi, dword [esi]
imul edi, dword [ebp*4 + 0x707a5540]
mov ebp, 0xff
sub ebp, ebx
add eax, edi
mov edi, dword [esi + 4]
imul edi, dword [ebp*4 + 0x707a5540]
shr eax, 8
mov ebp, edi
mov edi, dword [esi]
imul edi, dword [ebx*4 + 0x707a5540]
mov ebx, dword [esp + 0x2c]
add ebp, edi
mov edi, 0xff
sub edi, dword [esp + 0x2c]
shr ebp, 8
sub eax, ebp
mov edi, dword [edi*4 + 0x707a5540]
sub edi, dword [ebx*4 + 0x707a5540]
movzx ebx, byte [ecx - 0x5723]
shr edi, 8
add edi, 8
sub eax, edi
cmp byte [ecx], bl
je 0x700bb1eb
add dword [esp + edx*4 + 0xb0], eax
add edx, 1
add ecx, 1
add esi, 8
cmp edx, 0xb
jne 0x700bb154
add dword [esp + 0x34], 0xb
mov eax, dword [esp + 0x44]
add dword [esp + 0x38], 0x58
add dword [esp + 0x30], 0xb
cmp dword [esp + 0x34], eax
jne 0x700bb0ea
mov eax, dword [esp + 0xb0]
test eax, eax
jle 0x700bb3f7
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x700bb412
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb8]
test eax, eax
jle 0x700bb42d
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xbc]
test eax, eax
jle 0x700bb448
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc0]
test eax, eax
jle 0x700bb463
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc4]
test eax, eax
jle 0x700bb47e
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc8]
test eax, eax
jle 0x700bb499
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xcc]
test eax, eax
jle 0x700bb4b4
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x700bb4cf
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd4]
test eax, eax
jle 0x700bb4ea
add dword [esp + 0x3c], eax
mov eax, dword [esp + 0xd8]
test eax, eax
jle 0x700bb505
add dword [esp + 0x3c], eax
add dword [esp + 0x48], 0x90
add dword [esp + 0x4c], 0x108
add dword [esp + 0x50], 0x21
cmp dword [esp + 0x48], 0x480
jne 0x700baef8
add dword [esp + 0x58], 0x480
add dword [esp + 0x68], 0x840
add dword [esp + 0x6c], 0x108
cmp dword [esp + 0x58], 0x1200
jne 0x700baeca
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x3c]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esi, 1
add edx, 8
movzx ebp, byte [esi - 0x5724]
mov edi, dword [edx - 4]
movzx ebx, byte [esi - 1]
movzx eax, byte [eax + ecx + 0x707a4a20]
mov dword [esp + 0x2c], eax
mov eax, 0xff
sub eax, ebp
imul edi, dword [eax*4 + 0x707a5540]
mov eax, edi
mov edi, dword [edx - 8]
imul edi, dword [ebp*4 + 0x707a5540]
mov ebp, 0xff
sub ebp, ebx
add eax, edi
mov edi, dword [edx - 4]
imul edi, dword [ebp*4 + 0x707a5540]
shr eax, 8
mov ebp, edi
mov edi, dword [edx - 8]
imul edi, dword [ebx*4 + 0x707a5540]
mov ebx, dword [esp + 0x2c]
add ebp, edi
mov edi, 0xff
sub edi, dword [esp + 0x2c]
shr ebp, 8
sub eax, ebp
mov edi, dword [edi*4 + 0x707a5540]
sub edi, dword [ebx*4 + 0x707a5540]
shr edi, 8
add edi, 8
sub eax, edi
add dword [esp + ecx*4 + 0xb0], eax
add ecx, 1
cmp ecx, 0xb
jne 0x700bb351
jmp 0x700bb1fd
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x700bb229
mov eax, dword [esp + 0xb4]
test eax, eax
jg 0x700bb23c
mov edi, dword [esp + 0x40]
test edi, edi
je 0x700bb23c
mov eax, dword [esp + 0xb8]
test eax, eax
jg 0x700bb24f
mov esi, dword [esp + 0x40]
test esi, esi
je 0x700bb24f
mov eax, dword [esp + 0xbc]
test eax, eax
jg 0x700bb262
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x700bb262
mov eax, dword [esp + 0xc0]
test eax, eax
jg 0x700bb275
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x700bb275
mov eax, dword [esp + 0xc4]
test eax, eax
jg 0x700bb288
mov edx, dword [esp + 0x40]
test edx, edx
je 0x700bb288
mov eax, dword [esp + 0xc8]
test eax, eax
jg 0x700bb29b
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x700bb29b
mov eax, dword [esp + 0xcc]
test eax, eax
jg 0x700bb2ae
mov edi, dword [esp + 0x40]
test edi, edi
je 0x700bb2ae
mov eax, dword [esp + 0xd0]
test eax, eax
jg 0x700bb2c1
mov esi, dword [esp + 0x40]
test esi, esi
je 0x700bb2c1
mov eax, dword [esp + 0xd4]
test eax, eax
jg 0x700bb2d4
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x700bb2d4
mov eax, dword [esp + 0xd8]
test eax, eax
jg 0x700bb2e7
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x700bb2eb
jmp 0x700bb2e7