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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
cmp dword [edi], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], ecx
jne 0x4e159b
or eax, 0xffffffff
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
push 0x80
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp + 0x10]
push ecx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov edx, ecx
and edx, 0xfffff
cmp edx, dword [ebp + 0x20]
mov dword [ebp - 0x18], edx
jbe 0x4e15b7
cmp byte [ebp + 0x24], 0
je 0x4e15da
mov edx, dword [edi + 4]
lea esi, [edx - 0x1ffffffc]
cmp esi, 3
ja case.default.0x4e15c5
jmp dword [esi*4 + 0x4e1d50]
and ecx, 0xf0000000
cmp ecx, 0x10000000
je 0x4e163c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.004cd280
test al, al
jne 0x4e163c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
and ecx, 0xf0000000
cmp ecx, 0x20000000
je 0x4e163c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
call fcn.004cd3a0
test al, al
jne 0x4e163c
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
and ecx, 0xfff00000
cmp ecx, edx
jne 0x4e15f1
cmp dword [edi], 0
mov dword [ebp - 0x2c], 1
jne 0x4e1655
cmp byte [ebp + 0x24], 0
je 0x4e1655
mov dword [ebp - 0x2c], 2
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jbe 0x4e1d08
jmp 0x4e1670
mov ecx, dword [edi + 0x4c]
add ecx, 1
mov dword [ebp - 0x1c], 0
je 0x4e1cbe
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp eax, 0x20
ja 0x4e15da
mov esi, dword [ebp + 0x10]
mov ecx, 0x20
lea edi, [ebp - 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x28
mov esi, ebx
lea edi, [ebp - 0x170]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
add eax, 1
cmp dword [edx + 8], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ecx
jbe 0x4e1a1d
mov dword [ebp - 0x10], ecx
lea ebx, [ebx]
cmp dword [ebp - 0x1c], 0
je 0x4e16e2
mov eax, 1
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x4e16e5
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx]
cmp eax, 4
jae 0x4e1cda
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov ecx, dword [ecx + 4]
mov esi, dword [ebp - 8]
and edx, 0xfffff
imul edx, dword [ebp - 0xc]
add eax, edx
mov ebx, dword [ecx + eax*4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi*4 + 0xc]
lea edi, [eax - 0x20]
cmp edi, 0xf
mov dword [ebp - 0x14], ecx
ja 0x4e1899
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + ebx*4]
cmp eax, dword [ebp - 0x18]
jae 0x4e1888
add eax, edx
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4e1888
mov ecx, dword [eax + 8]
and ecx, 0x800
xor esi, esi
or ecx, esi
je 0x4e1776
cmp edi, 0xa
ja case.default.0x4e175a
jmp dword [edi*4 + 0x4e1d60]
fld qword [eax + 0xa8]
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4e187b
mov dword [ebp - 4], 1
jmp 0x4e1ca1
fld qword [eax + 0xa8]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e1776
jmp 0x4e187b
fld qword [eax + 0xa8]
fld qword [0x468928]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e1776
jmp 0x4e187b
fld qword [eax + 0xa8]
fld qword [0x468918]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e1776
jmp 0x4e187b
fld qword [eax + 0xa8]
fld qword [0x468900]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
cmp ecx, 0xffffffff
mov eax, dword [eax + 0xb4]
mov dword [ebp - 0x3c], eax
jne 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
or ecx, dword [eax + 0xb4]
jne 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
cmp ecx, 1
mov eax, dword [eax + 0xb4]
jne 0x4e1776
test eax, eax
jne 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
and ecx, dword [eax + 0xb4]
cmp ecx, 0xffffffff
jne 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
cmp ecx, 2
mov eax, dword [eax + 0xb4]
jne 0x4e1776
test eax, eax
jne 0x4e1776
jmp 0x4e187b
mov ecx, dword [eax + 0xb0]
or ecx, dword [eax + 0xb4]
je 0x4e1776
cmp dword [ebp - 4], 1
je 0x4e1ca1
mov ecx, dword [ebp - 0x14]
add ebx, 1
cmp ebx, 4
jb 0x4e1726
jmp 0x4e19a9
cmp eax, 0x10
jb 0x4e18fd
cmp eax, 0x40
ja 0x4e1902
sub eax, 0x10
xor esi, esi
shl eax, 4
lea eax, [ebp + eax - 0x170]
mov ecx, dword [ebp + 0x1c]
mov ecx, dword [ecx + esi*4]
cmp ecx, dword [ebp - 0x18]
jae 0x4e18e7
mov edx, dword [eax]
cmp edx, 0xffffffff
je 0x4e18d8
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add edi, ecx
cmp edx, dword [ebx + edi*4]
je 0x4e18d8
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add ecx, edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4]
mov dword [eax], ecx
jmp 0x4e18ed
mov dword [eax], 0xffffffff
add esi, 1
add eax, 4
cmp esi, 4
jb 0x4e18b2
jmp 0x4e19a9
cmp eax, 0x40
jbe 0x4e1905
sub eax, 0x40
mov edx, dword [ebx + 0x6c]
cmp edx, 0xffffffff
je 0x4e1776
mov ecx, 0x28
lea esi, [ebp - 0x170]
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
sub eax, dword [ecx]
lea eax, [eax + eax*4]
shl eax, 4
lea esi, [eax + ecx]
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi + 0x48]
push ecx
push eax
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx*4]
push eax
push edx
call fcn.004e0880
test eax, eax
jne 0x4e1776
cmp dword [ebp - 4], eax
jne 0x4e19a9
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
push ecx
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0x6c]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xd0]
push eax
push esi
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004e14d0
test eax, eax
mov dword [ebp - 4], eax
jne 0x4e19a9
lea eax, [ebp - 0x210]
lea ebx, [ebp - 0x170]
call fcn.004e07e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x4e1ca1
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
xor esi, esi
jmp 0x4e19c0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + esi*4]
cmp eax, dword [ebp - 0x18]
jae 0x4e19fa
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, ecx
mov ecx, dword [edx + 4]
mov edx, dword [edi + ebx*8 + 0x34]
mov eax, dword [ecx + eax*4]
push edx
mov edx, dword [edi + ebx*8 + 0x30]
push edx
mov edx, dword [edi + ebx*8 + 0x1c]
push edx
mov edx, dword [edi + ebx*8 + 0x18]
push edx
call fcn.004e0530
test eax, eax
je 0x4e1776
add esi, 1
cmp esi, 4
jb 0x4e19c0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x10], ecx
add eax, 1
cmp eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
jae 0x4e1a1d
mov ecx, eax
jmp 0x4e16d0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
xor ecx, ecx
test eax, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
jbe 0x4e1ad5
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x1c], 0
je 0x4e1a45
mov eax, 1
sub eax, ecx
jmp 0x4e1a47
mov eax, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + eax*4 + 0xc]
cmp eax, 0x10
jb 0x4e1ac0
cmp eax, 0x20
jae 0x4e1ac0
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ecx]
mov ebx, dword [ebp + eax*4 - 0xd0]
test ebx, ebx
je 0x4e1aa6
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x4e1aa6
mov edx, dword [ebx + 8]
xor ecx, ecx
test edx, edx
jbe 0x4e1a9e
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov esi, dword [esi + 4]
add eax, edi
mov esi, dword [esi + eax*4]
mov eax, dword [ebx + 0xc]
lea esp, [esp]
cmp esi, dword [eax]
je 0x4e1ab6
add ecx, 1
add eax, 4
cmp ecx, edx
jb 0x4e1a90
add edi, 1
cmp edi, dword [ebp - 0x18]
jb 0x4e1a75
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x20
mov dword [ebp - 0x14], eax
jb 0x4e1a60
jmp 0x4e1abd
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
add dword [ebp - 0xc], edx
add ecx, 1
cmp ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jb 0x4e1a36
cmp dword [ebp - 4], 0
jne 0x4e1ca1
cmp dword [ebp - 0x28], 0
jne 0x4e1ced
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x4e1ced
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ebx, [ebx]
mov eax, dword [ebp + ecx*4 - 0xd0]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4e1c16
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], eax
jbe 0x4e1c16
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xc], edx
test edx, edx
jbe 0x4e1b3e
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
jmp 0x4e1b40
xor ecx, ecx
test edx, edx
mov dword [ebp - 0x30], 0
jbe 0x4e1c01
cmp ecx, dword [ebp + 8]
je 0x4e1bcb
test ecx, ecx
je 0x4e1bcb
test dword [ecx + 0x38], 0xfff00000
je 0x4e1bcb
mov edx, dword [ecx]
xor bl, bl
test edx, edx
jbe 0x4e1bcb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
cmp edi, esi
je 0x4e1b83
cmp dword [edi + 0x44], esi
jne 0x4e1b85
mov bl, 1
add eax, 4
sub edx, 1
jne 0x4e1b78
test bl, bl
je 0x4e1bcb
xor eax, eax
cmp ecx, dword [ebp + eax*4 - 0xd0]
jne 0x4e1b9e
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xcc]
jne 0x4e1ba9
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xc8]
jne 0x4e1bb4
xor bl, bl
cmp ecx, dword [ebp + eax*4 - 0xc4]
jne 0x4e1bbf
xor bl, bl
add eax, 4
cmp eax, 0x20
jb 0x4e1b93
test bl, bl
jne 0x4e1bf7
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
add eax, 1
cmp eax, edx
mov dword [ebp - 0x30], eax
jb 0x4e1be4
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x30], eax
jmp 0x4e1bed
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
mov ecx, dword [ecx + eax*4]
cmp eax, edx
jb 0x4e1b4f
jmp 0x4e1c01
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
add eax, 1
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
jb 0x4e1b30
mov ecx, dword [ebp - 0x14]
add ecx, 1
cmp ecx, 0x20
mov dword [ebp - 0x14], ecx
jb 0x4e1b00
cmp dword [ebp - 4], 1
je 0x4e1ca1
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + eax*4 - 0x170]
cmp ebx, 0xffffffff
je 0x4e1c90
xor edx, edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + edx*4 - 0xd0]
test eax, eax
je 0x4e1c82
mov esi, dword [eax + 8]
xor ecx, ecx
test esi, esi
jbe 0x4e1c82
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp + edx*4 - 0x170]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
cmp edi, edx
je 0x4e1776
cmp dword [ebx + 0x44], edx
je 0x4e1776
add ecx, 1
add eax, 4
cmp ecx, esi
jb 0x4e1c62
mov edx, dword [ebp - 8]
add edx, 1
cmp edx, 0x20
mov dword [ebp - 8], edx
jb 0x4e1c41
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, 0x28
mov dword [ebp - 0xc], eax
jb 0x4e1c30
cmp dword [ebp - 4], 0
je 0x4e1ced
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ebp + 0x18]
add eax, 1
add edx, 1
cmp eax, edx
mov dword [ebp - 0x1c], eax
jb 0x4e1683
cmp dword [ebp - 4], 0
je 0x4e1ced
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jae 0x4e1d42
mov edi, dword [ebp + 0xc]
jmp 0x4e1670
mov dword [ebp - 4], 0x8007054f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp - 0x24]
cmp edx, 0x20
jb 0x4e1d0b
mov dword [ebp - 4], 0x8007003f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov edi, eax
mov ecx, 0x20
lea esi, [ebp - 0xd0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov esi, dword [ebp + 8]
mov dword [eax + ecx*4], esi
mov eax, dword [ebp + 0x14]
cmp edx, dword [eax]
jbe 0x4e1d31
mov dword [eax], edx
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x170]
call fcn.004e07e0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20