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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x5b8250]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
lea esi, [ebp + 8]
sub esp, 0x10
lea edi, [esp + 0x48]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c524f
mov ecx, dword [ebx + 0x4c8]
lea esi, [ebx + 0x154]
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
add esi, dword [ebx + 0x4b0]
add eax, dword [ebx + 0x4b4]
sub edx, dword [ebx + 0x4b8]
sub edi, dword [ebx + 0x4bc]
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
test ecx, ecx
je 0x4e1824
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4e1824
mov ecx, dword [ebx + 0x4c8]
mov eax, dword [ecx]
call dword [eax + 0x58]
sub dword [esp + 0x40], eax
mov ecx, dword [ebx + 0x4cc]
test ecx, ecx
je 0x4e184b
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4e184b
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub edi, eax
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x40]
sub edi, dword [esp + 0x28]
sub eax, esi
mov ecx, dword [ebx + 0x4cc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x4e1886
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4e1886
mov ecx, dword [ebx + 0x4cc]
call fcn.004db745
add dword [esp + 0x34], eax
xor eax, eax
lea ecx, [ebx + 0x4a4]
mov edx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], ecx
call fcn.004bf132
test eax, eax
jle 0x4e19ec
mov ebx, edx
push edx
call fcn.004bf155
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xc8]
test al, al
je 0x4e19c2
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
test al, al
jne 0x4e19c2
push dword [esp + 0x2c]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push dword [esp + 0x38]
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x4e1907
inc dword [esp + 0x30]
jmp 0x4e193d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4e191f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x4e193d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
call dword [eax + 0x48]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
lea esi, [eax + 0xc]
mov eax, dword [edi]
call dword [eax + 0x48]
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edi
mov eax, dword [eax + 4]
add eax, dword [esp + 0x18]
add eax, dword [esi]
add dword [esp + 0x1c], eax
mov eax, dword [edi]
call dword [eax + 0x48]
xor eax, eax
mov ecx, edi
cmp dword [esp + 0x10], eax
cmovg eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4e199b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jle 0x4e19b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp ebx, ecx
cmovg ecx, ebx
inc dword [esp + 0x20]
mov ebx, ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
inc edx
mov dword [esp + 0x1c], edx
call fcn.004bf132
cmp edx, eax
jl 0x4e18b7
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x4c0]
dec ecx
imul eax, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [ebx + 0x4f4]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x4e1a99
lea ecx, [eax + 0x4f4]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4e1a95
lea ecx, [eax + 0x4a0]
mov edx, dword [ecx]
call dword [edx + 0xc]
test eax, eax
jle 0x4e1a95
push edi
push dword [esp + 0x50]
lea ecx, [esp + 0x18]
call fcn.004bedb3
mov ecx, dword [esp + 0x1c]
push dword [eax + 4]
mov edx, dword [ecx]
push dword [eax]
lea eax, [esp + 0x94]
push eax
call dword [edx + 0x114]
cmp dword [eax], 0
jge 0x4e1a6b
and dword [esp + 0x24], 0
jmp 0x4e1a95
push edi
push dword [esp + 0x50]
lea ecx, [esp + 0x60]
call fcn.004bedb3
mov ecx, dword [esp + 0x1c]
push dword [eax + 4]
mov edx, dword [ecx]
push dword [eax]
lea eax, [esp + 0x68]
push eax
call dword [edx + 0x114]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x18]
and dword [esp + 0x20], 0
and dword [esp + 0x58], 0
cmp dword [esp + 0x30], 0
jle 0x4e1abe
mov eax, edi
sub eax, ecx
xor ecx, ecx
cdq
idiv dword [esp + 0x30]
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [ebx + 0x4c8]
test ecx, ecx
je 0x4e1ae3
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4e1ae3
mov ecx, dword [ebx + 0x4c8]
call fcn.004db791
sub dword [esp + 0x28], eax
mov ecx, dword [ebx + 0x4cc]
mov dword [esp + 0x50], esi
test ecx, ecx
je 0x4e1b10
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4e1b10
mov ecx, dword [ebx + 0x4cc]
call fcn.004db791
mov edi, esi
sub edi, eax
mov dword [esp + 0x50], edi
and dword [esp + 0x60], 0
lea ecx, [ebx + 0x4a4]
xor edx, edx
mov dword [esp + 0x1c], edx
call fcn.004bf132
test eax, eax
jle 0x4e1d48
push edx
call fcn.004bf155
mov edi, eax
mov ecx, edi
mov dword [esp + 0x8c], edi
mov edx, dword [edi]
call dword [edx + 0xc8]
test al, al
je 0x4e1d28
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xf4]
test al, al
je 0x4e1b70
mov eax, dword [ebx]
mov ecx, ebx
push dword [esp + 0x1c]
call dword [eax + 0x1a8]
jmp 0x4e1d28
mov eax, dword [edi]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
sub esi, dword [esp + 0x70]
mov eax, dword [edi]
push esi
push dword [esp + 0x38]
mov dword [esp + 0x34], esi
push ecx
mov ecx, edi
call dword [eax + 0x114]
cmp dword [esp + 0x14], 0
jne 0x4e1c06
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
inc ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x30]
jne 0x4e1bce
mov eax, esi
sub eax, dword [esp + 0x78]
sub eax, dword [esp + 0x18]
push 0
pop ecx
cmovs eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4e1be6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
cmp dword [esp + 0x14], eax
jle 0x4e1c44
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov dword [esp + 0x14], eax
jmp 0x4e1c44
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
cmp dword [esp + 0x14], eax
jge 0x4e1c1e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jle 0x4e1c40
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov ecx, eax
mov dword [esp + 0x14], ecx
sub dword [esp + 0x18], ecx
mov eax, dword [esp + 0x34]
mov ecx, edi
sub eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
cmp dword [esp + 0x24], eax
cmovg eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
call dword [eax + 0x68]
cmp dword [esp + 0x10], eax
jge 0x4e1c75
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
cmp dword [esp + 0x10], eax
jle 0x4e1c8f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov dword [esp + 0x10], eax
jmp 0x4e1c93
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x6c]
lea esi, [esp + 0x7c]
add eax, dword [esp + 0x50]
sub esp, 0x10
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x7c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x24]
add eax, dword [esp + 0x80]
add eax, dword [esp + 0x38]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x80]
mov dword [esp + 0x98], eax
mov eax, dword [edi]
mov edi, esp
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x4c0]
lea eax, [edx + ecx]
add eax, dword [esp + 0x70]
add eax, esi
add dword [esp + 0x28], eax
lea eax, [edx + ecx]
add eax, dword [esp + 0x70]
add dword [esp + 0x20], eax
lea eax, [edx + ecx]
add eax, esi
sub dword [esp + 0x2c], eax
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + 0x4a4]
inc edx
mov dword [esp + 0x1c], edx
call fcn.004bf132
cmp edx, eax
jl 0x4e1b2e
mov esi, dword [esp + 0x54]
mov eax, dword [ebx + 0x4c0]
imul eax, dword [esp + 0x68]
mov ecx, dword [ebx + 0x4cc]
mov edi, dword [esp + 0x24]
add dword [esp + 0x20], eax
test ecx, ecx
je 0x4e1e05
mov eax, dword [ecx]
call dword [eax + 0xc8]
cmp edi, dword [esp + 0x4c]
jle 0x4e1dc9
mov ecx, dword [ebx + 0x4cc]
test al, al
je 0x4e1d8f
sub esi, dword [esp + 0x40]
add esi, edi
push esi
call fcn.004db74c
jmp 0x4e1e05
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
sub esi, dword [esp + 0x40]
mov ecx, dword [ebx + 0x4cc]
add esi, edi
push esi
call fcn.004db74c
mov ecx, dword [ebx + 0x4cc]
push 0
call fcn.004db798
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
sub dword [esp + 0x44], eax
jmp 0x4e1e05
test al, al
je 0x4e1e05
mov ecx, dword [ebx + 0x4cc]
xor esi, esi
push esi
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0x4cc]
push esi
call fcn.004db74c
mov ecx, dword [ebx + 0x4cc]
push esi
call fcn.004db798
mov ecx, dword [ebx + 0x4cc]
mov eax, dword [ecx]
call dword [eax + 0x60]
add dword [esp + 0x44], eax
push dword [esp + 0x20]
mov eax, dword [ebx]
lea esi, [esp + 0x3c]
push edi
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1ac]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0x10