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

Disassembly:
push 0xffffffffffffffff
push 0x5d77df
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x14], 8
jb 0x4d12da
mov esi, dword [ebp]
jmp 0x4d12dc
mov esi, ebp
call fcn.0046fe30
push esi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
cmp esi, ebx
jne 0x4d1552
xor al, al
cmp al, bl
jne 0x4d1359
lea eax, [esp + 0xa4]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
mov edi, 1
or dword [esp + 0x18], edi
mov dword [esp + 0xd4], ebx
cmp dword [0x695aa8], ebx
je 0x4d133c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x4d133c
call fcn.004443b0
jmp 0x4d1341
mov al, byte [0x68a580]
cmp al, bl
je 0x4d135e
push esi
call fcn.00445fa0
add esp, 4
cmp eax, edi
jb 0x4d135e
mov byte [esp + 0x17], 1
jmp 0x4d1362
mov edi, 1
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0xd4], 0xffffffff
je 0x4d13a3
mov ecx, dword [esp + 0xc0]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xb8], 8
jb 0x4d13a3
mov edx, dword [esp + 0xa4]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4d154e
call fcn.00420510
mov dword [esp + 0x20], eax
mov dword [esp + 0xd4], edi
call fcn.00420510
mov dword [esp + 0x24], eax
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push str.Cant_load_bitmap__s_from_resources__Check_.rc_file.
push eax
mov byte [esp + 0xe0], 2
call fcn.00402340
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, ebp
mov dword [esp + 0xe4], 3
call fcn.00406280
mov byte [esp + 0xe0], 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], str....._srcmswgdiimage.cpp
mov dword [esp + 0x68], str.wxBMPResourceHandler::LoadFile
mov dword [esp + 0x64], 0x190
mov dword [esp + 0x6c], 0x5fcf00
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov esi, 7
xor edx, edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], dx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov byte [esp + 0xe0], 5
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe4], 6
call fcn.00486c30
mov ecx, dword [esp + 0x98]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x90], 8
jb 0x4d14bf
mov edx, dword [esp + 0x7c]
push edx
call fcn.00584768
add esp, 4
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], ax
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4d1533
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push 0x40b5f0
push ecx
push edx
mov byte [esp + 0xe0], 7
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0x475ea0
push eax
push ecx
mov byte [esp + 0xf0], 3
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
lea ecx, [esp + 0x20]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004020c0
mov al, 1
jmp 0x4d12f5
xor al, al
jmp 0x4d15cf
lea edx, [esp + 0x34]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4d1573
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
movzx eax, word [esp + 0x46]
jmp 0x4d1579
xor eax, eax
xor ecx, ecx
xor edx, edx
push eax
push ecx
push edx
push esi
mov ecx, edi
call fcn.004d1bb0
push 0xc
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xd4], 8
cmp esi, ebx
je 0x4d15b8
push 0x10
call fcn.004b0630
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.004d2df0
jmp 0x4d15ba
xor eax, eax
push eax
mov ecx, edi
mov dword [esp + 0xd8], 0xffffffff
call fcn.004d1b80
mov al, 1
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00585b7b
add esp, 0xc4
ret 0x14