Function at 0x46dc00
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d5351
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x4c], ebx
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
push ebx
push eax
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x64], vtable.wxImage.0
call fcn.0046a8f0
mov esi, dword [esi + 4]
fild dword [esi + 8]
mov dword [esp + 0x80], 2
fidiv dword [esp + 0x8c]
fstp qword [esp + 0x34]
fild dword [esi + 0xc]
fidiv dword [esp + 0x90]
fstp qword [esp + 0x68]
fld qword [esp + 0x34]
fmul qword [0x4eda50]
fst qword [esp + 0x40]
call fcn.004bdce4
fld qword [esp + 0x68]
mov edi, eax
fmul qword [0x4eda50]
mov dword [esp + 0x2c], edi
fst qword [esp + 0x70]
call fcn.004bdce4
cmp esi, ebx
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x60], vtable.wxObject.0
mov dword [esp + 0x64], esi
je 0x46dcc8
inc dword [esi + 4]
mov dword [esp + 0x60], vtable.wxImage.0
push edi
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x88], 3
call fcn.0046c040
lea ecx, [esp + 0x60]
cmp ecx, eax
mov byte [esp + 0x80], 4
je 0x46dcfd
push eax
call fcn.0048d2e0
mov esi, vtable.wxObject.0
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 3
mov dword [esp + 0x48], esi
call fcn.0048d260
push ebp
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x68]
call fcn.0046c400
lea ecx, [esp + 0x60]
cmp ecx, eax
mov byte [esp + 0x80], 5
je 0x46dd3c
push eax
call fcn.0048d2e0
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 3
mov dword [esp + 0x48], esi
call fcn.0048d260
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x46dd73
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x46dd73
cmp dword [eax + 8], ebx
je 0x46dd73
cmp dword [eax + 0xc], ebx
je 0x46dd73
mov edx, dword [eax + 0x10]
mov dword [esp + 0x28], edx
jmp 0x46dd77
mov dword [esp + 0x28], ebx
cmp eax, ebx
je 0x46dd91
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x46dd91
cmp dword [eax + 8], ebx
je 0x46dd91
cmp dword [eax + 0xc], ebx
je 0x46dd91
mov edi, dword [eax + 0x18]
jmp 0x46dd93
xor edi, edi
mov esi, dword [esp + 0x5c]
cmp esi, ebx
je 0x46ddb5
mov al, byte [esi + 0x1c]
test al, al
je 0x46ddb5
cmp dword [esi + 8], ebx
je 0x46ddb5
cmp dword [esi + 0xc], ebx
je 0x46ddb5
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x46ddb9
mov dword [esp + 0x1c], ebx
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x46de3d
cmp esi, ebx
je 0x46de39
mov al, byte [esi + 0x1c]
test al, al
je 0x46de39
cmp dword [esi + 8], ebx
je 0x46de1f
cmp dword [esi + 0xc], ebx
je 0x46de1f
lea ecx, [esp + 0x58]
call fcn.0048d330
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0xc]
imul ecx, dword [eax + 8]
push ecx
call fcn.004bd4da
mov esi, eax
mov eax, dword [esp + 0x60]
mov cl, byte [eax + 0x1e]
add esp, 4
test cl, cl
jne 0x46de10
mov edx, dword [eax + 0x18]
push edx
call fcn.004bc79f
mov eax, dword [esp + 0x60]
add esp, 4
mov dword [eax + 0x18], esi
mov eax, dword [esp + 0x5c]
mov byte [eax + 0x1e], 0
mov esi, dword [esp + 0x5c]
mov al, byte [esi + 0x1c]
test al, al
je 0x46de39
cmp dword [esi + 8], ebx
je 0x46de39
cmp dword [esi + 0xc], ebx
je 0x46de39
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x10], ecx
jmp 0x46de3d
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x90], ebx
mov dword [esp + 0x24], ebx
jle 0x46e040
fld qword [esp + 0x40]
fld qword [esp + 0x34]
jmp 0x46de60
fild dword [esp + 0x24]
fmul qword [esp + 0x68]
call fcn.004bdce4
mov ebp, eax
cmp dword [esp + 0x8c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
jle 0x46e024
fild dword [esp + 0x18]
fsub qword [esp + 0x70]
fadd qword [0x4ee428]
call fcn.004bdce4
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
lea ebx, [edx + ebp]
fild dword [esp + 0x20]
fmul st(1)
call fcn.004bdce4
fld qword [0x4f12c0]
fld qword [0x4f12c0]
mov esi, eax
mov eax, dword [esp + 0x34]
fld qword [0x4f12c0]
cmp eax, ebx
fld qword [0x4f12c0]
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
jg 0x46dfa6
test eax, eax
jl 0x46df92
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + 4]
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x50], ebx
jg 0x46df92
fild dword [esp + 0x40]
fsub st(6)
fadd qword [0x4ee428]
call fcn.004bdce4
mov edx, dword [esp + 0x2c]
lea ecx, [esi + edx]
cmp eax, ecx
jg 0x46df8e
jmp 0x46df20
test eax, eax
jl 0x46df82
mov ecx, dword [ebx + 8]
cmp eax, ecx
jg 0x46df82
mov edx, dword [esp + 0x28]
imul ecx, ebp
add ecx, esi
lea edx, [edx + ecx*2]
movzx ebx, byte [edx + ecx]
add edx, ecx
test edi, edi
mov dword [esp + 0x48], ebx
movzx ebx, byte [edx + 1]
fild dword [esp + 0x48]
movzx edx, byte [edx + 2]
faddp st(1)
mov dword [esp + 0x48], ebx
fild dword [esp + 0x48]
mov dword [esp + 0x48], edx
faddp st(2)
fild dword [esp + 0x48]
faddp st(3)
je 0x46df75
movzx ecx, byte [ecx + edi]
mov dword [esp + 0x48], ecx
fild dword [esp + 0x48]
faddp st(4)
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x2c]
inc eax
lea ecx, [esi + edx]
cmp eax, ecx
jle 0x46df20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
inc eax
lea ebx, [ecx + ebp]
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x46dee3
fild dword [esp + 0x18]
fdivr qword [0x4ee428]
fst qword [esp + 0x50]
fmul st(1)
call fcn.004bdce4
fstp st(0)
fld qword [esp + 0x50]
mov esi, dword [esp + 0x1c]
fmul st(1)
mov byte [esi], al
call fcn.004bdce4
fstp st(0)
fld qword [esp + 0x50]
mov byte [esi + 1], al
fmul st(1)
call fcn.004bdce4
fstp st(0)
mov byte [esi + 2], al
add esi, 3
test edi, edi
mov dword [esp + 0x1c], esi
je 0x46e004
fld qword [esp + 0x50]
fmul st(1)
call fcn.004bdce4
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
fstp st(0)
mov ecx, dword [esp + 0x8c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x46dea2
mov esi, dword [esp + 0x5c]
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x46de60
fstp st(0)
fstp st(0)
cmp esi, ebx
mov edi, dword [esp + 0x88]
mov ebp, vtable.wxObject.0
mov dword [edi], ebp
mov dword [edi + 4], esi
je 0x46e058
inc dword [esi + 4]
mov dword [edi], vtable.wxImage.0
lea ecx, [esp + 0x60]
mov dword [esp + 0x50], 1
mov byte [esp + 0x80], 2
mov dword [esp + 0x60], ebp
call fcn.0048d260
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 0
mov dword [esp + 0x58], ebp
call fcn.0048d260
mov ecx, dword [esp + 0x78]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0xc