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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6a6f15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.wxImage.0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xdc], 1
call fcn.004e0fd0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x14]
mov edx, dword [eax + 0x10]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x90], edx
call fcn.004e39e0
cmp edi, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
je 0x4e2256
push ebx
push ebx
lea ecx, [esp + 0x1c]
call fcn.004e3a00
lea ecx, [esp + 0x14]
call fcn.004e3a60
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], ebx
test eax, eax
jle 0x4e26c8
fild dword [ebp + 0x10]
fstp qword [esp + 0x9c]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xc]
imul ecx, ebx
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fdiv qword [esp + 0x9c]
fst qword [esp + 0x94]
call fcn.00658ed2
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
fild dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x1c], 0
fsubr qword [esp + 0x94]
fstp qword [esp + 0xa4]
jle 0x4e26b8
fild dword [ebp + 0xc]
fstp qword [esp + 0xb4]
jmp 0x4e22cc
mov esi, dword [esp + 0x34]
mov ebx, dword [esi + 4]
mov dword [esp + 0x2c], ebx
mov esi, dword [ebx + 8]
mov edx, esi
mov dword [esp + 0x20], esi
imul edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fdiv qword [esp + 0xb4]
fst qword [esp + 0x6c]
call fcn.00658ed2
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0
fild dword [esp + 0x10]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0
fsubr qword [esp + 0x6c]
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x24], 0xffffffff
fstp qword [esp + 0xac]
jmp 0x4e235e
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
fild dword [esp + 0x24]
fld st(0)
fadd qword [esp + 0x94]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 1
je 0x4e237e
fstp st(0)
xor eax, eax
jmp 0x4e23a0
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4e239b
fstp st(0)
lea eax, [ecx - 1]
jmp 0x4e23a0
call fcn.00658ed2
fsub qword [esp + 0xa4]
or ebx, 0xffffffff
imul esi, eax
fst qword [esp + 0x4c]
fadd qword [0x6d0528]
fstp qword [esp + 0xbc]
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fld st(0)
fadd qword [esp + 0x6c]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 1
je 0x4e23df
fstp st(0)
xor eax, eax
jmp 0x4e23fc
fild dword [esp + 0x20]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4e23f7
mov eax, dword [esp + 0x20]
fstp st(0)
dec eax
jmp 0x4e23fc
call fcn.00658ed2
fsub qword [esp + 0xac]
lea ecx, [esi + eax]
fld st(0)
fadd qword [0x6d0528]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e2435
fstp st(0)
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
jmp 0x4e2444
fld st(0)
fmul st(1)
fmul st(1)
fstp qword [esp + 0x84]
fstp st(0)
fld st(0)
fadd qword [0x6cedc0]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e2470
fstp st(0)
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
jmp 0x4e247c
fld st(0)
fmul st(1)
fmul st(1)
fstp qword [esp + 0x7c]
fstp st(0)
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e249b
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
jmp 0x4e24a5
fld st(0)
fmul st(1)
fmul st(1)
fstp qword [esp + 0x74]
fsub qword [0x6cedc0]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e24c2
fstp st(0)
fld qword [0x6c8a98]
jmp 0x4e24c8
fld st(0)
fmul st(1)
fmulp st(1)
fld qword [esp + 0xbc]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e24e6
fstp st(0)
fld qword [0x6c8a98]
jmp 0x4e24ec
fld st(0)
fmul st(1)
fmulp st(1)
fld qword [esp + 0x4c]
fadd qword [0x6cedc0]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e250d
fstp st(0)
fld qword [0x6c8a98]
jmp 0x4e2513
fld st(0)
fmul st(1)
fmulp st(1)
fld qword [esp + 0x4c]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e252e
fstp st(0)
fld qword [0x6c8a98]
jmp 0x4e2534
fld st(0)
fmul st(1)
fmulp st(1)
fld qword [esp + 0x4c]
fsub qword [0x6cedc0]
fcom qword [0x6c8a98]
fnstsw ax
test ah, 0x41
je 0x4e2555
fstp st(0)
fld qword [0x6c8a98]
jmp 0x4e255b
fld st(0)
fmul st(1)
fmulp st(1)
fld qword [esp + 0x7c]
fmul qword [0x6d4ec8]
mov edx, dword [esp + 0x90]
fsubr qword [esp + 0x84]
fld qword [esp + 0x74]
fmul qword [0x6d4ec0]
lea eax, [edx + ecx*2]
xor edx, edx
mov dl, byte [eax + ecx]
add eax, ecx
faddp st(1)
fxch st(5)
fmul qword [0x6d4ec8]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 1]
fsubp st(5)
fxch st(2)
fmul qword [0x6d4ec8]
fsubr st(3)
fxch st(1)
fmul qword [0x6d4ec0]
faddp st(1)
fxch st(1)
fmul qword [0x6d4ec8]
fsubp st(1)
fmulp st(2)
fxch st(1)
fmul qword [0x6d4eb8]
fstp qword [esp + 0x5c]
fstp st(0)
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
xor edx, edx
mov dl, byte [eax + 2]
fmul qword [esp + 0x5c]
test edi, edi
fadd qword [esp + 0x3c]
fstp qword [esp + 0x3c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul qword [esp + 0x5c]
fadd qword [esp + 0x44]
fstp qword [esp + 0x44]
fild dword [esp + 0x10]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x54]
fstp qword [esp + 0x54]
je 0x4e2624
xor eax, eax
mov al, byte [ecx + edi]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x5c]
fadd qword [esp + 0x64]
fstp qword [esp + 0x64]
inc ebx
cmp ebx, 2
mov dword [esp + 0x10], ebx
jle 0x4e23c2
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
mov dword [esp + 0x24], eax
jle 0x4e2356
fld qword [esp + 0x3c]
fadd qword [0x6c8a90]
call fcn.00658ed2
fld qword [esp + 0x44]
mov esi, dword [esp + 0x30]
fadd qword [0x6c8a90]
mov byte [esi], al
call fcn.00658ed2
fld qword [esp + 0x54]
fadd qword [0x6c8a90]
mov byte [esi + 1], al
call fcn.00658ed2
mov byte [esi + 2], al
add esi, 3
test edi, edi
mov dword [esp + 0x30], esi
je 0x4e269c
fld qword [esp + 0x64]
call fcn.00658ed2
mov ecx, dword [esp + 0x28]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4e22c8
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + 0x10]
inc ebx
cmp ebx, eax
mov dword [esp + 0x38], ebx
jl 0x4e226f
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x18]
test eax, eax
mov dword [esi], vtable.wxObject.0
mov dword [esi + 4], eax
je 0x4e26df
inc dword [eax + 4]
mov dword [esi], vtable.wxImage.0
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 0
mov dword [esp + 0x14], vtable.wxObject.0
call fcn.0056f8d0
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc