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

Disassembly:
push 0xffffffffffffffff
push 0x5d7cdb
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
call edx
test al, al
jne 0x4d47ba
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
je 0x4d4928
cmp byte [eax + 0x34], 0
je 0x4d491f
mov esi, vtable.wxObject.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
lea ebx, [edi + 1]
cmp eax, edi
je 0x4d47ec
add dword [eax + 4], ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], vtable.wxBitmap.0
mov dword [esp + 0x78], edi
cmp eax, edi
je 0x4d480a
cmp dword [eax + 0x38], edi
je 0x4d480a
lea ecx, [esp + 0x14]
call fcn.004d44e0
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], bl
call fcn.004d4060
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x84], 2
mov dword [esp + 0x64], edi
mov byte [esp + 0x78], bl
mov dword [esp + 0x68], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
call fcn.005441a0
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], edi
mov byte [esp + 0x78], bl
mov dword [esp + 0x20], esi
call fcn.00423980
mov eax, dword [esp + 0x18]
cmp eax, edi
jne 0x4d4874
xor ecx, ecx
xor eax, eax
jmp 0x4d487a
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edi
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov esi, eax
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x80]
movzx ecx, al
mov dword [esp + 0x44], ecx
test al, al
jne 0x4d48c5
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov ebx, eax
cmp esi, edi
je 0x4d48e5
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp ebp, edi
je 0x4d48f0
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.00423980
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp eax, edi
je 0x4d4928
mov eax, dword [eax + 0x38]
jmp 0x4d492a
xor eax, eax
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, edi
jne 0x4d496d
push 0xc
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], 3
cmp esi, edi
je 0x4d4965
push 0x10
call fcn.004b0630
add esp, 4
push eax
push ebx
mov ecx, esi
call fcn.004d2df0
jmp 0x4d4967
xor eax, eax
mov dword [esp + 0x14], eax
mov ebp, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x80]
movzx edx, al
mov dword [esp + 0x30], edx
test al, al
jne 0x4d49ab
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov eax, dword [ebp + 8]
push edi
push edi
push eax
call fcn.004d22d0
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x78], 4
cmp eax, edi
jne 0x4d49d6
mov dword [esp + 0x40], edi
jmp 0x4d49dd
mov edx, dword [eax + 0x20]
mov dword [esp + 0x40], edx
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call esi
push 0
mov edi, eax
call esi
mov esi, eax
mov eax, dword [ebp + 8]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
push eax
push esi
call ebp
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4d4a16
xor ecx, ecx
jmp 0x4d4a19
mov ecx, dword [eax + 0xc]
test eax, eax
je 0x4d4a20
mov eax, dword [eax + 8]
push 0x8800c6
push 0
push 0
push edi
push ecx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test esi, esi
je 0x4d4a43
mov ecx, dword [esp + 0x24]
push ecx
push esi
call ebp
test edi, edi
je 0x4d4a4f
mov edx, dword [esp + 0x2c]
push edx
push edi
call ebp
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_CreateIconIndirect]
mov esi, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4d4a7f
cmp dword [eax + 0x38], 0
jne 0x4d4a8b
test eax, eax
je 0x4d4a7f
cmp byte [eax + 0x34], 0
jne 0x4d4a8b
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d4a9a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret