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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e25b6
push eax
mov dword fs:[0], esp
sub esp, 0x420
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 4], ebx
jne 0x4ea2bf
xor al, al
jmp 0x4ea8e5
mov ecx, ebp
mov dword [esp + 0x38], ebx
call fcn.004e0560
cmp word [ebp + 0x16], 0x18
mov dword [esp + 0x44], eax
je 0x4ea328
mov ecx, ebp
call fcn.004e1420
test al, al
jne 0x4ea328
mov eax, dword [ebp + 0x28]
shl eax, 2
push eax
call fcn.0055b9a8
mov edi, eax
add esp, 4
mov ecx, ebp
mov dword [esp + 0x38], edi
call fcn.004e06f0
mov ecx, ebp
mov esi, eax
call fcn.004e07f0
mov ecx, esi
mov esi, eax
push 0x18
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004f0830
test al, al
je 0x4ea8e5
push 1
push 1
push ebx
push ebp
lea ecx, [esp + 0x25c]
call fcn.004df810
lea ecx, [esp + 0x24c]
mov dword [esp + 0x438], ebx
call fcn.004e0660
test al, al
jne 0x4ea3a8
lea ecx, [esp + 0x24c]
call fcn.004e06c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x438], 0xffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24c]
mov dword [esp + method.CxImage.virtual_0], vtable.CxImage.0
call fcn.004df720
xor al, al
jmp 0x4ea8e5
mov edx, dword [esp + 0x440]
lea ecx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x2c], ebx
call fcn.004e90c0
mov dword [esp + 0x40], eax
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebp
push eax
call fcn.004e92b0
mov dword [esp + 0x2c], eax
xor eax, eax
mov ax, word [ebp + 0x16]
shr eax, 3
cmp ebp, ebx
mov dword [esp + 0x28], eax
je 0x4ea3f2
push ebx
mov ecx, ebp
call fcn.004dfb70
mov edi, eax
jmp 0x4ea3f6
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x24c]
test ecx, ecx
je 0x4ea412
push ebx
lea ecx, [esp + 0x250]
call fcn.004dfb70
mov ebx, eax
jmp 0x4ea416
mov ebx, dword [esp + 0x60]
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
fild dword [esp + 0x14]
test eax, eax
fdivr dword [0x5f4350]
fstp qword [esp + 0x48]
jle 0x4ea4e2
mov eax, dword [ebp + 0x148]
test eax, eax
jne 0x4ea4e2
fild dword [esp + 0x1c]
fmul qword [esp + 0x48]
call fcn.0055ce00
test esi, esi
mov dword [ebp + 0x144], eax
jl 0x4ea4b1
lea ecx, [esp + 0x24c]
call fcn.004e0520
cmp esi, eax
jg 0x4ea48f
lea ecx, [esp + 0x24c]
call fcn.004e0540
mov ebx, eax
push 0
lea ecx, [esp + 0x250]
imul ebx, esi
call fcn.004dfb70
add ebx, eax
mov ecx, ebp
call fcn.004e0520
cmp esi, eax
jg 0x4ea4b1
mov ecx, ebp
call fcn.004e0540
mov edi, eax
push 0
mov ecx, ebp
imul edi, esi
call fcn.004dfb70
add edi, eax
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
push ebx
push edi
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004e9300
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4ea439
push 1
push 1
lea ecx, [esp + 0x254]
push 0
push ecx
lea ecx, [esp + 0x78]
call fcn.004df810
lea ecx, [esp + 0x68]
mov byte [esp + 0x438], 1
call fcn.004e0660
test al, al
jne 0x4ea578
lea ecx, [esp + 0x68]
call fcn.004e06c0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x438], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, vtable.CxImage.0
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], esi
call fcn.004df720
lea ecx, [esp + 0x24c]
mov dword [esp + 0x438], 0xffffffff
mov dword [esp + 0x24c], esi
call fcn.004df720
xor al, al
jmp 0x4ea8e5
lea ecx, [esp + 0x68]
test ecx, ecx
je 0x4ea58b
push 0
lea ecx, [esp + 0x6c]
call fcn.004dfb70
mov edx, dword [ebp + 0x10]
mov edi, dword [esp + 0x28]
imul edx, edi
push edx
call fcn.0055c8a6
mov esi, eax
mov eax, dword [ebp + 0x10]
imul eax, edi
push eax
mov dword [esp + 0x24], esi
call fcn.0055c8a6
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 8
fild dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x30], ebx
test eax, eax
fdivr dword [0x5f4350]
mov dword [esp + 0x18], edi
fstp qword [esp + 0x48]
jle 0x4ea7fc
mov eax, dword [ebp + 0x148]
test eax, eax
jne 0x4ea7fc
fild dword [esp + 0x18]
fmul qword [esp + 0x48]
fadd qword [0x5f4348]
call fcn.0055ce00
test esi, esi
mov dword [ebp + 0x144], eax
je 0x4ea69f
lea ecx, [esp + 0x24c]
call fcn.004e0560
cmp ax, 8
jb 0x4ea69f
lea ecx, [esp + 0x24c]
call fcn.004e0530
cmp edi, eax
jae 0x4ea69f
lea ecx, [esp + 0x24c]
call fcn.004e0520
lea ecx, [esp + 0x24c]
mov dword [esp + 0x10], eax
call fcn.004e0560
shr eax, 3
mov byte [esp + 0x3c], al
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x4ea69f
mov ebx, dword [esp + 0x3c]
and ebx, 0xff
mov dword [esp + 0x20], ebx
imul ebx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x250]
call fcn.004dfb70
mov cl, byte [esp + 0x3c]
add eax, ebx
test cl, cl
jbe 0x4ea692
mov ecx, dword [esp + 0x20]
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x4ea689
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x4ea66e
mov ebx, dword [esp + 0x30]
test ebx, ebx
mov esi, ebx
je 0x4ea72f
lea ecx, [esp + 0x68]
call fcn.004e0560
cmp ax, 8
jb 0x4ea72f
lea ecx, [esp + 0x68]
call fcn.004e0530
cmp dword [esp + 0x18], eax
jae 0x4ea72f
lea ecx, [esp + 0x68]
call fcn.004e0520
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004e0560
shr eax, 3
mov byte [esp + 0x34], al
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x4ea72f
mov ebx, dword [esp + 0x34]
and ebx, 0xff
mov dword [esp + 0x20], ebx
imul ebx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x6c]
call fcn.004dfb70
mov cl, byte [esp + 0x34]
add eax, ebx
test cl, cl
jbe 0x4ea722
mov ecx, dword [esp + 0x20]
mov dl, byte [eax]
mov byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x4ea719
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x4ea701
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov ecx, ebp
call fcn.004e9300
test ebx, ebx
mov esi, ebx
je 0x4ea7e4
lea ecx, [esp + 0x68]
call fcn.004e0560
cmp ax, 8
jb 0x4ea7e4
lea ecx, [esp + 0x68]
call fcn.004e0530
cmp dword [esp + 0x18], eax
jae 0x4ea7e4
lea ecx, [esp + 0x68]
call fcn.004e0520
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], eax
call fcn.004e0560
shr eax, 3
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x4ea7e4
mov ebx, dword [esp + 0x14]
and ebx, 0xff
mov dword [esp + 0x20], ebx
imul ebx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x6c]
call fcn.004dfb70
mov cl, byte [esp + 0x14]
add eax, ebx
test cl, cl
jbe 0x4ea7d7
mov ecx, dword [esp + 0x20]
mov dl, byte [esi]
mov byte [eax], dl
inc eax
inc esi
dec ecx
jne 0x4ea7ce
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x4ea7b6
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x18], edi
jl 0x4ea5d9
push esi
call fcn.0055c8ac
push ebx
call fcn.0055c8ac
mov eax, dword [esp + 0x2c]
push eax
call fcn.0055b99c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0055b99c
mov eax, dword [ebp + 0x1d8]
add esp, 0x10
test eax, eax
je 0x4ea876
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
jle 0x4ea876
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jle 0x4ea86e
push edi
push esi
mov ecx, ebp
call fcn.004f93d0
test al, al
jne 0x4ea866
push 0
push edi
lea edx, [esp + 0x28]
push esi
push edx
mov ecx, ebp
call fcn.004e0b60
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
push eax
push edi
push esi
call fcn.004e1700
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, eax
jl 0x4ea83b
mov eax, dword [ebp + 0x10]
inc edi
cmp edi, eax
jl 0x4ea832
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4ea89f
mov eax, dword [esp + 0x44]
push 0
push esi
and eax, 0xffff
push 0
push eax
lea ecx, [esp + 0x78]
call fcn.004f0310
push esi
call fcn.0055b99c
add esp, 4
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.004dfc90
mov esi, vtable.CxImage.0
lea ecx, [esp + 0x68]
mov byte [esp + 0x438], 0
mov dword [esp + 0x68], esi
call fcn.004df720
lea ecx, [esp + 0x24c]
mov dword [esp + 0x438], 0xffffffff
mov dword [esp + 0x24c], esi
call fcn.004df720
mov al, 1
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x42c
ret 4