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

Disassembly:
push 0xffffffffffffffff
push 0x6e94ec
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], 0
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 4], 0
mov ecx, ebx
mov dword [esp + 0xa0], 1
mov dword [ebx], vtable.wxImage.0
call fcn.005bde00
push 0x4c
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0xa0], 2
test eax, eax
je 0x4c2704
mov ecx, eax
call fcn.004bbcc0
mov edi, eax
jmp 0x4c2706
xor edi, edi
mov esi, dword [esp + 0xac]
mov eax, esi
mov ebp, dword [esp + 0xb0]
imul eax, ebp
mov byte [esp + 0xa0], 1
mov dword [ebx + 4], edi
lea eax, [eax + eax*2]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov dword [edi + 0x14], eax
add esp, 4
mov eax, dword [ebx + 4]
cmp dword [eax + 0x14], 0
jne 0x4c2746
mov ecx, ebx
call fcn.005bde00
jmp 0x4c2756
mov dword [eax + 8], esi
mov eax, dword [ebx + 4]
mov dword [eax + 0xc], ebp
mov eax, dword [ebx + 4]
mov byte [eax + 0x20], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x44], 1
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
mov ecx, ebx
mov dword [esp + 0x40], edi
call fcn.004be4e0
mov ebp, eax
xor eax, eax
mov dword [esp + 0x24], eax
test edi, edi
je 0x4c27a5
push eax
push eax
mov ecx, ebx
call fcn.004c48b0
mov ecx, ebx
call fcn.004be370
mov dword [esp + 0x24], eax
push dword [esp + 0xb0]
lea ecx, [esp + 0x54]
call fcn.004bb9d0
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0xa4], 3
call fcn.004bb9d0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xa0], 4
mov eax, dword [eax + 4]
push dword [eax + 0xc]
lea eax, [esp + 0x54]
push eax
call fcn.004c2be0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
push dword [eax + 8]
lea eax, [esp + 0x68]
push eax
call fcn.004c2be0
mov ecx, dword [esp + 0xc0]
xorps xmm0, xmm0
xor eax, eax
movsd qword [esp + 0x80], xmm0
add esp, 0x10
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x4c2ba0
mov ebx, dword [esp + 0x58]
add ebx, 8
mov dword [esp + 0x28], ebx
nop
cmp dword [0x82e960], 0
je 0x4c2879
cmp eax, dword [esp + 0x50]
jb 0x4c2879
push 0
push str.idx___m_size
push str.wxVector_struct__anonymous_namespace::BilinearPrecalc_::at
push 0x194
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_vector.h
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4c286e
mov byte [0x87c8e0], 0
int3
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [ebx]
mov edx, dword [ebx - 8]
mov dword [esp + 0x4c], edx
mov edx, dword [ebx - 4]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [ebx + 8]
xor ebx, ebx
mov dword [esp + 0x48], edx
movsd qword [esp + 0x88], xmm0
test esi, esi
jle 0x4c2b81
mov eax, dword [esp + 0x64]
add eax, 8
mov dword [esp + 0x20], eax
cmp dword [0x82e960], 0
je 0x4c28f9
cmp ebx, dword [esp + 0x5c]
jb 0x4c28f9
push 0
push str.idx___m_size
push str.wxVector_struct__anonymous_namespace::BilinearPrecalc_::at
push 0x194
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_vector.h
call fcn.005c6f20
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x4c28f5
mov byte [0x87c8e0], 0
int3
mov eax, dword [esp + 0x20]
movsd xmm6, qword [eax]
movsd xmm7, qword [eax + 8]
mov edx, dword [eax - 8]
mov esi, dword [eax - 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, ecx
imul eax, dword [esp + 0x4c]
imul ecx, dword [esp + 0x48]
lea edi, [eax + edx]
mov dword [esp + 0x34], edi
lea edi, [eax + esi]
lea eax, [ecx + edx]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], eax
lea eax, [ecx + esi]
mov esi, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
lea edx, [eax + esi*2]
lea ecx, [eax + edi*2]
movzx eax, byte [esi + edx]
movd xmm1, eax
movzx eax, byte [edi + ecx]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
movzx eax, byte [edi + ecx + 1]
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm7
mulsd xmm0, xmm6
addsd xmm1, xmm0
movsd qword [esp + 0x34], xmm1
movd xmm1, eax
movzx eax, byte [esi + edx + 1]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
movzx eax, byte [edi + ecx + 2]
cvtdq2pd xmm0, xmm0
mov edi, dword [esp + 0x40]
mulsd xmm1, xmm6
mulsd xmm0, xmm7
addsd xmm1, xmm0
movsd qword [esp + 0x80], xmm1
movd xmm1, eax
movzx eax, byte [esi + edx + 2]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, xmm6
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm1, xmm0
movsd qword [esp + 0x78], xmm1
test edi, edi
je 0x4c2a05
movzx eax, byte [esi + edi]
movd xmm4, eax
mov eax, dword [esp + 0x3c]
cvtdq2pd xmm4, xmm4
movzx eax, byte [eax + edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm4, xmm7
mulsd xmm0, xmm6
addsd xmm4, xmm0
movsd qword [esp + 0x70], xmm4
jmp 0x4c2a0b
movsd xmm4, qword [esp + 0x70]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
lea edx, [ecx + esi*2]
lea ecx, [ecx + eax*2]
movzx eax, byte [esi + edx]
movd xmm1, eax
mov eax, dword [esp + 0x14]
cvtdq2pd xmm1, xmm1
movzx eax, byte [eax + ecx]
movd xmm0, eax
mov eax, dword [esp + 0x14]
mulsd xmm1, xmm7
cvtdq2pd xmm0, xmm0
movzx eax, byte [eax + ecx + 1]
movd xmm2, eax
movzx eax, byte [esi + edx + 1]
mulsd xmm0, xmm6
cvtdq2pd xmm2, xmm2
addsd xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x14]
mulsd xmm2, xmm6
cvtdq2pd xmm0, xmm0
movzx eax, byte [eax + ecx + 2]
movd xmm3, eax
movzx eax, byte [esi + edx + 2]
mulsd xmm0, xmm7
cvtdq2pd xmm3, xmm3
addsd xmm2, xmm0
movd xmm0, eax
mulsd xmm3, xmm6
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
addsd xmm3, xmm0
test edi, edi
je 0x4c2acd
movzx eax, byte [esi + edi]
movd xmm5, eax
mov eax, dword [esp + 0x14]
cvtdq2pd xmm5, xmm5
movzx eax, byte [eax + edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm5, xmm7
mulsd xmm0, xmm6
addsd xmm5, xmm0
movsd qword [esp + 0x68], xmm5
jmp 0x4c2ad3
movsd xmm5, qword [esp + 0x68]
movsd xmm0, qword [esp + 0x90]
movsd xmm6, qword [esp + 0x88]
movsd xmm7, qword [esp + 0x34]
mulsd xmm1, xmm0
mulsd xmm7, xmm6
mulsd xmm2, xmm0
mulsd xmm3, xmm0
addsd xmm1, xmm7
cvttsd2si eax, xmm1
movsd xmm1, qword [esp + 0x80]
mulsd xmm1, xmm6
mov byte [ebp], al
addsd xmm2, xmm1
movsd xmm1, qword [esp + 0x78]
mulsd xmm1, xmm6
cvttsd2si eax, xmm2
addsd xmm3, xmm1
mov byte [ebp + 1], al
cvttsd2si eax, xmm3
mov byte [ebp + 2], al
add ebp, 3
test edi, edi
je 0x4c2b5b
mov esi, dword [esp + 0x24]
movaps xmm1, xmm0
movaps xmm0, xmm6
mulsd xmm1, xmm5
mulsd xmm0, xmm4
addsd xmm1, xmm0
cvttsd2si eax, xmm1
mov byte [esi], al
inc esi
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x20]
inc ebx
mov esi, dword [esp + 0xac]
add eax, 0x18
mov dword [esp + 0x20], eax
cmp ebx, esi
jl 0x4c28b7
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x28]
inc eax
add ebx, 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebx
cmp eax, ecx
jl 0x4c2830
mov ebx, dword [esp + 0xa8]
push dword [esp + 0x64]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
push dword [esp + 0x5c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc