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

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e91b5
sub esp, 0x70
mov eax, dword [esp + 0x74]
test byte [eax], al
mov ebx, dword [esp + 0x7c]
lea ecx, [ebx - 1]
mov edx, dword [esp + 0x80]
cmp edx, ecx
jb 0x4e91af
mov dword [esp + 0x40], ecx
mov ebp, dword [eax + 0x38]
xor esi, esi
xor edi, edi
lea esi, [0x6c4d40]
mov dword [esp + 0x44], esi
xor esi, esi
mov dword [esp + 0x24], esi
jmp 0x4e8b50
mov ecx, dword [esp + 0x3c]
lea esi, [ecx + 1]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x28]
mov ebp, ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x50], ebp
cmp esi, ecx
jge 0x4e8deb
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x78]
lea ecx, [eax + esi*8]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ecx
lea ebx, [0x5625a0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0040f8e0
mov eax, dword [esp + 0x24]
inc eax
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp edx, eax
jb 0x4e8baa
mov ebx, dword [esp + 0x44]
jmp 0x4e8beb
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x560820]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ebx, eax
mov edx, edi
mov eax, ecx
movzx ecx, byte [esp + 0x23]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
lea ebp, [ebx + eax*8 - 4]
mov esi, dword [esp + 0x30]
mov dword [ebp], esi
mov ebp, dword [0x6c4f80]
lea edi, [ebx + eax*8 - 8]
test ebp, ebp
je 0x4e8c29
mov ebp, edi
call fcn.00460f00
mov edx, dword [esp + 0x4c]
mov dword [edi], edx
mov eax, dword [ebp]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov edi, ebp
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x4c]
mov dword [edi], ebp
test cl, cl
jne 0x4e8ce5
nop
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004e4750
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
lea ebp, [0x562420]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0040fc40
mov eax, dword [esp + 0x10]
test byte [eax], al
call fcn.0040c790
mov eax, dword [esp]
mov dword [esp + 0x64], eax
lea ecx, [0x5625a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
call fcn.0040fc40
mov eax, dword [esp + 0x10]
lea ecx, [0x5625a0]
mov dword [eax], ecx
mov edx, dword [0x6c4f80]
test edx, edx
jne 0x4e8cc9
mov edx, dword [esp + 0x64]
jmp 0x4e8cda
call fcn.00460f00
mov edx, dword [esp + 0x64]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
lea eax, [0x5625a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.0040f5b0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x4e8d68
mov edx, dword [ecx + 8]
mov ebx, dword [eax + 4]
cmp edx, 0x38a195a4
jne 0x4e8d31
lea eax, [0x5625a0]
cmp ecx, eax
je 0x4e8b30
lea edx, [0x55b2a0]
jmp 0x4e8d68
cmp edx, 0x76ef0d3f
jne 0x4e8d62
lea edx, [0x55b2a0]
cmp ecx, edx
jne 0x4e8d68
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x4e91aa
mov eax, dword [ebx]
mov ebx, dword [eax + ecx*4 - 4]
lea eax, [0x5625a0]
jmp 0x4e8b30
lea edx, [0x55b2a0]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
call fcn.00409600
mov eax, dword [esp + 0xc]
lea ecx, [0x56f300]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea edx, [0x590b2b]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x27
lea ebx, [esp + 0x68]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e50d0
lea eax, [0x5625a0]
mov ebx, dword [esp + 0x50]
jmp 0x4e8b30
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x4e8e05
mov ecx, dword [esp + 0x44]
jmp 0x4e8e16
call fcn.00460f00
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov esi, dword [eax + 4]
mov dword [edi + 4], esi
mov dword [eax + 4], ecx
movzx ecx, byte [esp + 0x84]
test cl, cl
je 0x4e90c0
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebx*8 - 8]
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x2c], ecx
lea esi, [0x5625a0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0040f8e0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4e8efd
lea eax, [0x5625a0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call fcn.00449500
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call fcn.00409600
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
lea ecx, [0x5625a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xc], ebp
call fcn.0040fc40
mov eax, dword [esp + 0x10]
lea ecx, [0x55b2a0]
mov dword [eax], ecx
mov edx, dword [0x6c4f80]
test edx, edx
jne 0x4e8ee9
mov edx, dword [esp + 0x60]
jmp 0x4e8efa
call fcn.00460f00
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
lea eax, [0x5625a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.0040f5b0
mov eax, dword [esp + 0x10]
lea ecx, [0x55b2a0]
cmp dword [eax], ecx
jne 0x4e8f3e
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x4e8f4d
mov eax, 0
mov edx, 0
mov ebx, 0
jne 0x4e9047
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], edx
call fcn.0040c790
mov eax, dword [esp + 0x34]
inc eax
mov ecx, dword [esp]
mov edx, dword [esp + 0x38]
cmp edx, eax
jb 0x4e8f7a
mov ebx, dword [esp + 0x54]
jmp 0x4e8fb8
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5625a0]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x5c]
mov ebp, dword [0x6c4f80]
test ebp, ebp
je 0x4e8fd0
call fcn.00460f00
mov dword [edi], ecx
mov ebp, dword [ebx + eax*4 - 4]
mov dword [edi + 4], ebp
mov dword [ebx + eax*4 - 4], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00409600
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
lea ecx, [0x5625a0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.0040fc40
mov eax, dword [esp + 0x10]
lea ecx, [0x55b2a0]
mov dword [eax], ecx
mov ecx, dword [0x6c4f80]
test ecx, ecx
jne 0x4e902e
mov ecx, dword [esp + 0x60]
jmp 0x4e903f
call fcn.00460f00
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
jmp 0x4e90fb
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
call fcn.00409600
mov eax, dword [esp + 0xc]
lea ecx, [0x56f300]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea ecx, [0x593ded]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3c
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e50d0
jmp 0x4e90fb
call fcn.0040c790
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
lea edx, [ecx + eax*8 - 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebp, dword [esp]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
lea edx, [0x5625a0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.004e9260
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
inc edx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
lea ebx, [ebp + ebx*8 - 8]
mov ebp, dword [eax + 4]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ecx, edx
jae 0x4e9181
mov dword [esp + 0x58], esi
mov dword [esp + 0x40], ebx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x560820]
mov dword [esp + 0x10], eax
call fcn.004495c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0xc], eax
mov eax, dword [0x6c4f80]
test eax, eax
je 0x4e9172
call fcn.00460f00
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
mov ebp, ecx
mov dword [eax + 8], edx
lea eax, [ebp + edx*8 - 4]
mov dword [eax], ebx
mov eax, dword [0x6c4f80]
lea ecx, [ebp + edx*8 - 8]
test eax, eax
je 0x4e91a4
call fcn.00460f00
mov dword [edi], esi
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], esi
add esp, 0x70
ret
call fcn.00460f60
call fcn.00460fa0
nop
call fcn.0045faf0
jmp fcn.004e8ae0