Function at 0x4788f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x83db77
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], ecx
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 0
call fcn.00747800
mov ebx, 1
mov dword [ebp - 4], 0
mov edi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
call fcn.00737c40
mov dword [ebp - 0x50], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push str._s_i
push eax
call fcn.00476790
add esp, 0xc
mov byte [ebp - 4], 2
call fcn.00737c40
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 4
call fcn.00745540
mov ecx, eax
and eax, 9
cmp eax, ecx
je 0x4789e4
cmp dword [0xa5d6f8], 0
je 0x4789e4
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatStringSpecifier_T_::value____argtype
push str.wxArgNormalizer_int_::wxArgNormalizer
push 0x1e4
push str.C:_vcpkg_installed_x86_windows_static_includewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x4789e4
mov byte [0xea569c], 0
int3
push 1
lea eax, [ebp - 0x50]
push eax
push 0x8908d4
lea ecx, [ebp - 0x34]
call fcn.004764b0
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
mov esi, dword [eax]
call fcn.00744ca0
push edi
push esi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00736b30
or ebx, 4
add esp, 0x10
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 6
call fcn.00737c40
mov ecx, eax
mov edi, 0xffff
mov eax, dword [ebp - 0x34]
cmp eax, ecx
je 0x478a63
add word [eax + 8], di
jne 0x478a5b
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x478a5b
cmp byte [esi + 0xa], 0
je 0x478a50
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
call fcn.00737c40
mov ecx, dword [ebp - 0x48]
cmp ecx, eax
je 0x478aa3
add word [ecx + 8], di
jne 0x478a9b
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x478a9b
cmp byte [esi + 0xa], 0
je 0x478a90
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 9
call fcn.00737c40
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
je 0x478ae3
add word [ecx + 8], di
jne 0x478adb
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x478adb
cmp byte [esi + 0xa], 0
je 0x478ad0
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xa
call fcn.00737c40
mov ecx, dword [ebp - 0x50]
cmp ecx, eax
je 0x478b23
add word [ecx + 8], di
jne 0x478b1b
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x478b1b
cmp byte [esi + 0xa], 0
je 0x478b10
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
mov edx, 0x811c9dc5
mov byte [ebp - 4], 7
cmovae esi, dword [ebp - 0x30]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x478b54
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x478b43
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x30]
push edx
push eax
lea eax, [ebp - 0x64]
mov ecx, edi
push eax
call fcn.00435ed0
mov edi, dword [edi + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x478b88
cmp esi, edi
je 0x478b8a
mov ecx, dword [ebp - 0x54]
lea eax, [esi + 0x28]
push 1
push eax
call fcn.007471b0
inc dword [ebp - 0x3c]
jmp 0x478b8a
mov esi, edi
push dword [ebp - 0x18]
and ebx, 0xfffffffb
mov byte [ebp - 4], 0
mov dword [ebp - 0x38], ebx
call fcn.00805aaa
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x478bd5
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x478bcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478c00
push edx
push ecx
call fcn.00800125
add esp, 8
cmp esi, edi
je 0x478be1
mov edi, dword [ebp - 0x3c]
jmp 0x478953
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00800392
mov esp, ebp
pop ebp
ret
call fcn.00805a59
int3