Function at 0x47f610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6e3c80
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xe
push ebp
call esi
push 0xc
push ebp
mov edi, eax
call esi
mov ecx, dword [0x82d114]
imul edi, eax
test ecx, ecx
je 0x47f68b
mov edx, dword [esp + 0x88]
nop
mov eax, dword [ecx + 8]
test edx, edx
je 0x47f67b
cmp edx, eax
je 0x47f684
cmp dword [eax + 0x18], edi
je 0x47f86e
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x47f670
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x47f6b9
push ebp
call fcn.0047f9f0
add esp, 4
cmp eax, 0xffffffff
je 0x47f825
push eax
push ebx
call fcn.00481500
add esp, 8
jmp 0x47f825
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x47f825
call fcn.005c92f0
mov dword [esp + 0x14], eax
mov dword [esp + 0x80], 0
call fcn.005c92f0
mov dword [esp + 0x18], eax
push 0xffffffffffffffff
lea eax, [esp + 0x20]
mov byte [esp + 0x84], 1
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
push 0
mov dword [esp + 0x90], 2
mov dword [esp + 0x3c], 6
mov dword [esp + 0x44], str....._srcmswdc.cpp
mov dword [esp + 0x4c], str.wxMSWDCImpl::FindDCInCache
mov dword [esp + 0x48], 0xa93
mov dword [esp + 0x50], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov dword [esp + 0x7c], eax
mov byte [esp + 0x90], 3
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x7225e4
push 0xa93
push str....._srcmswdc.cpp
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
call fcn.00479740
push dword [esp + 0x6c]
mov byte [esp + 0x84], 2
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x47f7f1
push dword [esp + 0x54]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00439c40
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
call fcn.00420020
push 0x1c
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x47f85f
mov dword [esi + 4], 0
mov dword [esi], vtable.wxDCCacheEntry.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], edi
jmp 0x47f861
xor esi, esi
push esi
mov ecx, 0x82d108
call fcn.005df880
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x70
ret