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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d8fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x68]
lea edx, [ecx + 1]
mov dword [eax], edx
xor edx, edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
cmp ecx, edx
je 0x4e373f
mov cl, 1
jmp 0x4e3741
xor cl, cl
mov byte [esp + 0x50], cl
mov dword [esp + 0x98], edx
test cl, cl
jne 0x4e399b
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], edx
cmp dword [esi + 0x28], 0
je 0x4e3780
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
lea eax, [esp + 0x54]
jmp 0x4e37ab
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2a4]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x5c]
mov edx, dword [eax + 4]
mov ebp, dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x3c]
push edx
call eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2a0]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd0]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x84]
push edx
call eax
sub ebx, dword [eax + 4]
sub edi, dword [eax]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
call edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
cmp eax, ebp
jne 0x4e3830
cmp edx, dword [esp + 0x48]
je 0x4e3840
cmp eax, ecx
jl 0x4e3840
cmp edx, dword [esp + 0x40]
jl 0x4e3840
mov ebp, eax
mov dword [esp + 0x48], edx
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x34]
push eax
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x44]
push eax
push edx
push ecx
push ebp
push 4
mov ecx, esi
call fcn.004e2670
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
push eax
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x48]
push eax
push ecx
push edx
push edi
push 8
mov ecx, esi
call fcn.004e2670
cmp dword [esi + 0x28], 0
je 0x4e38a0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x74]
jmp 0x4e38ce
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2a4]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
lea eax, [esp + 0x7c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, ebp
jne 0x4e38db
cmp eax, edi
je 0x4e38ed
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 5
jl 0x4e3766
mov edi, dword [esi + 0x3c]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x4e3941
cmp byte [esi + 0x54], 0
je 0x4e3924
cmp dword [esi + 0x28], 0
je 0x4e3909
lea edx, [esi + 0x20]
jmp 0x4e390b
xor edx, edx
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
sub eax, edi
imul eax, dword [esi + 0x34]
push edx
mov edx, dword [ebx + 0x1f4]
push 0
push eax
call edx
jmp 0x4e3941
cmp dword [esi + 0x28], 0
je 0x4e392f
lea eax, [esi + 0x20]
jmp 0x4e3931
xor eax, eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x188]
push 1
call eax
mov edi, dword [esi + 0x40]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x4e3997
cmp byte [esi + 0x55], 0
je 0x4e3978
cmp dword [esi + 0x28], 0
je 0x4e395d
lea edx, [esi + 0x20]
jmp 0x4e395f
xor edx, edx
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
sub eax, edi
imul eax, dword [esi + 0x38]
push edx
mov edx, dword [ebx + 0x1f4]
push eax
push 0
call edx
jmp 0x4e3997
cmp dword [esi + 0x28], 0
je 0x4e3983
lea eax, [esi + 0x20]
jmp 0x4e3985
xor eax, eax
mov esi, dword [esi + 8]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x188]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x38]
dec dword [eax]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret