Function at 0x4e6620
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573570
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0xfca838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x10293cc], 0
je 0x4e665b
mov eax, 1
jmp 0x4e6b33
push 0xf90298
call fcn.0053038f
add esp, 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00426f90
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x60], ecx
xor edx, edx
cmp dword [ebp - 0x60], 0
sete dl
movzx eax, dl
test eax, eax
je 0x4e66b8
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
call fcn.0040d590
mov eax, dword [ebp - 0x38]
jmp 0x4e6b33
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
call fcn.0051268a
push eax
lea ecx, [ebp - 0x18]
call fcn.0043c040
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0
mov edx, 1
test edx, edx
je 0x4e67b2
lea eax, [ebp - 0x2c]
push eax
push 0x581df4
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041d530
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
sub ecx, 0x10
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0040d590
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4e6741
jmp 0x4e67b2
push 0xf91ad8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042f1f0
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov dword [ebp - 0x74], eax
push 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.00430ea0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
sub ecx, 0x10
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 0x98]
call fcn.0040d590
cmp dword [ebp - 0x1c], 0
je 0x4e67ad
jmp 0x4e67b2
jmp 0x4e66e3
cmp dword [ebp - 0x1c], 0
jne 0x4e680c
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
sub edx, 0x10
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0x9c]
call fcn.0040d590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f8c50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.0040d590
mov eax, dword [ebp - 0x44]
jmp 0x4e6b33
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xa8], ecx
cmp dword [ebp - 0xa8], 0
jne 0x4e683f
mov dword [ebp - 0x10], 0
jmp 0x4e6853
push 0
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00430d50
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e68ad
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
sub eax, 0x10
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call fcn.0040d590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f8c50
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
call fcn.0040d590
mov eax, dword [ebp - 0x48]
jmp 0x4e6b33
call fcn.0051268a
push eax
lea ecx, [ebp - 0x14]
call fcn.0043c040
mov byte [ebp - 4], 5
mov edx, 1
test edx, edx
je 0x4e6952
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x4e68e0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
jne 0x4e68e0
jmp 0x4e6952
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00430d50
mov dword [ebp - 0x34], eax
push 6
push 0xf91ad0
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0054a3cc
add esp, 0xc
test eax, eax
jne 0x4e6944
cmp dword [ebp - 0x34], 0
jne 0x4e691d
mov dword [ebp - 0xc4], 0
jmp 0x4e692f
mov edx, dword [ebp - 0x34]
push edx
call fcn.00529880
add esp, 4
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0042fa10
jmp 0x4e6952
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x4e68bf
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xc8], ecx
xor edx, edx
cmp dword [ebp - 0xc8], 0
sete dl
movzx eax, dl
test eax, eax
je 0x4e69e0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
sub ecx, 0x10
mov dword [ebp - 0xcc], ecx
mov ecx, dword [ebp - 0xcc]
call fcn.0040d590
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x18]
sub edx, 0x10
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp - 0xd0]
call fcn.0040d590
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f8c50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
call fcn.0040d590
mov eax, dword [ebp - 0x4c]
jmp 0x4e6b33
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10293cc], eax
cmp dword [0x10293cc], 0
jne 0x4e6a57
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004279e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004279e0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x4e6a40
mov eax, dword [ebp - 0x28]
push eax
call fcn.0052cf11
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004279e0
mov eax, dword [ebp - 0x50]
jmp 0x4e6b33
push 0xf91ac0
mov ecx, dword [0x10293cc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293c8], eax
push 0xf91aa8
mov edx, dword [0x10293cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293c4], eax
push 0xf91a94
mov eax, dword [0x10293cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293c0], eax
push 0xf91a88
mov ecx, dword [0x10293cc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293bc], eax
push 0xf91a78
mov edx, dword [0x10293cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293b8], eax
push 0xf91a5c
mov eax, dword [0x10293cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10293b4], eax
call dword [0x10293c8]
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004279e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004279e0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x4e6b21
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0052cf11
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004279e0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret