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

Disassembly:
push 0xffffffffffffffff
push 0x6e472b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0xb4]
mov ecx, ebx
mov ebp, dword [esp + 0xbc]
call fcn.004bf3c0
test al, al
je 0x486f22
mov ecx, esi
call fcn.005bde00
mov ecx, ebx
call fcn.004be5f0
mov ecx, ebx
mov dword [esp + 0x1c], eax
call fcn.004bf0f0
push 0
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0
mov byte [esp + 0x48], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
call fcn.004f2890
cmp dword [esp + 0x2c], 0
mov dword [esp + 0xac], 0
jne 0x486bbd
xor bl, bl
jmp 0x486f0a
mov ecx, ebx
call fcn.004be370
mov edi, dword [esp + 0xb8]
test eax, eax
setne byte [esp + 0x16]
cmp edi, 0xffffffff
jne 0x486be4
lea ecx, [esp + 0x2c]
call fcn.004f3a80
mov edi, dword [esp + 0x3c]
push 0x30
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x486bfd
mov ecx, eax
call fcn.00484fc0
mov esi, eax
jmp 0x486bff
xor esi, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x16]
mov dword [esi + 8], ecx
mov byte [esi + 0x28], al
mov dword [esi + 0x10], edi
mov dword [edx + 4], esi
test al, al
jne 0x486c43
push ebp
push edi
push dword [esp + 0x24]
push ecx
call fcn.00489590
add esp, 0x10
test al, al
jne 0x486c43
push ebp
lea ecx, [esp + 0x30]
call fcn.004f30a0
mov edi, eax
jmp 0x486c53
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov byte [esi + 0x29], 1
mov ebp, dword [esp + 0x20]
mov ecx, ebp
call fcn.005bd7a0
mov eax, dword [ebp + 4]
mov ecx, ebx
mov dword [eax + 0x14], edi
call fcn.004bf150
test al, al
je 0x486f08
mov ebp, dword [esp + 0x18]
mov ecx, ebx
lea eax, [ebp + 0xf]
cdq
and edx, 0xf
lea edi, [edx + eax]
sar edi, 4
add edi, edi
mov dword [esp + 0x24], edi
call fcn.004be4e0
imul edi, dword [esp + 0x1c]
mov esi, eax
push edi
call fcn.006cff38
push edi
push 0
push eax
mov dword [esp + 0x28], eax
call sub.MSVCR120.dll_memset
add esp, 0x10
mov ecx, ebx
call fcn.004be710
mov ecx, ebx
mov byte [esp + 0x16], al
call fcn.004be6b0
mov ecx, ebx
mov byte [esp + 0x17], al
call fcn.004be650
mov edi, dword [esp + 0x18]
mov bh, al
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x486d21
mov bl, byte [esp + 0x16]
mov edx, eax
mov ah, byte [esp + 0x17]
mov dword [esp + 0x28], edx
mov ecx, edi
mov al, 0x80
test ebp, ebp
jle 0x486d12
mov edx, ebp
cmp byte [esi], bl
jne 0x486cff
cmp byte [esi + 1], ah
jne 0x486cff
cmp byte [esi + 2], bh
je 0x486d01
or byte [ecx], al
shr al, 1
jne 0x486d08
inc ecx
mov al, 0x80
add esi, 3
dec edx
jne 0x486cf1
mov edx, dword [esp + 0x28]
add edi, dword [esp + 0x24]
dec edx
mov dword [esp + 0x28], edx
jne 0x486ce7
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
push 1
push 1
push eax
push ebp
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov edi, eax
test edi, edi
jne 0x486eb9
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x486efc
call fcn.005c92f0
mov dword [esp + 0x44], eax
mov byte [esp + 0xac], 1
call fcn.005c92f0
mov dword [esp + 0x48], eax
push 0xffffffffffffffff
lea eax, [esp + 0x50]
mov byte [esp + 0xb0], 2
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
push edi
mov byte [esp + 0xbc], 3
mov dword [esp + 0x68], 6
mov dword [esp + 0x70], str....._srcmsw_bitmap.cpp
mov dword [esp + 0x78], str.wxBitmap::CreateFromImage
mov dword [esp + 0x74], 0x3eb
mov dword [esp + 0x7c], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x8c], edi
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], edi
mov word [esp + 0x90], ax
mov dword [esp + 0xa8], eax
mov byte [esp + 0xbc], 4
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push str.CreateBitmap_mask_
push 0x3eb
push str....._srcmsw_bitmap.cpp
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x70]
call fcn.00479740
push dword [esp + 0x98]
mov byte [esp + 0xb0], 3
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x94], 8
jb 0x486e7d
push dword [esp + 0x80]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
call fcn.00439c40
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0
call fcn.00420020
jmp 0x486efc
push 0xc
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x486edb
mov dword [esi + 4], 0
mov dword [esi], vtable.wxMask.0
mov dword [esi + 8], edi
jmp 0x486edd
xor esi, esi
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.005bd7a0
mov edi, dword [ebx + 4]
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x486ef9
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi + 0x2c], esi
push dword [esp + 0x18]
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov bl, 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xac], 0xffffffff
call fcn.00487740
mov al, bl
jmp 0x486f5f
cmp dword [0x82e960], 0
je 0x486f5d
push 0x7231f4
push str.image.IsOk__
push str.wxBitmap::CreateFromImage
push 0x39a
push str....._srcmsw_bitmap.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x486f5d
mov byte [0x87c8e0], 0
int3
xor al, al
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x9c
ret 0xc