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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x477de4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4eec64]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4eec64]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
push str.Reading__s._n
mov ebx, ecx
call fcn.00402b20
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
add esp, 8
push ecx
push esi
mov ecx, ebx
call edx
test eax, eax
jne 0x4336f6
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp + 0x14]
mov dword [ebx + 0x30], eax
mov byte [ebx + 0x34], cl
jmp 0x433be7
fld1
xor eax, eax
mov ecx, 0xc
fstp dword [ebx + 0x3c]
xor edi, edi
mov byte [ebx + 0x28], 0
mov byte [ebx + 0x35], 0
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x2c], ecx
mov byte [ebx + 0x34], al
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], ecx
mov byte [ebx + 0x70], al
mov dword [esp + 0x1c], edi
cmp esi, eax
je 0x43374b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433731
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.004017a0
mov edi, dword [esp + 0x1c]
xor eax, eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebx + 0x40]
mov dword [esp + 0xc4], eax
call fcn.00401190
mov dword [esp + 0xc0], 0xffffffff
test edi, edi
je 0x433795
mov eax, dword [edi]
and eax, 0xff
cmp eax, 0x80
jae 0x433788
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
test eax, eax
jne 0x433795
push edi
call fcn.00402770
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp + 0x14]
push 0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
mov byte [ebx + 0x34], dl
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], eax
mov byte [ebx + 0x70], 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 1
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x3c
lea eax, [esp + 0x78]
push 0
push eax
call fcn.0045c600
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
lea edx, [ecx*4]
mov cl, byte [ebp + 0x14]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x9c]
add esp, 0xc
mov dword [esp + 0x84], eax
mov byte [esp + 0x88], cl
mov byte [esp + 0x8e], 2
mov eax, esi
sub edx, esi
jmp 0x433820
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x433820
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push edi
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
mov eax, 1
xor ecx, ecx
mov word [esp + 0x16], ax
xor eax, eax
mov word [esp + 0x14], cx
mov word [esp + 0x1a], ax
mov eax, dword [esp + 0x14]
mov word [esp + 0x18], cx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
jmp 0x433896
mov edi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esp + 0x48]
push eax
push edx
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push ecx
push 5
push edx
push edi
call dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
cmp dword [esp + 0x18], eax
jge 0x4338ba
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x64]
mov ecx, dword [ebx + 0x38]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp ecx, eax
jl 0x4338d7
mov eax, ecx
lea esi, [esp + 0x58]
lea edi, [ebx + 0x68]
mov dword [ebx + 0x38], eax
call fcn.00435aa0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x100
jb 0x433890
mov esi, dword [esp + 0x18]
xor edi, edi
cmp esi, edi
je 0x433a14
cmp dword [ebp + 0xc], edi
je 0x433a14
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xc0], 1
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
push esi
lea eax, [esp + 0x24]
mov byte [esp + 0xc4], 3
call fcn.00435c10
push esi
lea eax, [esp + 0x2c]
call fcn.00435c10
lea esp, [esp]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x20]
push esi
push ecx
lea edx, [esp + 0x64]
push edx
push 5
push edi
push eax
call dword [sym.imp.GDI32.dll_GetGlyphOutlineA]
mov edx, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x34]
push ecx
push edx
push esi
push ebx
call fcn.00432d70
inc edi
cmp edi, 0x100
jb 0x433950
mov edi, dword [esp + 0x1c]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_GetKerningPairsA]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x433ad7
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push esi
lea eax, [esp + 0x38]
mov byte [esp + 0xc4], 4
call fcn.00435c90
test eax, eax
jne 0x433a1e
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4339df
push eax
call fcn.0045c158
add esp, 4
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4339f8
push eax
call fcn.0045c158
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433a14
push eax
call fcn.0045c158
add esp, 4
mov eax, 4
jmp 0x433be9
mov eax, dword [esp + 0x34]
push eax
push esi
push edi
call dword [sym.imp.GDI32.dll_GetKerningPairsA]
test esi, esi
jle 0x433abe
mov edi, dword [esp + 0x34]
add edi, 4
mov dword [esp + 0x14], esi
mov ax, word [edi - 4]
mov edx, dword [edi]
mov cx, word [edi - 2]
mov word [esp + 0x3c], ax
mov dword [esp + 0x40], edx
movzx edx, ax
movzx eax, cx
imul edx, edx, 0x5b1f0000
imul eax, eax, 0xa4e1
sub eax, edx
xor edx, edx
div dword [ebx + 0x4c]
mov eax, dword [ebx + 0x54]
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
mov word [esp + 0x3e], cx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], ecx
call fcn.00402160
test eax, eax
je 0x433ab0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [eax], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x54]
mov dword [ecx + edx*4], eax
add edi, 8
sub dword [esp + 0x14], 1
jne 0x433a3e
mov edi, dword [esp + 0x1c]
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x34]
test eax, eax
je 0x433ad7
push eax
call fcn.0045c158
add esp, 4
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x5c]
lea edi, [ebx + 0x58]
test al, 1
jne 0x433b4e
or eax, 1
mov dword [edi + 4], eax
shr eax, 1
je 0x433b4e
push eax
xor ecx, ecx
call fcn.00421530
test eax, eax
jne 0x433b4e
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x433b24
push eax
call fcn.0045c158
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433a14
push eax
call fcn.0045c158
add esp, 4
mov eax, 4
jmp 0x433be9
mov eax, dword [ebx + 0x64]
lea ecx, [ebx + 0x60]
test al, 1
jne 0x433bae
or eax, 1
mov dword [ecx + 4], eax
shr eax, 1
je 0x433bae
push 0
push eax
call fcn.00421630
test eax, eax
jne 0x433bae
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x433b87
push eax
call fcn.0045c158
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433a14
push eax
call fcn.0045c158
add esp, 4
mov eax, 4
jmp 0x433be9
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x28]
mov byte [ebx + 0x28], 1
test eax, eax
je 0x433bcb
push eax
call fcn.0045c158
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x433be7
push eax
call fcn.0045c158
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0045c0ce
mov esp, ebp
pop ebp
ret 0x10