Function at 0x448900
Capabilities:
Encrypt data using rc4 ksa
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a9090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x12e]
mov cl, byte [ebx + 0x192]
cmp al, 4
push edi
mov byte [esp + 0x14], cl
jne 0x448952
mov esi, ecx
and esi, 0xff
mov eax, esi
and al, 0xfe
cmp eax, 2
jge 0x44894a
mov byte [esp + 0x14], 1
jmp 0x448952
mov eax, esi
shr eax, 1
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
xor esi, esi
mov si, word [ebx + 0x18e]
and eax, 0xff
mov dword [esp + 0x1c], eax
shl eax, 0xc
cdq
idiv esi
cmp eax, 0x40
mov byte [esp + 0x18], al
jl 0x44897c
mov byte [esp + 0x18], 0x40
mov eax, 0x1000
mov byte [esp + 0x12], 0x10
cdq
idiv esi
mov byte [esp + 0x20], al
mov al, byte [ebx + 0xa0]
test al, al
jne 0x4489a1
mov eax, dword [ebx + 0x130]
test eax, eax
je 0x4489a6
mov byte [esp + 0x12], 0x11
mov ax, word [ebx + 0x190]
xor dx, dx
mov dl, cl
imul ax, dx
mov dword [esp + 0x28], eax
mov al, byte [ebx + 0x18d]
cmp al, 0x40
mov word [esp + 0x24], dx
jbe 0x4489e6
lea ecx, [esp + 0x8c]
push 0x4d8340
push ecx
mov dword [esp + 0x94], 0xf1000
call sub.MSVCRT.dll__CxxThrowException
cmp cl, 1
jne 0x4489f2
mov ebp, 2
jmp 0x4489f6
movzx bp, cl
mov edi, dword [esp + 0x18]
mov esi, eax
and esi, 0xff
and edi, 0xff
and ecx, 0xff
lea eax, [edi + esi - 1]
cdq
idiv edi
lea edi, [esp + 0x3c]
mov byte [esp + 0x13], al
mov eax, ebp
and eax, 0xffff
cdq
idiv ecx
mov dl, byte [esp + 0x13]
mov ecx, 8
add al, dl
mov byte [ebx + 0x3270], al
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
mov byte [esp + 0x18], al
and edi, 0xff
lea eax, [edi + esi - 1]
cdq
idiv edi
mov edi, eax
test edi, edi
jle 0x448a92
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov al, byte [esp + 0x18]
mov word [esp + esi*2 + 0x3c], bp
inc ebp
inc al
mov byte [esp + 0x18], al
mov esi, dword [esp + 0x18]
and esi, 0xff
mov eax, esi
cdq
idiv ecx
test edx, edx
jne 0x448a8e
movzx dx, byte [esp + 0x14]
mov eax, dword [esp + 0x24]
sub eax, edx
add ebp, eax
cmp esi, edi
jl 0x448a5d
mov cl, byte [ebx + 0xf2]
mov dl, byte [ebx + 0xec]
push 0x80
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, ebx
call fcn.0043f110
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x20]
push ecx
push 0x80
push ecx
xor esi, esi
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov dword [esp + 0x94], esi
call fcn.004a57ee
mov al, byte [ebx + 0x24]
mov byte [esp + 0x90], 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4e60d8
call fcn.004a57ee
lea ecx, [ebx + 0x120]
mov byte [esp + 0x98], 0
call fcn.004584c0
cmp byte [esp + 0x36], 1
sete byte [esp + 0x13]
xor ecx, ecx
mov cx, word [ebx + 0x142]
mov edx, ecx
and edx, 0x800003ff
jns 0x448b2a
dec edx
or edx, 0xfffffc00
inc edx
jne 0x448b36
xor eax, eax
mov al, byte [ebx + 0x141]
jmp 0x448b47
xor eax, eax
xor ecx, ecx
mov ax, word [ebx + 0x144]
mov cl, byte [ebx + 0x141]
imul eax, ecx
mov ecx, dword [esp + 0x2e]
xor edx, edx
and ecx, 0xff
div ecx
xor ecx, ecx
mov cx, word [ebx + 0x18e]
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x448b6d
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x98]
mov edx, dword [esp + 0x18]
mov ecx, 0x80
xor eax, eax
mov edi, ebp
add edx, 0xfffffff6
rep stosd dword es:[edi], eax
mov al, 6
mov byte [ebp], 0xd
mov byte [ebp + 1], al
mov byte [ebp + 2], 5
mov byte [ebp + 3], al
mov al, byte [ebx + 0x24]
cmp al, 0x84
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
jne 0x448bad
mov byte [ebp + 4], al
jmp 0x448d45
cmp al, 0x86
mov cl, 0x92
je 0x448d3a
cmp al, cl
je 0x448d3a
cmp al, 0x90
jne 0x448bcb
mov byte [ebp + 4], al
jmp 0x448d45
cmp al, 0x96
jne 0x448bd7
mov byte [ebp + 4], al
jmp 0x448d3e
cmp al, 0x10
mov cl, 0x13
je 0x448be1
cmp al, cl
jne 0x448bf7
test byte [ebx + 0x110], 0x10
je 0x448bf7
mov byte [ebp + 4], 0x10
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448bff
cmp al, cl
jne 0x448c15
test byte [ebx + 0x110], 0x20
je 0x448c15
mov byte [ebp + 4], 0x12
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448c1d
cmp al, cl
jne 0x448c33
test byte [ebx + 0x110], 0x80
je 0x448c33
mov byte [ebp + 4], 0x15
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448c3b
cmp al, cl
jne 0x448c90
test byte [ebx + 0x110], 0x40
je 0x448c90
mov ax, word [ebx + 0x26]
shr ax, 8
cmp al, 0xcd
jne 0x448c5d
mov byte [ebp + 4], 0x98
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe0
jne 0x448c6e
mov byte [ebp + 4], 0x16
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe2
jne 0x448c7f
mov byte [ebp + 4], 0x17
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe6
jne 0x448c87
mov byte [ebp + 4], 0x19
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448c98
cmp al, cl
jne 0x448cd7
mov edx, dword [ebx + 0x110]
test dh, 1
je 0x448cd7
mov ax, word [ebx + 0x26]
shr ax, 8
cmp al, 0xcf
jne 0x448cbb
mov byte [ebp + 4], cl
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe1
jne 0x448cc9
mov byte [ebp + 4], 0x18
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe3
jne 0x448c87
mov byte [ebp + 4], 0x19
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448cdf
cmp al, cl
jne 0x448d0d
mov edx, dword [ebx + 0x110]
test dh, 2
je 0x448d0d
mov ax, word [ebx + 0x26]
shr ax, 8
cmp al, 0xcf
jne 0x448cff
mov byte [ebp + 4], cl
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0xe1
jne 0x448cc9
mov byte [ebp + 4], 0x18
mov byte [ebp + 5], 0x88
jmp 0x448d45
cmp al, 0x10
je 0x448d15
cmp al, cl
jne 0x448d45
mov eax, dword [ebx + 0x110]
test ah, 0x60
je 0x448d45
mov ax, word [ebx + 0x26]
shr ax, 8
cmp al, 0xe5
je 0x448d30
cmp al, 0xe8
jne 0x448d34
mov byte [ebp + 4], 0x21
mov byte [ebp + 5], 0x88
jmp 0x448d45
mov byte [ebp + 4], 0x85
mov byte [ebp + 5], 0x88
mov byte [ebp + 6], cl
mov eax, 0x400
xor ecx, ecx
mov cx, word [ebx + 0x190]
cdq
idiv ecx
cmp eax, 8
jle 0x448d60
mov eax, 8
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
mov byte [ebp + 0xb], al
call fcn.00449dc0
mov byte [ebp + 0xc], al
mov byte [ebp + 0xd], 1
mov byte [ebp + 0xe], 1
mov byte [ebp + 0xf], 0
mov byte [ebp + 0x10], 0
mov ecx, ebx
mov byte [ebp + 0x11], 3
call fcn.00449d00
mov byte [ebp + 0x12], al
mov al, byte [esp + 0x12]
mov byte [ebp + 0x13], al
mov al, byte [ebx + 0x110]
test al, 8
je 0x448dc9
xor eax, eax
mov esi, dword [esp + 0x94]
mov al, byte [ebx + 0x3d06]
lea edi, [ebp + 0x14]
lea ecx, [eax + eax*2]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x448dda
mov esi, dword [esp + 0x94]
lea edi, [ebp + 0x14]
mov ecx, 0x39
rep movsd dword es:[edi], dword [esi]
mov al, byte [esp + 0x8c]
mov cx, word [esp + 0x90]
mov byte [ebp + 0x100], 0xa0
mov byte [ebp + 0x101], 0
mov byte [ebp + 0x102], al
mov ax, cx
mov dl, byte [esp + 0x13]
shr ax, 8
mov byte [ebp + 0x103], al
mov byte [ebp + 0x104], cl
mov cl, byte [ebx + 0x104]
mov word [esp + 0x98], ax
mov byte [ebp + 0x105], cl
mov ecx, ebx
mov byte [ebp + 0x106], dl
call fcn.00449d00
mov byte [ebp + 0x10f], al
mov eax, dword [ebx + 0x110]
and al, 8
neg al
sbb al, al
and al, 0xf8
add al, 0x10
mov byte [esp + 0x8c], al
je 0x448e80
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x3c]
lea esi, [ebp + 0x111]
and edi, 0xff
mov dl, byte [eax]
xor ecx, ecx
mov cl, byte [eax + 1]
add eax, 2
mov byte [esi - 1], cl
mov byte [esi], dl
add esi, 2
dec edi
jne 0x448e6b
test byte [ebx + 0x110], 8
je 0x448ece
mov eax, dword [0x4e5bb8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.TimeToReady
push 0x4df17c
call esi
test al, al
je 0x448eae
mov byte [ebp + 0x120], 0x51
mov ecx, dword [0x4e5bb8]
push ecx
push 0
push str.InterceptUFI
push 0x4df17c
call esi
test al, al
je 0x448ece
mov byte [ebp + 0x121], 0x51
xor edx, edx
mov dl, byte [ebx + 0x27]
cmp dl, 0xe3
jne 0x448f02
mov byte [ebp + 0x122], 0
mov byte [ebp + 0x123], 0x3e
mov byte [ebp + 0x124], 0xe9
mov byte [ebp + 0x125], 0xe1
mov byte [ebp + 0x126], 0x50
mov byte [ebp + 0x127], 0xa
mov eax, dword [ebx + 8]
mov al, byte [eax + 0xc8]
test al, al
je 0x448f15
mov byte [ebp + 0x140], al
mov eax, dword [esp + 0x14]
test ax, ax
je 0x448f2e
xor ecx, ecx
mov byte [ebp + 0x193], al
mov cl, ah
mov byte [ebp + 0x192], cl
mov al, byte [ebx + 0x116]
test al, al
jne 0x448f61
mov al, byte [ebp + 0xc]
cmp al, 0x40
je 0x448f53
cmp al, 0x50
jne 0x448f61
mov byte [ebp + 0x192], 1
mov byte [ebp + 0x193], 0x8f
jmp 0x448f61
mov byte [ebp + 0x192], 1
mov byte [ebp + 0x193], 0xec
cmp word [ebx + 0x148], 0x100
jne 0x448f88
mov ecx, ebx
call fcn.0044e8c0
test ax, ax
je 0x448f88
xor edx, edx
mov byte [ebp + 0x193], al
mov dl, ah
mov byte [ebp + 0x192], dl
mov al, byte [ebx + 0x3d01]
mov ecx, ebx
mov byte [ebp + 0x194], al
call fcn.00449b10
mov byte [ebp + 0x195], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x96]
mov byte [ebp + 0x19e], dl
mov al, byte [ebx + 0x24]
cmp al, 0x90
je 0x448fd6
test byte [ebx + 0x110], 8
jne 0x448fd6
cmp al, 0x96
jne 0x448fea
cmp byte [ebx + 0x2a99], 1
sete al
mov byte [ebp + 0x19f], al
jmp 0x448fea
cmp byte [ebx + 0x2a99], 1
setne cl
dec ecx
and ecx, 0x51
mov byte [ebp + 0x19f], cl
test byte [ebx + 0x110], 8
je 0x4490fa
mov edx, dword [esp + 0x94]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x94]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, ebx
call fcn.004487d0
mov ecx, dword [esp + 0x94]
mov eax, 0x18
cdq
and ecx, 0xff
push 1
idiv ecx
xor edx, edx
mov byte [esp + 0x90], 0x14
mov dl, byte [esp + eax*2 + 0x41]
mov byte [ebp + 0x1a0], dl
lea esi, [esp + eax*2 + 0x40]
mov al, byte [esp + eax*2 + 0x40]
mov byte [ebp + 0x1a1], al
mov eax, 0x14
cdq
idiv ecx
mov dl, byte [esp + eax*2 + 0x40]
xor ecx, ecx
mov cl, byte [esp + eax*2 + 0x41]
mov byte [ebp + 0x1a3], dl
mov byte [ebp + 0x1a2], cl
mov ecx, ebx
lea eax, [esp + eax*2 + 0x40]
call fcn.0044a4b0
cmp al, 0x14
jbe 0x4490fa
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x94]
and ecx, 0xff
and edi, 0xff
push 1
lea eax, [ecx - 0x14]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ebx]
mov eax, ecx
cdq
idiv edi
xor edx, edx
mov dl, byte [esp + eax*2 + 0x41]
mov eax, ecx
mov byte [esi + 0x3af7], dl
mov edi, dword [esp + 0x98]
cdq
and edi, 0xff
mov ecx, ebx
idiv edi
mov al, byte [esp + eax*2 + 0x40]
mov byte [esi + 0x3af8], al
mov al, byte [esp + 0x90]
add al, 4
mov byte [esp + 0x90], al
call fcn.0044a4b0
cmp byte [esp + 0x8c], al
jb 0x449086
mov eax, dword [ebx + 0x326c]
test eax, eax
je 0x449110
mov cl, byte [ebx + 0x3270]
mov byte [ebp + 0x1a6], cl
test byte [ebx + 0x110], 8
je 0x449130
mov dl, byte [esp + 0x38]
mov ecx, ebx
mov byte [ebp + 0x1a7], dl
call fcn.0044a010
mov byte [ebp + 0x1a8], al
mov al, byte [ebx + 0xf2]
xor edx, edx
cmp al, 0xc
mov byte [esp + 0x8c], al
jne 0x44914d
mov byte [esp + 0x8c], 8
jmp 0x449159
cmp al, 2
jne 0x449159
mov byte [esp + 0x8c], 4
cmp byte [ebx + 0x24], 0x90
je 0x449171
test byte [ebx + 0x110], 8
jne 0x449171
mov dx, word [ebx + 0xf4]
jmp 0x4491b5
xor esi, esi
xor eax, eax
mov si, word [ebx + 0xf4]
mov dword [esp + 0x1c], 8
mov edi, 1
mov ecx, eax
shl edi, cl
test esi, edi
je 0x4491a7
mov edi, 2
shl edi, cl
test esi, edi
je 0x4491a7
shr ecx, 1
mov edi, 1
shl edi, cl
or edx, edi
mov ecx, dword [esp + 0x1c]
add eax, 2
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x449184
mov cl, byte [esp + 0x8c]
xor eax, eax
mov al, dh
mov byte [ebp + 0x1ef], dl
mov byte [ebp + 0x1ed], al
mov eax, dword [esp + 0x28]
xor edx, edx
mov byte [ebp + 0x1ee], cl
mov dl, ah
mov byte [ebp + 0x1f1], al
mov byte [ebp + 0x1f0], dl
mov al, byte [ebx + 0x18d]
xor ecx, ecx
mov byte [ebp + 0x1f2], al
mov byte [ebp + 0x1f3], 0
mov cl, byte [ebx + 0x191]
mov byte [ebp + 0x1f4], cl
mov dl, byte [ebx + 0x190]
mov byte [ebp + 0x1f5], dl
mov al, byte [ebx + 0x18c]
mov byte [ebp + 0x1f6], al
mov eax, dword [esp + 0x18]
mov byte [ebp + 0x1f7], 0
mov cl, byte [ebx + 0x192]
xor edx, edx
mov byte [ebp + 0x1f8], cl
mov dl, ah
mov byte [ebp + 0x1fb], al
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cl, ah
mov byte [ebp + 0x1fa], dl
mov dl, byte [esp + 0x98]
mov byte [ebp + 0x1fd], al
mov al, byte [esp + 0x90]
mov byte [ebp + 0x1fc], cl
lea ecx, [esp + 0x20]
mov byte [ebp + 0x1f9], 0
mov byte [ebp + 0x1fe], dl
mov byte [ebp + 0x1ff], al
mov dword [esp + 0x84], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0x10