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

Disassembly:
push 0xffffffffffffffff
push 0x6a6e3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
mov esi, dword [esp + 0x88]
push edi
mov ebp, ecx
xor edi, edi
cmp esi, 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x18], edi
jne 0x4e1355
cmp ebx, 1
jne 0x4e1355
mov eax, dword [esp + 0x88]
mov dword [eax], vtable.wxObject.0
mov ecx, dword [ebp + 4]
cmp ecx, edi
mov dword [eax + 4], ecx
je 0x4e134a
inc dword [ecx + 4]
mov dword [eax], vtable.wxImage.0
jmp 0x4e193f
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], vtable.wxImage.0
mov ecx, ebp
mov dword [esp + 0x80], 1
call fcn.004e39b0
test al, al
je 0x4e18fb
cmp esi, edi
jle 0x4e18e1
cmp ebx, edi
jle 0x4e18e1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 8]
cmp ecx, edi
mov dword [esp + 0x68], ebx
jle 0x4e18e1
cmp ebx, edi
jle 0x4e18e1
mov eax, ebx
push edi
cdq
idiv esi
mov dword [esp + 0x24], eax
mov eax, ecx
cdq
idiv dword [esp + 0x94]
lea ecx, [esp + 0x74]
mov esi, eax
mov eax, dword [esp + 0x24]
push esi
push eax
call fcn.004e0fd0
lea ecx, [esp + 0x70]
call fcn.004e39e0
cmp eax, edi
je 0x4e18e1
mov ecx, dword [ebp + 4]
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov byte [esp + 0x10], 0
mov al, byte [ecx + 0x14]
mov edx, dword [ecx + 0x10]
test al, al
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x2c], edi
je 0x4e1435
mov al, byte [ecx + 0x15]
mov dl, byte [ecx + 0x16]
mov cl, byte [ecx + 0x17]
mov byte [esp + 0x10], 1
push ecx
mov byte [esp + 0x17], cl
push edx
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], dl
call fcn.004e3b20
jmp 0x4e1454
mov ebp, dword [ecx + 0x18]
cmp ebp, edi
je 0x4e1454
push edi
push edi
lea ecx, [esp + 0x78]
call fcn.004e3a00
lea ecx, [esp + 0x70]
call fcn.004e3a60
mov dword [esp + 0x2c], eax
cmp esi, edi
jle 0x4e167c
mov eax, ebx
mov dword [esp + 0x40], edi
imul eax, dword [esp + 0x90]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], esi
mov ecx, dword [esp + 0x20]
cmp ecx, edi
jle 0x4e1663
mov eax, ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], eax
jmp 0x4e148c
xor edi, edi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], edi
cmp eax, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
jle 0x4e15c3
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x8c]
xor edi, edi
test eax, eax
jle 0x4e159e
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
lea esi, [edx + eax]
lea edx, [ecx + esi*2]
lea ecx, [esi + edx + 2]
mov al, byte [ecx - 1]
mov dl, byte [ecx - 2]
mov byte [esp + 0x44], al
mov al, byte [ecx]
mov byte [esp + 0x48], al
or al, 0xff
test ebp, ebp
mov byte [esp + 0x64], dl
mov byte [esp + 0x4c], al
je 0x4e150a
lea eax, [esi + edi]
mov al, byte [eax + ebp]
mov byte [esp + 0x4c], al
mov bl, byte [esp + 0x10]
test bl, bl
je 0x4e1530
cmp dl, byte [esp + 0x11]
jne 0x4e1530
mov dl, byte [esp + 0x12]
mov bl, byte [esp + 0x44]
cmp bl, dl
jne 0x4e1530
mov dl, byte [esp + 0x13]
mov bl, byte [esp + 0x48]
cmp bl, dl
je 0x4e158b
test al, al
jbe 0x4e156e
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
and eax, 0xff
add edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x44]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
and eax, 0xff
add edx, eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
and edx, 0xff
add ebx, edx
inc eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
inc edi
add ecx, 3
cmp edi, eax
jl 0x4e14e2
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [esp + 0x50]
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x50], eax
jne 0x4e14bb
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4e15ef
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
inc eax
mov edx, dword [ecx + 4]
inc eax
inc eax
mov dl, byte [edx + 0x15]
mov dword [esp + 0x1c], eax
mov byte [eax - 3], dl
mov edx, dword [ecx + 4]
mov dl, byte [edx + 0x16]
mov byte [eax - 2], dl
mov ecx, dword [ecx + 4]
mov dl, byte [ecx + 0x17]
mov byte [eax - 1], dl
jmp 0x4e163d
test ebp, ebp
je 0x4e160d
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
xor edx, edx
mov ecx, dword [esp + 0x2c]
div esi
inc ecx
mov dword [esp + 0x2c], ecx
mov byte [ecx - 1], al
jmp 0x4e1611
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
xor edx, edx
div esi
mov ecx, dword [esp + 0x1c]
xor edx, edx
inc ecx
mov byte [ecx - 1], al
mov eax, dword [esp + 0x34]
div esi
xor edx, edx
inc ecx
mov byte [ecx - 1], al
mov eax, dword [esp + 0x38]
div esi
inc ecx
mov dword [esp + 0x1c], ecx
mov byte [ecx - 1], al
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], eax
jne 0x4e148a
mov eax, dword [esp + 0x6c]
xor edi, edi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
add edx, eax
dec ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], ecx
jne 0x4e1472
mov ecx, str.HotSpotX
test ecx, ecx
mov eax, ecx
jne 0x4e168c
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x58]
push edx
push 0
push eax
call fcn.00570720
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x58]
push eax
mov ecx, edi
mov byte [esp + 0x84], 2
call fcn.004e4230
mov ecx, dword [esp + 0x58]
mov esi, dword [0x6c74ac]
mov bl, al
mov byte [esp + 0x80], 1
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4e16e3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e16e3
push eax
call esi
add esp, 4
test bl, bl
je 0x4e17a4
mov edx, str.HotSpotX
test edx, edx
mov eax, edx
jne 0x4e16fb
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x64]
call fcn.00570720
mov edx, str.HotSpotX
mov byte [esp + 0x80], 3
test edx, edx
mov eax, edx
jne 0x4e1726
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x68]
call fcn.00570720
lea edx, [esp + 0x58]
mov ecx, edi
push edx
mov byte [esp + 0x84], 4
call fcn.004e41e0
cdq
idiv dword [esp + 0x8c]
lea ecx, [esp + 0x70]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004e40b0
mov ecx, dword [esp + 0x5c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4e1780
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e1780
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x58]
mov byte [esp + 0x80], 1
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4e17a4
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e17a4
push eax
call esi
add esp, 4
mov eax, str.HotSpotY
test eax, eax
jne 0x4e17b2
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x98]
call fcn.00570720
lea edx, [esp + 0x8c]
mov ecx, edi
push edx
mov byte [esp + 0x84], 5
call fcn.004e4230
mov bl, al
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff4
mov byte [esp + 0x80], 1
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4e1807
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e1807
push eax
call esi
add esp, 4
test bl, bl
je 0x4e18c7
mov ecx, str.HotSpotY
test ecx, ecx
mov eax, ecx
jne 0x4e181f
mov eax, 0x8c55f4
mov edx, dword [0x6e14e0]
lea ecx, [esp + 0x5c]
push edx
push 0
push eax
call fcn.00570720
mov eax, str.HotSpotY
mov byte [esp + 0x80], 6
test eax, eax
jne 0x4e1848
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
push eax
lea ecx, [esp + 0x98]
call fcn.00570720
lea edx, [esp + 0x5c]
mov ecx, edi
push edx
mov byte [esp + 0x84], 7
call fcn.004e41e0
cdq
idiv dword [esp + 0x90]
lea ecx, [esp + 0x70]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004e40b0
mov ecx, dword [esp + 0x8c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4e18ab
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e18ab
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4e18c7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4e18c7
push eax
call esi
add esp, 4
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
je 0x4e1916
jmp 0x4e1913
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
cmp eax, edi
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
je 0x4e1916
jmp 0x4e1913
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x74]
cmp eax, edi
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
je 0x4e1916
inc dword [eax + 4]
lea ecx, [esp + 0x70]
mov dword [esi], vtable.wxImage.0
mov dword [esp + 0x18], 1
mov byte [esp + 0x80], 0
mov dword [esp + 0x70], vtable.wxObject.0
call fcn.0056f8d0
mov eax, esi
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc