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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd04
mov eax, dword [ebp + 8]
test eax, eax
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x44ede0
mov eax, dword [ecx + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [0x53d070]
lea ebx, [ebx]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x2c]
xor esi, esi
test edx, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
je 0x44f6f3
lea esp, [esp]
mov eax, dword [esp + 0x20]
shl eax, 2
mov edi, 0xffffffdc
xor ecx, ecx
sub edi, edx
mov dword [esp + 0x10], eax
lea eax, [edx + 0x24]
mov dword [esp + 0x24], edi
jmp 0x44ee20
mov edi, dword [eax]
test edi, edi
je 0x44ee4a
test esi, esi
je 0x44ee3a
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + esi + 0x24]
mov edi, dword [edi + 0x1c]
cmp edi, dword [ebx + 0x1c]
jae 0x44ee4a
mov edi, dword [esp + 0x24]
add edi, eax
mov esi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edi
inc ecx
add eax, 4
cmp ecx, 2
jl 0x44ee20
mov edx, dword [edx]
test edx, edx
jne 0x44ee00
test esi, esi
mov dword [esp + 0x24], esi
je 0x44f6ef
cmp dword [esp + 0x20], 1
jne 0x44ee78
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], eax
mov edx, dword [esi + 0x24]
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x10], edx
cmp dword [esi + 0x30], 2
sete al
mov dword [edi + 0x24], eax
test eax, eax
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
je 0x44eea0
push 2
jmp 0x44eea2
push 1
push edx
call dword [0x53d0c0]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44eec0
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [0x53d070]
lea eax, [esp + 0x28]
push eax
call fcn.00436fc0
add esp, 4
lea ecx, [ecx]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esp + 0xc]
push 0
push ecx
mov ecx, dword [eax + 0x38]
push edx
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [0x53d0c4]
mov edi, edi
lea ecx, [esp + 0x28]
push ecx
lea ebx, [esi + 8]
push ebx
call fcn.00437150
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00437150
lea ecx, [esp + 0x38]
push ecx
lea edi, [esi + 0x18]
push edi
call fcn.00437150
mov eax, dword [esi + 0x20]
add esp, 0x18
test eax, eax
je 0x44ef41
mov edx, dword [esi + 0x1c]
mov ebx, dword [esp + 0xc]
mov eax, dword [edi]
mov ecx, dword [ebx + 0x38]
push edx
mov edx, dword [ecx + 0x48]
push eax
mov eax, dword [edx + 0x24]
push eax
call dword [0x53d0c8]
jmp 0x44ef9f
lea ecx, [esp + 0x138]
push ecx
push ebx
call fcn.0041dc40
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x38]
add esp, 8
xor eax, eax
jmp 0x44ef60
mov edx, dword [esp + eax + 0x140]
mov dword [esp + eax + 0x104], edx
mov edx, dword [esp + eax + 0x144]
mov dword [esp + eax + 0x108], edx
add eax, 8
cmp eax, 0x18
jl 0x44ef60
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx + 0x24]
push 3
lea eax, [esp + 0x108]
push eax
push edx
call dword [0x53d0cc]
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov dword [esi + 0x24], 0
call fcn.0044ecc0
mov esi, eax
test esi, esi
jne 0x44eef0
push eax
push edi
mov ecx, ebx
call fcn.0044ecc0
mov esi, eax
test esi, esi
jne 0x44eed0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [0x53d0bc]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44ede0
mov esi, edi
mov al, byte [esi + 0x24]
test al, al
je 0x44f003
cmp word [esi + 0xa], 0
je 0x44ede0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x18], ecx
mov ecx, edx
shr ecx, 0x10
xor edi, edi
cmp ecx, 0xff
mov dword [esp + 0x1c], edx
jge 0x44f066
cmp ecx, edi
jle 0x44f068
movzx eax, dx
imul eax, eax, 0xff
cdq
idiv ecx
mov word [esp + 0x1e], 0xff
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0x18]
shr eax, 0x10
imul eax, eax, 0xff
cdq
idiv ecx
mov word [esp + 0x1a], ax
movzx eax, word [esp + 0x18]
imul eax, eax, 0xff
cdq
idiv ecx
mov word [esp + 0x18], ax
jmp 0x44f079
cmp ecx, edi
jne 0x44f079
mov word [esp + 0x1c], di
mov word [esp + 0x1a], di
mov word [esp + 0x18], di
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x2c]
cmp eax, edi
je 0x44f0a5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1a]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx + 0x38]
push eax
call fcn.004d8090
jmp 0x44ede0
mov al, byte [esi + 0x26]
test al, al
jne 0x44f0cc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1a]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + 0x38]
push edx
call fcn.004d8110
jmp 0x44ede0
cmp al, 1
mov ebx, 2
jne 0x44f10f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub edx, ecx
nop
mov edi, edx
mov ecx, ebx
sar edi, cl
cmp edi, esi
jl 0x44f10c
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub edi, ecx
mov ecx, ebx
sar edi, cl
cmp edi, eax
jge 0x44f10f
dec ebx
jne 0x44f0f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x38]
push eax
mov edi, 6
mov byte [esp + 0x1b], 0
call fcn.004d81f0
test al, al
je 0x44f138
mov edi, 7
mov byte [esp + 0x17], 1
push 0x40
call fcn.0052b380
add esp, 4
test eax, eax
je 0x44ede0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, ecx
push 0
push 7
push 0
mov ecx, ebx
sar edx, cl
mov ecx, dword [esp + 0x34]
push edi
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
mov ecx, ebx
sar edx, cl
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + 0x34]
push edx
mov ecx, eax
call fcn.004caf40
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
je 0x44ede0
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x44f211
mov ebx, 3
lea esp, [esp]
test esi, esi
je 0x44f1b4
mov ecx, esi
call fcn.004caf90
push esi
call fcn.00439d00
add esp, 4
push 0x40
call fcn.0052b380
add esp, 4
test eax, eax
je 0x44f311
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, ecx
push 0
push 7
push 0
mov ecx, ebx
sar edx, cl
mov ecx, dword [esp + 0x34]
push edi
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
mov ecx, ebx
sar edx, cl
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + 0x34]
push edx
mov ecx, eax
call fcn.004caf40
mov esi, eax
test esi, esi
je 0x44f207
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x44f20d
inc ebx
cmp ebx, 7
jl 0x44f1a0
mov dword [esp + 0x20], esi
test esi, esi
je 0x44ede0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x44f6da
mov ecx, esi
call fcn.004ca8e0
test eax, eax
je 0x44f6da
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x15c]
call fcn.0045a1d0
mov edx, dword [edi + 0x34]
push 1
push 0
push esi
lea ecx, [esp + 0x164]
mov dword [esp + 0x1e4], edx
call fcn.0045a310
lea ecx, [esp + 0x158]
call fcn.00453ed0
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xcc]
call fcn.00452770
mov eax, dword [esp + 0x10]
mov al, byte [eax + 0x26]
cmp al, 2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
jne 0x44f318
push 2
lea ecx, [esp + 0xcc]
call fcn.00452870
mov edx, dword [esp + 0x10]
mov esi, dword [edx + 0x38]
mov edi, dword [esp + 0x100]
mov ecx, 0x26
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x100]
mov dl, byte [ecx + 0x3c]
xor eax, eax
test dl, dl
jbe 0x44f305
jmp 0x44f2f0
mov byte [ecx + eax*4 + 0x53], 0xff
mov ecx, dword [esp + 0x100]
movzx edx, byte [ecx + 0x3c]
inc eax
cmp eax, edx
jl 0x44f2f0
mov dword [ecx + 0x90], 0
jmp 0x44f33f
xor esi, esi
jmp 0x44f207
cmp al, 1
jne 0x44f343
push 1
lea ecx, [esp + 0xcc]
call fcn.00452870
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x38]
mov edi, dword [esp + 0x100]
mov ecx, 0x26
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov ecx, dword [edi + 0x34]
push ecx
lea edx, [esp + 0x120]
push edx
call fcn.004380a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x44f380
call fcn.00452810
mov ecx, dword [edi + 0x34]
push ecx
lea edx, [esp + 0x120]
push edx
lea ecx, [eax + 0x10]
push ecx
push eax
call fcn.00438420
add esp, 0x10
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x38]
push edx
add esi, 4
mov ecx, 7
lea edi, [esp + 0x3c]
lea eax, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
push ecx
call fcn.00437c90
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
sub ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x34]
sub esi, edx
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x48], esi
je 0x44f423
call fcn.00497d50
test al, al
je 0x44f423
mov edx, 1
mov ecx, ebx
shl edx, cl
mov dword [esp + 0x50], 1
xor esi, esi
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fdivr dword [str..ssr]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fmul dword [esp + 0x44]
fstp dword [esp + 0x44]
jmp 0x44f453
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, ebx
sar esi, cl
sar edi, cl
sar edx, cl
sar eax, cl
mov dword [esp + 0x3c], esi
xor esi, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov ecx, ebx
sar edi, cl
lea eax, [esp + 0x38]
push eax
sar edx, cl
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
push esi
push esi
push ecx
lea ecx, [esp + 0x268]
mov dword [esp + 0x5c], edx
call fcn.00487380
push esi
push esi
push 1
lea eax, [esp + 0xd4]
lea edx, [esp + 0x164]
push eax
lea ecx, [esp + 0x268]
mov dword [esp + 0x2d0], edx
call fcn.004874b0
lea ecx, [esp + 0x258]
call fcn.004846b0
mov eax, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1b4]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1ac]
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], edx
push ecx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
push edx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0xb0], esi
call fcn.0041da50
mov cx, word [esp + 0x70]
mov dx, word [esp + 0x74]
mov ax, word [esp + 0x78]
mov word [esp + 0x9c], cx
mov cx, word [esp + 0x7c]
mov word [esp + 0xa2], cx
mov word [esp + 0x9e], dx
mov dx, word [esp + 0x80]
mov word [esp + 0xa0], ax
mov ax, word [esp + 0x84]
lea ecx, [esp + 0x70]
push ecx
mov word [esp + 0xa8], dx
mov word [esp + 0xaa], ax
call fcn.0041df80
cmp eax, 1
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
setle dl
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], dl
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.0041da50
mov ax, word [esp + 0x80]
mov cx, word [esp + 0x84]
mov dx, word [esp + 0x88]
mov word [esp + 0xd0], ax
mov ax, word [esp + 0x8c]
mov word [esp + 0xd2], cx
mov cx, word [esp + 0x90]
mov word [esp + 0xd4], dx
mov word [esp + 0xd6], ax
mov dx, word [esp + 0x94]
lea eax, [esp + 0x80]
push eax
mov word [esp + 0xdc], cx
mov word [esp + 0xde], dx
call fcn.0041df80
add esp, 0x20
cmp eax, 1
setle cl
lea edx, [esp + 0xc8]
push esi
mov byte [esp + 0xc4], cl
mov ecx, edx
push esi
mov eax, edx
mov dword [esp + 0xb4], edx
push ecx
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x168]
mov byte [esp + 0xd2], 0
mov byte [esp + 0xae], 0
mov byte [esp + 0xd1], 1
mov byte [esp + 0xad], 1
mov dword [esp + 0x98], eax
mov dword [esp + 0xc0], esi
mov dword [esp + 0x9c], esi
call fcn.0045e6c0
lea ecx, [esp + 0x158]
call fcn.0045e3c0
lea ecx, [esp + 0xc8]
call fcn.0045a090
mov al, byte [esp + 0x17]
test al, al
mov esi, dword [esp + 0x20]
je 0x44f6a9
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x34]
push eax
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x38]
push edx
call fcn.004d8210
jmp 0x44f6b7
mov ecx, dword [edi + 0x38]
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.004d8170
mov ecx, esi
call fcn.004ca900
lea ecx, [esp + 0xc8]
call fcn.0045d3b0
lea ecx, [esp + 0x158]
call fcn.00453e90
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004caf90
push esi
call fcn.00439d00
add esp, 4
jmp 0x44ede0
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x44f71c
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [0x53d0bc]
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push 1
push eax
call dword [0x53d0d0]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44f735
mov esi, dword [eax + 4]
push eax
call fcn.00439d00
add esp, 4
test esi, esi
mov eax, esi
jne 0x44f723
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4