Function at 0x46fcb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be8b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x14
mov eax, dword [0x4f7108]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [0x4fda2c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4700d9
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda28], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fd3d
test ecx, ecx
je 0x46fd3d
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda64]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4700fd
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda60], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fd8f
test ecx, ecx
je 0x46fd8f
mov dword [ebp - 4], 1
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda24]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x470121
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda20], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fde1
test ecx, ecx
je 0x46fde1
mov dword [ebp - 4], 2
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda74]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x470145
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda70], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fe33
test ecx, ecx
je 0x46fe33
mov dword [ebp - 4], 3
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda4c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x470169
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda48], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fe85
test ecx, ecx
je 0x46fe85
mov dword [ebp - 4], 4
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda54]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x47018d
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda50], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46fed7
test ecx, ecx
je 0x46fed7
mov dword [ebp - 4], 5
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda6c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4701b1
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda68], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46ff29
test ecx, ecx
je 0x46ff29
mov dword [ebp - 4], 6
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda5c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4701d5
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda58], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46ff7b
test ecx, ecx
je 0x46ff7b
mov dword [ebp - 4], 7
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda44]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x4701f9
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda40], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x46ffcd
test ecx, ecx
je 0x46ffcd
mov dword [ebp - 4], 8
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda34]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x47021d
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda30], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x47001f
test ecx, ecx
je 0x47001f
mov dword [ebp - 4], 9
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda3c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x470241
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda38], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x470071
test ecx, ecx
je 0x470071
mov dword [ebp - 4], 0xa
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 0xffffffff
push dword [0x4fda7c]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x470265
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x24], edx
cmp byte [ebp - 0x18], 1
cmove eax, edx
mov dword [0x4fda78], eax
movzx eax, byte [ebp - 0x18]
sub eax, 0
jne 0x4700bc
test ecx, ecx
je 0x4700bc
mov dword [ebp - 4], 0xb
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e22a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fd0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fd5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fdad
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fdff
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fe51
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fea3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46fef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46ff47
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46ff99
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x46ffeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x47003d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x503418
mov dword [ebp - 0x1c], ecx
jmp 0x47008f