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

Disassembly:
push 0xffffffffffffffff
push 0x61a5ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
xor edx, edx
push ebp
mov ebp, dword [esp + 0x88]
push esi
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x88]
push edi
mov edi, ecx
cmp esi, 1
mov dword [esp + 0x54], edi
jne 0x477654
cmp ebp, esi
jne 0x477654
mov eax, dword [esp + 0x88]
mov dword [eax], vtable.wxObject.0
mov ecx, dword [edi + 4]
cmp ecx, edx
mov dword [eax + 4], ecx
je 0x477649
inc dword [ecx + 4]
mov dword [eax], vtable.wxImage.0
jmp 0x477bae
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], vtable.wxImage.0
mov ecx, edi
mov dword [esp + 0x80], 1
call fcn.00479960
test al, al
je 0x477b6a
test esi, esi
jle 0x477b6a
test ebp, ebp
jle 0x477b6a
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x48], eax
jle 0x477b6a
test eax, eax
jle 0x477b6a
cdq
idiv esi
push 0
mov ebx, eax
mov eax, ecx
cdq
idiv ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x64], ebx
mov esi, eax
push esi
push ebx
call fcn.00477230
lea ecx, [esp + 0x70]
call fcn.00479990
test eax, eax
je 0x477b6a
mov ecx, dword [edi + 4]
mov ebx, 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 + 0x64], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebp
je 0x47772e
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.00479ad0
jmp 0x47774f
mov ebp, dword [ecx + 0x18]
test ebp, ebp
je 0x47774f
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.004799b0
lea ecx, [esp + 0x70]
call fcn.00479a10
mov dword [esp + 0x20], eax
test esi, esi
jle 0x47796a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
imul ecx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
jle 0x477951
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], eax
jmp 0x47778f
xor esi, esi
xor ecx, ecx
cmp edx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
jle 0x4778c5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x8c]
xor edi, edi
test edx, edx
jle 0x4778a0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
lea esi, [ecx + eax]
lea eax, [edx + esi*2]
lea ecx, [esi + eax + 2]
mov al, byte [ecx - 1]
mov dl, byte [ecx - 2]
mov byte [esp + 0x3c], al
mov al, byte [ecx]
mov byte [esp + 0x40], al
or al, 0xff
test ebp, ebp
mov byte [esp + 0x68], dl
mov byte [esp + 0x44], al
je 0x477804
lea eax, [esi + edi]
mov al, byte [eax + ebp]
mov byte [esp + 0x44], al
mov bl, byte [esp + 0x10]
test bl, bl
je 0x47782a
cmp dl, byte [esp + 0x11]
jne 0x47782a
mov dl, byte [esp + 0x12]
mov bl, byte [esp + 0x3c]
cmp bl, dl
jne 0x47782a
mov dl, byte [esp + 0x13]
mov bl, byte [esp + 0x40]
cmp bl, dl
je 0x477885
test al, al
jbe 0x477868
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x24]
and eax, 0xff
add edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
and eax, 0xff
add edx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
and edx, 0xff
add ebx, edx
inc eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
inc edi
add ecx, 3
cmp edi, eax
jl 0x4777dc
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
add eax, esi
dec edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
jne 0x4777b9
test ecx, ecx
jne 0x4778e3
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 4]
inc ebx
inc ebx
mov cl, byte [eax + 0x15]
mov byte [ebx - 2], cl
mov edx, dword [edi + 4]
mov al, byte [edx + 0x16]
mov byte [ebx - 1], al
mov ecx, dword [edi + 4]
mov dl, byte [ecx + 0x17]
mov byte [ebx], dl
jmp 0x477921
test ebp, ebp
je 0x4778fb
mov eax, dword [esp + 0x1c]
xor edx, edx
div ecx
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
mov byte [edx - 1], al
mov eax, dword [esp + 0x24]
xor edx, edx
div ecx
xor edx, edx
inc ebx
mov edi, dword [esp + 0x54]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x28]
div ecx
xor edx, edx
inc ebx
mov byte [ebx - 1], al
mov eax, dword [esp + 0x2c]
div ecx
mov byte [ebx], al
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x90]
add ecx, eax
mov eax, dword [esp + 0x58]
inc ebx
dec eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x58], eax
jne 0x47778d
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
add esi, ecx
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x5c], eax
jne 0x477775
mov ecx, dword [0x65329c]
push ecx
push 0
push str.HotSpotX
lea ecx, [esp + 0x68]
call fcn.004e9b90
lea edx, [esp + 0x5c]
mov ecx, edi
push edx
mov byte [esp + 0x84], 2
call fcn.0047a1c0
mov bl, al
mov eax, dword [esp + 0x5c]
mov esi, dword [sym.imp.MSVCRT.dll_free]
add eax, 0xfffffff4
mov byte [esp + 0x80], 1
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4779c0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4779c0
push eax
call esi
add esp, 4
test bl, bl
je 0x477a68
mov ecx, dword [0x65329c]
push ecx
push 0
push str.HotSpotX
lea ecx, [esp + 0x64]
call fcn.004e9b90
mov edx, dword [0x65329c]
lea ecx, [esp + 0x5c]
push edx
push 0
push str.HotSpotX
mov byte [esp + 0x8c], 3
call fcn.004e9b90
lea eax, [esp + 0x58]
mov ecx, edi
push eax
mov byte [esp + 0x84], 4
call fcn.0047a170
cdq
idiv dword [esp + 0x8c]
lea ecx, [esp + 0x5c]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0047a050
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x477a45
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x477a45
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x58]
mov byte [esp + 0x80], 1
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x477a68
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x477a68
push eax
call esi
add esp, 4
mov ecx, dword [0x65329c]
push ecx
push 0
push str.HotSpotY
lea ecx, [esp + 0x98]
call fcn.004e9b90
lea edx, [esp + 0x8c]
mov ecx, edi
push edx
mov byte [esp + 0x84], 5
call fcn.0047a1c0
mov bl, al
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff4
mov byte [esp + 0x80], 1
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x477ac1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x477ac1
push eax
call esi
add esp, 4
test bl, bl
je 0x477b6a
mov ecx, dword [0x65329c]
push ecx
push 0
push str.HotSpotY
lea ecx, [esp + 0x68]
call fcn.004e9b90
mov edx, dword [0x65329c]
lea ecx, [esp + 0x8c]
push edx
push 0
push str.HotSpotY
mov byte [esp + 0x8c], 6
call fcn.004e9b90
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
mov byte [esp + 0x84], 7
call fcn.0047a170
cdq
idiv dword [esp + 0x90]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0047a050
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x477b4f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x477b4f
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x477b6a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x477b6a
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 0x477b85
inc dword [eax + 4]
lea ecx, [esp + 0x70]
mov dword [esi], vtable.wxImage.0
mov dword [esp + 0x14], 1
mov byte [esp + 0x80], 0
mov dword [esp + 0x70], vtable.wxObject.0
call fcn.004e8d50
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