Function at 0x4e6828
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4e6f17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5d2f10]
cmp dword [eax], 0x20
jae 0x4e6860
mov eax, 0x4e6f2c
call fcn.0045934c
jmp 0x4e6ee4
push 0x4e6f48
mov eax, dword [0x5d2f10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x5d3170]
mov dword [eax], esi
mov eax, dword [0x5d3170]
test esi, esi
je 0x4e688d
mov eax, dword [0x5d3170]
mov eax, dword [eax]
call eax
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x54c]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
cmp dword [ebp - 4], 0
je 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x550]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
call fcn.00408fb8
cmp dword [ebp - 0xc], 0
je 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x558]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
call fcn.00408fb8
cmp dword [ebp - 0x10], 0
je 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x554]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x14]
call fcn.00408fb8
cmp dword [ebp - 0x14], 0
je 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x55c]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x18]
call fcn.00408fb8
cmp dword [ebp - 0x18], 0
je 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x560]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x1c]
call fcn.00408fb8
cmp dword [ebp - 0x1c], 0
je 0x4e6ee4
push 0x4e6f48
mov eax, dword [0x5d2f10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x5d3170]
mov dword [eax], esi
mov eax, dword [0x5d3170]
test esi, esi
je 0x4e698c
mov eax, dword [0x5d3170]
mov eax, dword [eax]
call eax
push 0x4e6f58
mov eax, dword [0x5d2f10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x5d2c7c]
mov dword [eax], esi
mov eax, dword [0x5d2c7c]
test esi, esi
je 0x4e6d12
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2ec]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e6f6c
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2f0]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e6f88
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3c0]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e6fa4
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x54c]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e6fb4
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x550]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e6fd0
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x554]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
call fcn.00408fb8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.00408d64
mov eax, dword [ebp - 4]
mov edx, 0x4e6ff0
call fcn.00404084
jne 0x4e6b0f
mov edx, 0x4e7004
mov eax, dword [ebx + 0x554]
call fcn.00434264
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x554]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
call fcn.00408fb8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 4]
call fcn.00408d64
mov eax, dword [ebp - 4]
mov edx, 0x4e7018
call fcn.00404084
jne 0x4e6b52
mov edx, 0x4e7034
mov eax, dword [ebx + 0x554]
call fcn.00434264
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x558]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e7050
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x554]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e7074
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x370]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e7094
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x374]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e70b4
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x55c]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e70d0
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x560]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e7100
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x31c]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e712c
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
push 1
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x320]
call fcn.00434234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408fb8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x20]
call fcn.004044bc
mov eax, dword [ebp - 0x20]
push eax
push 0x4e7150
mov eax, dword [0x5d2c7c]
mov eax, dword [eax]
call eax
mov eax, dword [ebx + 0x42c]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov eax, dword [ebx + 0x434]
mov edx, dword [eax]
call dword [edx + 0xd0]
push 0x4e7174
mov eax, dword [0x5d2f10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x5d2bfc]
mov dword [eax], esi
mov eax, dword [0x5d2bfc]
test esi, esi
je 0x4e6ee4
mov eax, dword [ebx + 0x498]
mov edx, dword [eax]
call dword [edx + 0xb8]
cmp al, 1
jne 0x4e6d74
mov dword [ebx + 0x5bc], 1
jmp 0x4e6d7c
xor eax, eax
mov dword [ebx + 0x5bc], eax
mov eax, dword [ebx + 0x5bc]
push eax
push 0xe
mov eax, dword [0x5d2bfc]
mov eax, dword [eax]
call eax
cmp al, 1
jne 0x4e6ed4
push 0x4e717c
mov eax, dword [0x5d2f10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov esi, eax
mov eax, dword [0x5d3034]
mov dword [eax], esi
mov eax, dword [0x5d3034]
test esi, esi
je 0x4e6ee4
push 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x5d3034]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00403f3c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x42c]
call fcn.00434264
mov eax, dword [ebx + 0x5b4]
mov edx, dword [eax]
call dword [edx + 0xb8]
cmp al, 1
jne 0x4e6e1a
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x42c]
call fcn.00434234
mov ecx, dword [ebp - 8]
mov eax, dword [0x5d298c]
mov eax, dword [eax]
mov edx, 0x4e7194
call fcn.005c8cdc
push 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x5d3034]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00403f3c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x434]
call fcn.00434264
mov eax, dword [ebx + 0x5b4]
mov edx, dword [eax]
call dword [edx + 0xb8]
cmp al, 1
jne 0x4e6e76
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x434]
call fcn.00434234
mov ecx, dword [ebp - 8]
mov eax, dword [0x5d298c]
mov eax, dword [eax]
mov edx, 0x4e71b4
call fcn.005c8cdc
push 3
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x5d3034]
mov eax, dword [eax]
call eax
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00403f3c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x440]
call fcn.00434264
mov eax, dword [ebx + 0x5b4]
mov edx, dword [eax]
call dword [edx + 0xb8]
cmp al, 1
jne 0x4e6ee4
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x440]
call fcn.00434234
mov ecx, dword [ebp - 8]
mov eax, dword [0x5d298c]
mov eax, dword [eax]
mov edx, 0x4e71d4
call fcn.005c8cdc
jmp 0x4e6ee4
mov edx, 0x4e71e8
mov eax, dword [ebx + 0x4f4]
call fcn.00434264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6f1e
lea eax, [ebp - 0x20]
call fcn.004043b4
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403d1c
lea eax, [ebp - 8]
call fcn.00403cf8
lea eax, [ebp - 4]
call fcn.00403cf8
ret