Function at 0x44df10
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 0x44df40
mov eax, dword [ecx + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.GDI32.dll_BeginPath]
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 0x44e853
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 0x44df80
mov edi, dword [eax]
test edi, edi
je 0x44dfaa
test esi, esi
je 0x44df9a
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + esi + 0x24]
mov edi, dword [edi + 0x1c]
cmp edi, dword [ebx + 0x1c]
jae 0x44dfaa
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 0x44df80
mov edx, dword [edx]
test edx, edx
jne 0x44df60
test esi, esi
mov dword [esp + 0x24], esi
je 0x44e84f
cmp dword [esp + 0x20], 1
jne 0x44dfd8
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 0x44e000
push 2
jmp 0x44e002
push 1
push edx
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44e020
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.GDI32.dll_BeginPath]
lea eax, [esp + 0x28]
push eax
call fcn.00436660
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 [sym.imp.GDI32.dll_MoveToEx]
mov edi, edi
lea ecx, [esp + 0x28]
push ecx
lea ebx, [esi + 8]
push ebx
call fcn.004367f0
lea edx, [esp + 0x30]
push edx
lea eax, [esi + 0x10]
push eax
call fcn.004367f0
lea ecx, [esp + 0x38]
push ecx
lea edi, [esi + 0x18]
push edi
call fcn.004367f0
mov eax, dword [esi + 0x20]
add esp, 0x18
test eax, eax
je 0x44e0a1
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 [sym.imp.GDI32.dll_LineTo]
jmp 0x44e0ff
lea ecx, [esp + 0x138]
push ecx
push ebx
call fcn.0041dc10
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x38]
add esp, 8
xor eax, eax
jmp 0x44e0c0
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 0x44e0c0
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx + 0x24]
push 3
lea eax, [esp + 0x108]
push eax
push edx
call dword [sym.imp.GDI32.dll_PolyBezierTo]
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push edi
mov ecx, ebx
mov dword [esi + 0x24], 0
call fcn.0044de20
mov esi, eax
test esi, esi
jne 0x44e050
push eax
push edi
mov ecx, ebx
call fcn.0044de20
mov esi, eax
test esi, esi
jne 0x44e030
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44df40
mov esi, edi
mov al, byte [esi + 0x24]
test al, al
je 0x44e163
cmp word [esi + 0xa], 0
je 0x44df40
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 0x44e1c6
cmp ecx, edi
jle 0x44e1c8
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 0x44e1d9
cmp ecx, edi
jne 0x44e1d9
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 0x44e205
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.004d5400
jmp 0x44df40
mov al, byte [esi + 0x26]
test al, al
jne 0x44e22c
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.004d5480
jmp 0x44df40
cmp al, 1
mov ebx, 2
jne 0x44e26f
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 0x44e26c
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub edi, ecx
mov ecx, ebx
sar edi, cl
cmp edi, eax
jge 0x44e26f
dec ebx
jne 0x44e250
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.004d5560
test al, al
je 0x44e298
mov edi, 7
mov byte [esp + 0x17], 1
push 0x40
call fcn.00439320
add esp, 4
test eax, eax
je 0x44df40
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.004c7f00
mov esi, eax
test esi, esi
mov dword [esp + 0x20], esi
je 0x44df40
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x44e371
mov ebx, 3
lea esp, [esp]
test esi, esi
je 0x44e314
mov ecx, esi
call fcn.004c7f50
push esi
call fcn.00527b30
add esp, 4
push 0x40
call fcn.00439320
add esp, 4
test eax, eax
je 0x44e471
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.004c7f00
mov esi, eax
test esi, esi
je 0x44e367
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x44e36d
inc ebx
cmp ebx, 7
jl 0x44e300
mov dword [esp + 0x20], esi
test esi, esi
je 0x44df40
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x44e83a
mov ecx, esi
call fcn.004c7850
test eax, eax
je 0x44e83a
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0x34]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [esp + 0x15c]
call fcn.00459260
mov edx, dword [edi + 0x34]
push 1
push 0
push esi
lea ecx, [esp + 0x164]
mov dword [esp + 0x1e4], edx
call fcn.004593a0
lea ecx, [esp + 0x158]
call fcn.00452fa0
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0xcc]
call fcn.00451870
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 0x44e478
push 2
lea ecx, [esp + 0xcc]
call fcn.00451960
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 0x44e465
jmp 0x44e450
mov byte [ecx + eax*4 + 0x53], 0xff
mov ecx, dword [esp + 0x100]
movzx edx, byte [ecx + 0x3c]
inc eax
cmp eax, edx
jl 0x44e450
mov dword [ecx + 0x90], 0
jmp 0x44e49f
xor esi, esi
jmp 0x44e367
cmp al, 1
jne 0x44e4a3
push 1
lea ecx, [esp + 0xcc]
call fcn.00451960
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.00437740
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x30]
add esp, 8
test eax, eax
je 0x44e4e0
call fcn.00451900
mov ecx, dword [edi + 0x34]
push ecx
lea edx, [esp + 0x120]
push edx
lea ecx, [eax + 0x10]
push ecx
push eax
call fcn.00437ac0
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.00437330
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 0x44e583
call fcn.00495e00
test al, al
je 0x44e583
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 [0x53a788]
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 0x44e5b3
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.004859f0
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.00485b20
lea ecx, [esp + 0x258]
call fcn.00482870
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.0041da20
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.0041df50
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.0041da20
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.0041df50
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.0045d6c0
lea ecx, [esp + 0x158]
call fcn.0045d3c0
lea ecx, [esp + 0xc8]
call fcn.00459120
mov al, byte [esp + 0x17]
test al, al
mov esi, dword [esp + 0x20]
je 0x44e809
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.004d5580
jmp 0x44e817
mov ecx, dword [edi + 0x38]
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.004d54e0
mov ecx, esi
call fcn.004c7870
lea ecx, [esp + 0xc8]
call fcn.0045c3f0
lea ecx, [esp + 0x158]
call fcn.00452f60
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.004c7f50
push esi
call fcn.00527b30
add esp, 4
jmp 0x44df40
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
je 0x44e87c
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.GDI32.dll_EndPath]
mov ecx, dword [edi + 0x38]
mov edx, dword [ecx + 0x48]
mov eax, dword [edx + 0x24]
push 1
push eax
call dword [sym.imp.GDI32.dll_SelectClipPath]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44e895
mov esi, dword [eax + 4]
push eax
call fcn.00527b30
add esp, 4
test esi, esi
mov eax, esi
jne 0x44e883
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4