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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
test eax, eax
je 0x4e50ae
mov edx, 0x4e54b0
call fcn.004a2938
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4e50b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov edx, 0x4e54c4
call fcn.004a2938
mov ebx, eax
jmp 0x4e50b1
or ebx, 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
je 0x4e5130
cmp ebx, 0xffffffff
je 0x4e5130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
cmp byte [eax + 0x24], 0
je 0x4e5130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00410de8
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1f8], esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov ebx, dword [eax + 0xc]
mov edx, dword [esi + 0x74]
mov eax, ebx
call fcn.0041ac2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov dl, byte [eax + 0x78]
mov eax, ebx
call fcn.0041ad10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov edx, dword [eax + 0x70]
mov eax, ebx
call fcn.0041ac6c
jmp 0x4e517e
cmp ebx, 0xffffffff
je 0x4e5156
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x274]
mov eax, dword [eax + 0xa0]
mov edx, ebx
call fcn.00410de8
mov edx, dword [ebp - 4]
mov dword [edx + 0x1f8], eax
jmp 0x4e5161
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1f8], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x270]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x270]
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x4e51ad
cmp dword [eax + 0x28], 0
je 0x4e51ad
mov eax, dword [eax + 0x28]
mov dl, byte [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 0xc]
call fcn.0041ad74
jmp 0x4e51c8
mov eax, dword [ebx + 0x2c]
call fcn.0041ad6c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 0xc]
call fcn.0041ad74
mov eax, edi
call fcn.00441c4c
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x254], eax
mov eax, edi
call fcn.004416e0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
jge 0x4e5264
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 8]
dec esi
sub esi, ebx
jl 0x4e5264
inc esi
mov edx, ebx
mov eax, edi
call fcn.004416f0
cmp byte [eax + 0x32], 0
je 0x4e5260
mov edx, ebx
mov eax, edi
call fcn.004416f0
call fcn.004416c8
test eax, eax
je 0x4e522d
mov edx, ebx
mov eax, edi
call fcn.004416f0
call fcn.004416c8
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, ebx
mov eax, edi
call fcn.004416f0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4e1744]
call fcn.004e1c3c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.00410c8c
inc ebx
dec esi
jne 0x4e51f9
mov eax, edi
call fcn.004416e0
mov ebx, dword [ebp + 8]
sub ebx, eax
test ebx, ebx
jge 0x4e5276
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004416e0
mov dword [ebp - 8], eax
cmp ebx, dword [ebp - 8]
jge 0x4e52fe
mov esi, dword [ebp - 8]
dec esi
sub esi, ebx
jl 0x4e52fe
inc esi
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004416f0
cmp byte [eax + 0x32], 0
je 0x4e52fa
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004416f0
call fcn.004416c8
test eax, eax
je 0x4e52c6
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004416f0
call fcn.004416c8
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004416f0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4e1744]
call fcn.004e1c3c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x288]
call fcn.00410c8c
inc ebx
dec esi
jne 0x4e528f
push ebp
call fcn.004e4fd8
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x278], 0
je 0x4e5447
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x278]
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x20c], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x210], ecx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, ebx
sub eax, dword [edi + 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
pop edx
sub eax, edx
lea ecx, [ebp - 0x14]
mov edx, dword [edi + 0x18]
call fcn.00410168
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x214], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x218], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, esi
sub eax, dword [edi + 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
sub edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [edi + 0x1c]
call fcn.00410168
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x21c], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x220], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
mov eax, esi
sub eax, dword [edi + 0x28]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
sub edx, eax
mov eax, ebx
sub eax, dword [edi + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
pop ecx
sub eax, ecx
lea ecx, [ebp - 0x14]
call fcn.00410168
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x224], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x228], edx
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x278]
sub esi, dword [edi + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
sub eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
sub ebx, dword [edi + 0x34]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
sub ecx, ebx
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 0x2c]
call fcn.00410180
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x24]
lea edi, [eax + 0x22c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
jmp 0x4e5480
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
sub eax, 3
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
sub ecx, 3
mov edx, 3
mov eax, 3
call fcn.00410180
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x24]
lea edi, [eax + 0x22c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.004e559c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x260], 0
je 0x4e549c
mov eax, dword [ebp - 4]
call fcn.004e42c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4