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

Disassembly:
push 0xffffffffffffffff
push 0x6e46c7
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0x100]
mov ecx, ebx
mov edi, dword [esp + 0x104]
mov dword [esp + 0x18], edi
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4869f8
mov eax, dword [ebp + 8]
test eax, eax
je 0x486309
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 8], 0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x486316
mov dword [esp + 0x24], eax
jmp 0x48631d
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x486327
mov dword [esp + 0x20], eax
jmp 0x48632e
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
movzx esi, al
mov ecx, edi
mov eax, dword [edi]
or esi, 0x200
shl esi, 8
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [esp + 0x18]
movzx edi, al
or edi, esi
shl edi, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
push 0
push 1
push 1
push dword [esp + 0x2c]
movzx eax, al
push dword [esp + 0x34]
or eax, edi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov dword [ebp + 8], eax
call esi
push 0
mov ebp, eax
call esi
mov esi, eax
mov dword [esp + 0x18], esi
test ebp, ebp
je 0x4863a1
test esi, esi
jne 0x48653a
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x48653a
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov dword [esp + 0xf8], 0
call fcn.005c92f0
mov dword [esp + 0x34], eax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
mov byte [esp + 0xfc], 1
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push 0
mov dword [esp + 0x108], 2
mov dword [esp + 0x6c], 6
mov dword [esp + 0x74], str....._srcmsw_bitmap.cpp
mov dword [esp + 0x7c], str.wxMask::Create
mov dword [esp + 0x78], 0x649
mov dword [esp + 0x80], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0xac], eax
mov byte [esp + 0x108], 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 0x649
push str....._srcmsw_bitmap.cpp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x74]
call fcn.00479740
push dword [esp + 0x9c]
mov byte [esp + 0xfc], 2
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
cmp dword [esp + 0x98], 8
jb 0x4864fd
push dword [esp + 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
lea ecx, [esp + 0x64]
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
call fcn.00439c40
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00420020
cmp dword [0x82e960], 0
mov byte [esp + 0x17], 1
je 0x486585
mov ecx, ebx
call fcn.00487b80
test eax, eax
je 0x486585
push str.bitmap_cant_be_selected_in_another_DC
push str._bitmap.GetSelectedInto__
push str.wxMask::Create
push 0x650
push str....._srcmsw_bitmap.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x486585
mov byte [0x87c8e0], 0
int3
mov eax, dword [ebx + 4]
test eax, eax
je 0x48658f
mov eax, dword [eax + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call edi
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x486795
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x486791
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov dword [esp + 0xf8], 4
call fcn.005c92f0
mov dword [esp + 0x34], eax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
mov byte [esp + 0xfc], 5
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push 0
mov dword [esp + 0x108], 6
mov dword [esp + 0x6c], 6
mov dword [esp + 0x74], str....._srcmsw_bitmap.cpp
mov dword [esp + 0x7c], str.wxMask::Create
mov dword [esp + 0x78], 0x655
mov dword [esp + 0x80], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x90], 0
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0xac], eax
mov byte [esp + 0x108], 7
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x723694
push 0x655
push str....._srcmsw_bitmap.cpp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x74]
call fcn.00479740
push dword [esp + 0x9c]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
call ebx
add esp, 4
cmp dword [esp + 0x98], 8
jb 0x4866fb
push dword [esp + 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov dword [esp + 0x28], esi
test esi, esi
je 0x486779
push 0x4294d0
push dword [esi + 0x10]
mov byte [esp + 0x100], 8
push dword [esi + 0x14]
call fcn.005f0870
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call ebx
push 0x439bf0
push dword [esi]
mov byte [esp + 0x110], 6
push dword [esi + 4]
call fcn.005f0870
push dword [esi]
mov dword [esi + 8], 0
call ebx
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 0x24
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00420020
mov esi, dword [esp + 0x18]
xor bl, bl
jmp 0x486799
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x1c]
push dword [eax + 8]
push esi
call edi
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4869aa
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 6
call fcn.00439d10
add esp, 0x24
test al, al
je 0x4869a6
call fcn.005c92f0
mov dword [esp + 0x48], eax
mov dword [esp + 0xf8], 9
call fcn.005c92f0
mov dword [esp + 0x4c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x54]
mov byte [esp + 0xfc], 0xa
push str._s__d_:__s_failed_with_error_0x_08lx___s_.
push eax
call fcn.00439000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
push 0
mov dword [esp + 0x108], 0xb
mov dword [esp + 0xb4], 6
mov dword [esp + 0xbc], str....._srcmsw_bitmap.cpp
mov dword [esp + 0xc4], str.wxMask::Create
mov dword [esp + 0xc0], 0x65d
mov dword [esp + 0xc8], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], 0
mov word [esp + 0xdc], ax
mov dword [esp + 0xf4], eax
mov byte [esp + 0x108], 0xc
call sub.KERNEL32.dll_GetLastError
push eax
call fcn.005e5210
add esp, 0x14
push eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0x723694
push 0x65d
push str....._srcmsw_bitmap.cpp
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xbc]
call fcn.00479740
push dword [esp + 0xe4]
mov ebx, dword [sym.imp.MSVCR120.dll_free]
call ebx
add esp, 4
cmp dword [esp + 0xe0], 8
jb 0x486914
push dword [esp + 0xcc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
mov dword [esp + 0x28], esi
test esi, esi
je 0x486992
push 0x4294d0
push dword [esi + 0x10]
mov byte [esp + 0x100], 0xd
push dword [esi + 0x14]
call fcn.005f0870
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call ebx
push 0x439bf0
push dword [esi]
mov byte [esp + 0x110], 0xb
push dword [esi + 4]
call fcn.005f0870
push dword [esi]
mov dword [esi + 8], 0
call ebx
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 0x24
lea ecx, [esp + 0x48]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00420020
xor bl, bl
jmp 0x4869d6
test bl, bl
je 0x4869d6
push dword [esp + 0x44]
push ebp
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x330008
push 0
push 0
push ebp
push dword [esp + 0x30]
push dword [esp + 0x38]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x2c]
push ebp
call edi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call esi
push dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
push ebp
call edi
push ebp
call esi
mov al, bl
jmp 0x486a35
cmp dword [0x82e960], 0
je 0x486a33
push str.invalid_bitmap_in_wxMask::Create
push str.bitmap.IsOk__
push str.wxMask::Create
push 0x635
push str....._srcmsw_bitmap.cpp
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x486a33
mov byte [0x87c8e0], 0
int3
xor al, al
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.006d1ba7
add esp, 0xe8
ret 8