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

Disassembly:
push 0xffffffffffffffff
push 0x5d7be1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x54], 1
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
cmp eax, ebx
jne 0x4d40b3
xor eax, eax
jmp 0x4d40b6
mov eax, dword [eax + 0x20]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x48]
call fcn.00544610
mov ecx, dword [esp + 0x40]
mov ebp, 1
mov dword [esp + 0x84], ebp
cmp ecx, ebx
jne 0x4d4115
mov esi, dword [esp + 0x8c]
mov dword [esi], vtable.wxObject.0
mov eax, dword [0x6916d8]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4d40f6
add dword [eax + 4], ebp
mov ecx, dword [esp + 0x40]
mov dword [esi], vtable.wxImage.0
cmp ecx, ebx
je 0x4d4301
cmp byte [esp + 0x54], 0
je 0x4d4301
push ecx
jmp 0x4d42fb
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4d4126
cmp byte [eax + 0x34], 0
je 0x4d4126
mov eax, ebp
jmp 0x4d4128
xor eax, eax
xor ecx, ecx
test al, al
setne cl
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00544700
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 2
call fcn.005346d0
test al, al
jne 0x4d417c
mov esi, dword [esp + 0x8c]
mov dword [esi], vtable.wxObject.0
mov eax, dword [0x6916d8]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4d416f
add dword [eax + 4], ebp
mov dword [esp + 0x20], vtable.wxObject.0
jmp 0x4d42d0
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4d42b0
cmp dword [eax + 0x38], ebx
je 0x4d42b0
cmp eax, ebx
je 0x4d4199
mov eax, dword [eax + 0x38]
jmp 0x4d419b
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.004d2eb0
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 3
call fcn.004d3f00
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 4
mov dword [esp + 0x1c], edi
call fcn.00534700
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
cmp esi, ebx
jle 0x4d424f
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x34]
mov esi, ebp
mov dword [esp + 0x3c], edx
cmp edi, ebx
jle 0x4d4245
mov bl, dl
mov edi, edi
mov dl, 1
mov cl, bl
shl dl, cl
test byte [esi], dl
je 0x4d4221
cmp byte [eax], 1
jne 0x4d422a
cmp byte [eax + 1], 2
jne 0x4d422a
cmp byte [eax + 2], 3
jne 0x4d422a
mov byte [eax + 2], 2
jmp 0x4d422a
mov word [eax], 0x201
mov byte [eax + 2], 3
add eax, 3
dec bl
mov ecx, 0
sets cl
and bl, 7
add esi, ecx
dec edi
jne 0x4d4200
mov edi, dword [esp + 0x1c]
xor ebx, ebx
add ebp, dword [esp + 0x68]
dec dword [esp + 0x14]
jne 0x4d41ee
push 3
push 2
push 1
lea ecx, [esp + 0x2c]
call fcn.005347b0
mov byte [esp + 0x84], 5
cmp dword [esp + 0x74], ebx
je 0x4d427a
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x70]
call fcn.004d34f0
mov edi, vtable.wxObject.0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x84], 3
mov dword [esp + 0x6c], edi
call fcn.00423980
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 2
mov dword [esp + 0x28], edi
call fcn.00423980
mov ebp, 1
jmp 0x4d42b5
mov edi, vtable.wxObject.0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x8c]
mov dword [esi], edi
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4d42cc
add dword [eax + 4], ebp
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x20]
mov dword [esi], vtable.wxImage.0
mov dword [esp + 0x18], ebp
mov byte [esp + 0x84], 1
call fcn.00423980
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4d4301
cmp byte [esp + 0x54], 0
je 0x4d4301
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4