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

Disassembly:
push 0xffffffffffffffff
push 0x4d5301
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x78]
push edi
mov ebx, 1
cmp esi, ebx
mov edi, ecx
mov dword [esp + 0x48], edi
jne 0x46d740
cmp dword [esp + 0x80], ebx
jne 0x46d740
mov eax, dword [esp + 0x78]
mov dword [eax], vtable.wxObject.0
mov ecx, dword [edi + 4]
cmp ecx, ebp
mov dword [eax + 4], ecx
je 0x46d725
inc dword [ecx + 4]
mov dword [eax], vtable.wxImage.0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], vtable.wxImage.0
mov eax, dword [edi + 4]
cmp eax, ebp
mov dword [esp + 0x70], ebx
je 0x46dbb4
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x46dbb4
cmp dword [eax + 8], ebp
je 0x46dbb4
cmp dword [eax + 0xc], ebp
je 0x46dbb4
cmp esi, ebp
jle 0x46dbb4
cmp dword [esp + 0x80], ebp
jle 0x46dbb4
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
jle 0x46dba2
cmp eax, ebp
jle 0x46dba2
cdq
idiv esi
push ebp
mov ebx, eax
mov eax, ecx
cdq
idiv dword [esp + 0x84]
lea ecx, [esp + 0x64]
mov dword [esp + 0x58], ebx
mov esi, eax
push esi
push ebx
call fcn.0046a8f0
lea ecx, [esp + 0x60]
call fcn.0046ae00
cmp eax, ebp
je 0x46db88
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0x10]
mov ebx, eax
mov al, byte [ecx + 0x14]
test al, al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], 0
mov eax, ecx
je 0x46d83c
mov cl, byte [eax + 0x15]
xor edx, edx
mov dl, byte [eax + 0x16]
movzx eax, byte [eax + 0x17]
push eax
mov byte [esp + 0x15], cl
mov byte [esp + 0x14], 1
push edx
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], al
call fcn.0046aed0
jmp 0x46d85d
mov ebp, dword [eax + 0x18]
test ebp, ebp
je 0x46d85d
push 0
push 0
lea ecx, [esp + 0x68]
call fcn.0046ae30
lea ecx, [esp + 0x60]
call fcn.0046aea0
mov dword [esp + 0x20], eax
test esi, esi
jle 0x46da30
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x80]
imul ecx, edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
jle 0x46da17
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], eax
jmp 0x46d8a0
xor esi, esi
lea ecx, [ecx]
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 0x46d994
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea ebx, [ebx]
mov edx, dword [esp + 0x7c]
xor edi, edi
test edx, edx
jle 0x46d96f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
lea esi, [ecx + eax]
lea eax, [edx + esi*2]
lea ecx, [esi + eax + 2]
mov dl, byte [ecx - 2]
or al, 0xff
test ebp, ebp
je 0x46d8ff
lea eax, [esi + edi]
mov al, byte [eax + ebp]
mov bl, byte [esp + 0x10]
test bl, bl
je 0x46d91e
cmp dl, byte [esp + 0x11]
jne 0x46d91e
mov dl, byte [ecx - 1]
cmp dl, byte [esp + 0x12]
jne 0x46d91e
mov dl, byte [ecx]
cmp dl, byte [esp + 0x13]
je 0x46d95b
test al, al
jbe 0x46d945
movzx edx, byte [ecx - 2]
mov ebx, dword [esp + 0x24]
add ebx, edx
movzx edx, byte [ecx - 1]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x28]
add ebx, edx
movzx edx, byte [ecx]
mov dword [esp + 0x28], ebx
add dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
movzx eax, al
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
inc edi
add ecx, 3
cmp edi, eax
jl 0x46d8f0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
add eax, esi
dec edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jne 0x46d8d0
test ecx, ecx
jne 0x46d9ad
mov edi, dword [esp + 0x48]
mov ecx, dword [edi + 4]
mov dl, byte [ecx + 0x15]
mov byte [ebx], dl
mov eax, dword [edi + 4]
mov cl, byte [eax + 0x16]
inc ebx
mov byte [ebx], cl
mov edx, dword [edi + 4]
mov al, byte [edx + 0x17]
jmp 0x46d9e7
test ebp, ebp
je 0x46d9c5
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
mov edi, dword [esp + 0x48]
inc ebx
mov byte [ebx - 1], al
mov eax, dword [esp + 0x28]
div ecx
xor edx, edx
mov byte [ebx], al
mov eax, dword [esp + 0x2c]
div ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
inc ebx
mov byte [ebx], al
mov eax, dword [esp + 0x4c]
add edx, ecx
inc ebx
dec eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x4c], eax
jne 0x46d89b
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x50]
add esi, ecx
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x50], eax
jne 0x46d883
push str.HotSpotX
lea ecx, [esp + 0x54]
call fcn.00401072
lea edx, [esp + 0x50]
push edx
mov ecx, edi
mov byte [esp + 0x74], 2
call fcn.0046b250
mov ecx, dword [esp + 0x50]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x70], 1
je 0x46da6e
dec eax
mov dword [ecx], eax
jne 0x46da6e
call fcn.0048a9b0
test bl, bl
je 0x46dad4
push str.HotSpotX
lea ecx, [esp + 0x50]
call fcn.00401072
push str.HotSpotX
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 3
call fcn.00401072
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
mov byte [esp + 0x74], 4
call fcn.0046d1c0
cdq
idiv dword [esp + 0x7c]
lea ecx, [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0046b1c0
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 3
call fcn.00401090
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 1
call fcn.00401090
push str.HotSpotY
lea ecx, [esp + 0x80]
call fcn.00401072
lea edx, [esp + 0x7c]
push edx
mov ecx, edi
mov byte [esp + 0x74], 5
call fcn.0046b250
mov ecx, dword [esp + 0x7c]
add ecx, 0xfffffff4
mov bl, al
mov eax, dword [ecx]
cmp eax, 0xffffffff
mov byte [esp + 0x70], 1
je 0x46db15
dec eax
mov dword [ecx], eax
jne 0x46db15
call fcn.0048a9b0
test bl, bl
je 0x46db81
push str.HotSpotY
lea ecx, [esp + 0x54]
call fcn.00401072
mov bl, 6
push str.HotSpotY
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], bl
call fcn.00401072
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov byte [esp + 0x74], 7
call fcn.0046d1c0
cdq
idiv dword [esp + 0x80]
lea ecx, [esp + 0x7c]
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.0046b1c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], bl
call fcn.00401090
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 1
call fcn.00401090
lea edx, [esp + 0x60]
push edx
jmp 0x46db8d
lea eax, [esp + 0x60]
push eax
mov esi, dword [esp + 0x7c]
mov ecx, esi
call fcn.00438470
mov dword [esp + 0x14], 1
jmp 0x46dbc5
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.00438470
jmp 0x46dbc1
mov esi, dword [esp + 0x78]
mov dword [esi + 4], ebp
mov dword [esi], vtable.wxImage.0
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x70], 0
mov dword [esp + 0x60], vtable.wxObject.0
call fcn.0048d260
mov ecx, dword [esp + 0x68]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0xc