Function at 0x4e7640
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573ba0
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0xfca848]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1029c3c], 0
je 0x4e767b
mov eax, 1
jmp 0x4e7b53
push 0xf90320
call fcn.005308cf
add esp, 4
push eax
lea ecx, [ebp - 0x20]
call fcn.00426820
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 0x4e76d8
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.0040d670
mov eax, dword [ebp - 0x38]
jmp 0x4e7b53
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
call fcn.00512b9f
push eax
lea ecx, [ebp - 0x18]
call fcn.0043d880
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0
mov edx, 1
test edx, edx
je 0x4e77d2
lea eax, [ebp - 0x2c]
push eax
push 0x581e3c
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0041d440
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.004024a0
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.0040d670
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4e7761
jmp 0x4e77d2
push 0xf91b78
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00430a80
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.00432730
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.0040d670
cmp dword [ebp - 0x1c], 0
je 0x4e77cd
jmp 0x4e77d2
jmp 0x4e7703
cmp dword [ebp - 0x1c], 0
jne 0x4e782c
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.0040d670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f93c0
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.0040d670
mov eax, dword [ebp - 0x44]
jmp 0x4e7b53
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 0x4e785f
mov dword [ebp - 0x10], 0
jmp 0x4e7873
push 0
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.004325e0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4e78cd
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.0040d670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f93c0
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.0040d670
mov eax, dword [ebp - 0x48]
jmp 0x4e7b53
call fcn.00512b9f
push eax
lea ecx, [ebp - 0x14]
call fcn.0043d880
mov byte [ebp - 4], 5
mov edx, 1
test edx, edx
je 0x4e7972
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x4e7900
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0
jne 0x4e7900
jmp 0x4e7972
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004325e0
mov dword [ebp - 0x34], eax
push 6
push 0xf91b70
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0054a90c
add esp, 0xc
test eax, eax
jne 0x4e7964
cmp dword [ebp - 0x34], 0
jne 0x4e793d
mov dword [ebp - 0xc4], 0
jmp 0x4e794f
mov edx, dword [ebp - 0x34]
push edx
call fcn.00529dc0
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.004312a0
jmp 0x4e7972
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov dword [ebp - 0x10], edx
jmp 0x4e78df
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 0x4e7a00
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.0040d670
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.0040d670
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004f93c0
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.0040d670
mov eax, dword [ebp - 0x4c]
jmp 0x4e7b53
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 [0x1029c3c], eax
cmp dword [0x1029c3c], 0
jne 0x4e7a77
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004274a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004274a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x4e7a60
mov eax, dword [ebp - 0x28]
push eax
call fcn.0052d44f
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004274a0
mov eax, dword [ebp - 0x50]
jmp 0x4e7b53
push 0xf91b60
mov ecx, dword [0x1029c3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c38], eax
push 0xf91b48
mov edx, dword [0x1029c3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c34], eax
push 0xf91b34
mov eax, dword [0x1029c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c30], eax
push 0xf91b28
mov ecx, dword [0x1029c3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c2c], eax
push 0xf91b18
mov edx, dword [0x1029c3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c28], eax
push 0xf91afc
mov eax, dword [0x1029c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1029c24], eax
call dword [0x1029c38]
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004274a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004274a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x4e7b41
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0052d44f
add esp, 4
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004274a0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret