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

Disassembly:
push 0xffffffffffffffff
push 0x6e40ff
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
mov edi, dword [esp + 0x108]
mov ebx, dword [esp + 0x10c]
mov ebp, dword [esp + 0x120]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0
push 0x20
push ebx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x100], 0
mov dword [esp + 0x24], vtable.wxBitmap.0
call fcn.00485f90
push 0
mov dword [esp + 0xf8], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x94], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4823b2
mov eax, dword [eax + 0x14]
push eax
push esi
mov dword [esp + 0xa0], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x9c], eax
push 0xcc0020
push dword [esp + 0x108]
mov byte [esp + 0xfc], 3
push dword [esp + 0x108]
push dword [esp + 0x40]
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x48259e
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x48259e
call fcn.005c92f0
mov dword [esp + 0x40], eax
mov byte [esp + 0xf4], 4
call fcn.005c92f0
mov dword [esp + 0x44], eax
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
mov byte [esp + 0xf8], 5
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
push 0
mov byte [esp + 0x104], 6
mov dword [esp + 0xb0], 6
mov dword [esp + 0xb8], str....._srcmswdc.cpp
mov dword [esp + 0xc0], str.wxAlphaBlend
mov dword [esp + 0xbc], 0xb06
mov dword [esp + 0xc4], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], ax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x104], 7
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x7224e0
push 0xb06
push str....._srcmswdc.cpp
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xb8]
call fcn.00479740
push dword [esp + 0xe0]
mov byte [esp + 0xf8], 6
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0xdc], 8
jb 0x482561
push dword [esp + 0xc8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
lea ecx, [esp + 0xa8]
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
call fcn.00439c40
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 3
call fcn.00420020
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], vtable.wxObject.0
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4825dd
inc dword [eax + 4]
mov dword [esp + 0x68], vtable.wxBitmap.0
push 0x20
lea eax, [esp + 0x58]
mov byte [esp + 0xf8], 8
push eax
lea ecx, [esp + 0x20]
call fcn.00487990
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], vtable.wxObject.0
mov dword [esp + 0x8c], eax
test eax, eax
je 0x48264b
inc dword [eax + 4]
mov dword [esp + 0x88], vtable.wxBitmap.0
push 0x20
lea eax, [esp + 0x78]
mov byte [esp + 0xf8], 0xa
push eax
mov ecx, ebp
call fcn.00487990
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x70]
mov byte [esp + 0xf4], 0xb
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4829be
test eax, eax
je 0x4829be
test ebx, ebx
jle 0x4827a2
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], eax
mov edx, ebx
test edi, edi
jle 0x48277d
cdq
lea esi, [ecx + 1]
idiv ebx
mov ebp, dword [esp + 0x114]
mov ecx, dword [esp + 0x38]
add ebp, eax
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
cdq
lea esi, [esi + 4]
idiv ecx
mov edi, dword [esp + 0x84]
movzx edx, byte [esi - 3]
mov ebx, eax
add ebx, dword [esp + 0x110]
imul edi, ebp
mov ebp, 0xff
add edi, dword [esp + 0x90]
movzx eax, byte [edi + ebx*4 + 3]
sub ebp, eax
mov eax, 0x80808081
imul edx, ebp
add edx, 0x7f
mul edx
mov eax, 0x80808081
shr edx, 7
add dl, byte [edi + ebx*4 + 2]
mov byte [esi - 3], dl
movzx edx, byte [esi - 5]
imul edx, ebp
add edx, 0x7f
mul edx
mov eax, 0x80808081
shr edx, 7
add dl, byte [edi + ebx*4]
mov byte [esi - 5], dl
movzx edx, byte [esi - 4]
imul edx, ebp
mov ebp, dword [esp + 0x20]
add edx, 0x7f
mul edx
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x118]
shr edx, 7
add dl, byte [edi + ebx*4 + 1]
dec dword [esp + 0x28]
mov byte [esi - 4], dl
mov dword [esp + 0x24], eax
jne 0x4826d0
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
add ecx, dword [esp + 0x64]
add eax, dword [esp + 0x11c]
dec edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
jne 0x4826a7
mov esi, dword [esp + 0x94]
push 0xcc0020
push 0
push 0
push esi
push ebx
push edi
push dword [esp + 0x11c]
push dword [esp + 0x11c]
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4829f9
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x4829f9
call fcn.005c92f0
mov dword [esp + 0x40], eax
mov byte [esp + 0xf4], 0xc
call fcn.005c92f0
mov dword [esp + 0x44], eax
push 0xffffffffffffffff
lea eax, [esp + 0x4c]
mov byte [esp + 0xf8], 0xd
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
push 0
mov byte [esp + 0x104], 0xe
mov dword [esp + 0xb0], 6
mov dword [esp + 0xb8], str....._srcmswdc.cpp
mov dword [esp + 0xc0], str.wxAlphaBlend
mov dword [esp + 0xbc], 0xb30
mov dword [esp + 0xc4], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], ax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x104], 0xf
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x7224e0
push 0xb30
push str....._srcmswdc.cpp
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0xb8]
call fcn.00479740
push dword [esp + 0xe0]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
call ebx
add esp, 4
cmp dword [esp + 0xdc], 8
jb 0x48292d
push dword [esp + 0xc8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
mov dword [esp + 0x14], edi
test edi, edi
je 0x4829ab
push 0x4294d0
push dword [edi + 0x10]
mov byte [esp + 0xfc], 0x10
push dword [edi + 0x14]
call fcn.005f0870
push dword [edi + 0x10]
mov dword [edi + 0x18], 0
call ebx
push 0x439bf0
push dword [edi]
mov byte [esp + 0x10c], 0xe
push dword [edi + 4]
call fcn.005f0870
push dword [edi]
mov dword [edi + 8], 0
call ebx
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 0x24
lea ecx, [esp + 0x40]
mov byte [esp + 0xf4], 0xb
call fcn.00420020
jmp 0x4829f9
cmp dword [0x82e960], 0
je 0x4829f9
push str.failed_to_get_raw_data_in_wxAlphaBlend
push str.dataDst__dataSrc
push str.wxAlphaBlend
push 0xb0e
push str....._srcmswdc.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4829f9
mov byte [0x87c8e0], 0
int3
cmp dword [esp + 0x90], 0
mov byte [esp + 0xf4], 0x11
je 0x482a28
lea ecx, [esp + 0x88]
call fcn.004888a0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x8c]
call fcn.00488860
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 9
call fcn.00418250
cmp dword [esp + 0x70], 0
mov byte [esp + 0xf4], 0x12
je 0x482a62
lea ecx, [esp + 0x68]
call fcn.004888a0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x6c]
call fcn.00488860
lea ecx, [esp + 0x68]
mov byte [esp + 0xf4], 3
call fcn.00418250
test esi, esi
je 0x482a85
push dword [esp + 0x9c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00418250
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xe4
ret