Function at 0x4451f0
Capabilities:
Check for software breakpoints
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x69301c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x58], edx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x60], ecx
push esi
mov esi, dword [eax + 0x10]
mov dword [ebp - 0x68], esi
cmp edx, 3
je 0x445244
cmp edx, 4
je 0x445244
pop esi
mov dword [eax + 8], 0x11
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eb48e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ecx]
mov ecx, 1
test eax, eax
push edi
cmovne ecx, eax
mov eax, dword [esi + 0x34]
imul eax, ecx
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x4452ac
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
mov eax, dword [eax]
call eax
add esp, 0xc
mov dword [esi + 0x190], eax
mov ecx, esi
mov dword [eax], 0x4253b0
mov dword [eax + 4], 0x425510
mov byte [eax + 8], 0
call fcn.00424c10
cmp byte [esi + 0x40], 0
je 0x4452a3
mov dword [esi + 0x14], 0xcf
jmp 0x445352
mov dword [esi + 0x14], 0xcb
jmp 0x4452b3
cmp eax, 0xcb
jne 0x445321
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x10], 0
je 0x445316
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x4452cf
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a0]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x445778
cmp eax, 2
je 0x445316
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4452c0
cmp eax, 3
je 0x4452fb
cmp eax, 1
jne 0x4452c0
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x4452c0
mov eax, dword [esi + 0x120]
add eax, edi
mov dword [edx + 8], eax
jmp 0x4452c0
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x445343
cmp eax, 0xcc
je 0x445343
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
mov ecx, esi
call fcn.0041c430
test al, al
je 0x445778
mov eax, dword [ebp - 0x58]
cdq
idiv dword [ebp + 0x18]
mov edi, dword [esi + 0x5c]
cmp eax, edi
jge 0x44536f
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], 1
jmp 0x445778
mov ecx, dword [esi + 4]
lea eax, [edi*4 + 0x1c]
push 1
push eax
push 1
mov eax, dword [ecx + 8]
push esi
call eax
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x445778
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x2c]
cmp eax, 2
jne 0x445477
cmp dword [ebp + 0x18], 4
jne 0x4453b3
mov dword [esi + 0x2c], 6
mov eax, dword [esi + 0x78]
xor edi, edi
cmp eax, dword [esi + 0x60]
jae 0x44541f
nop dword [eax]
mov dword [ecx], ebx
mov edx, ecx
push ecx
mov ecx, esi
call fcn.0041c500
add esp, 4
test eax, eax
je 0x445778
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x445410
mov eax, edi
and eax, 0x8000000f
jns 0x4453f1
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x445410
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
push edx
push dword [esi + 0x60]
push edi
call dword [eax]
cmp dword [ebp - 0x48], 0
jne 0x4455c7
add ebx, dword [ebp - 0x58]
inc edi
mov eax, dword [esi + 0x78]
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [esi + 0x60]
jb 0x4453c0
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebx + 0x10]
mov eax, dword [esi + 0x14]
cmp eax, 0xcd
je 0x44543a
cmp eax, 0xce
jne 0x4455d6
cmp byte [esi + 0x40], 0
jne 0x4455d6
mov eax, dword [esi + 0x78]
cmp eax, dword [esi + 0x60]
jae 0x44545f
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x45
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x190]
push esi
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x14], 0xd2
jmp 0x445605
cmp eax, 4
jne 0x44576e
mov eax, dword [esi + 0x78]
xor edi, edi
mov dword [ebp - 0x54], edi
cmp eax, dword [esi + 0x60]
jae 0x44541f
add ebx, 3
mov dword [ebp - 0x48], ebx
push ecx
mov edx, ecx
mov ecx, esi
call fcn.0041c500
add esp, 4
test eax, eax
je 0x445778
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ecx]
cmp eax, 3
jne 0x445507
mov eax, dword [ebp - 0x50]
test eax, eax
jle 0x445574
lea edi, [ebx - 1]
mov ebx, eax
lea edx, [ecx + 2]
nop dword [eax + eax]
movzx ecx, byte [edx + 1]
lea edi, [edi + 3]
movzx eax, byte [edx]
lea edx, [edx + 4]
imul eax, ecx
shr eax, 8
mov byte [edi - 5], al
movzx eax, byte [edx - 5]
imul eax, ecx
shr eax, 8
mov byte [edi - 4], al
movzx eax, byte [edx - 6]
imul eax, ecx
shr eax, 8
mov byte [edi - 3], al
sub ebx, 1
jne 0x4454d0
jmp 0x44556e
cmp eax, 4
jne 0x445574
cmp dword [ebp - 0x50], 0
jle 0x445574
mov eax, ebx
lea edx, [ecx + 2]
sub eax, ecx
mov edi, ebx
mov ebx, dword [ebp - 0x50]
add eax, 0xfffffffd
mov dword [ebp - 0x64], eax
mov esi, eax
nop word [eax + eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
lea edi, [edi + 4]
imul eax, ecx
shr eax, 8
mov byte [edi - 7], al
movzx eax, byte [edx - 5]
imul eax, ecx
shr eax, 8
mov byte [edi - 6], al
movzx eax, byte [edx - 6]
imul eax, ecx
mov byte [edi - 4], 0xff
shr eax, 8
mov byte [esi + edx - 4], al
sub ebx, 1
jne 0x445530
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4455a9
mov eax, edi
and eax, 0x8000000f
jns 0x44558e
dec eax
or eax, 0xfffffff0
add eax, 1
jne 0x4455a9
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
push edx
push dword [esi + 0x60]
push edi
call dword [eax]
cmp dword [ebp - 0x48], 0
jne 0x4455c7
add ebx, dword [ebp - 0x58]
inc edi
mov eax, dword [esi + 0x78]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x48], ebx
cmp eax, dword [esi + 0x60]
jae 0x44541f
mov ecx, dword [ebp - 0x5c]
jmp 0x445493
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], 7
jmp 0x445778
cmp eax, 0xcf
jne 0x4455e6
mov dword [esi + 0x14], 0xd2
jmp 0x445608
cmp eax, 0xd2
je 0x445608
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x11], 0
jne 0x44562c
mov eax, dword [eax]
push esi
call eax
add esp, 4
test eax, eax
je 0x44566a
mov eax, dword [esi + 0x1a0]
cmp byte [eax + 0x11], 0
je 0x445614
mov eax, dword [esi + 0x18]
push esi
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
je 0x44566a
mov eax, dword [eax + 0x24]
push 1
push esi
call eax
add esp, 8
cmp byte [esi + 0x10], 0
je 0x445663
mov dword [esi + 0x14], 0xc8
mov dword [esi + 0x10c], 0
jmp 0x44566a
mov dword [esi + 0x14], 0x64
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + 0x20], 0
je 0x445756
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x60]
push 0
sub edi, dword [eax + 0x1c4]
mov ecx, dword [ebx + 0x2c]
push edi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
sub esi, eax
cmp esi, 0x40
jb 0x445756
mov ecx, dword [ebx + 0x2c]
lea edx, [ebp - 0x44]
push 0x40
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x445756
lea eax, [ebp - 0x44]
cmp dword [eax], 0x46464952
jne 0x445756
mov ecx, dword [ebx + 0x2c]
push 0
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebx + 0x2c]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
sub esi, eax
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x445710
push eax
call fcn.005faa7c
add esp, 4
mov dword [ebx + 0x68], 0
push esi
mov dword [ebx + 0x6c], 0
call fcn.005fa61d
add esp, 4
mov dword [ebx + 0x68], eax
test eax, eax
je 0x445756
mov dword [ebx + 0x6c], esi
mov ecx, dword [ebx + 0x2c]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x445756
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x44574f
push ecx
call fcn.005faa7c
add esp, 4
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005eb48e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x4c]
mov dword [eax + 8], 2
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005eb48e
mov esp, ebp
pop ebp
ret 0x14