Function at 0x421280
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69ab68
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x284], esi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x280], eax
mov dword [esi], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [ebp - 4], 1
mov eax, dword [edi]
test eax, eax
je 0x4212f3
inc dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x421309
mov eax, dword [ecx]
test eax, eax
jne 0x421306
call fcn.004df580
jmp 0x421309
dec eax
mov dword [ecx], eax
mov eax, dword [edi]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0xc], 0
lea ebx, [esi + 0x10]
mov dword [ebx], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
push 8
call fcn.006341f8
add esp, 4
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x421376
push edi
mov ecx, eax
call fcn.00425da0
jmp 0x421378
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 8], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x421389
lea eax, [ecx + 4]
lea ecx, [ebp - 0x278]
push ecx
mov ecx, eax
call fcn.00406a60
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4213a3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x264], 8
jb 0x4213c8
push dword [ebp - 0x278]
call fcn.00633f98
add esp, 4
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], 0
xor eax, eax
mov word [ebp - 0x278], ax
cmp dword [esi + 4], eax
jne 0x42140e
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4213f7
push ecx
call fcn.004215e0
mov ecx, dword [0x7891f0]
mov eax, dword [0x7891f4]
test eax, eax
cmovne ecx, eax
mov edx, edi
call fcn.00452a00
mov byte [ebp - 4], 4
push 0x6e2ce4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
push 0x6e2cec
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
push str.GetModuleInstance
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
push str.GetModuleThreadModel
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x20], eax
push str.ShowConfigWindow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x24], eax
push str.CanUnloadNow
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
cmp dword [esi + 0x14], 0
je 0x421489
call fcn.00420fd0
push eax
mov eax, dword [esi + 0x14]
call eax
push 0x6e2d48
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4214b0
mov byte [esi + 0xc], 1
mov ecx, dword [esi + 4]
call fcn.00570cd0
mov byte [ebp - 4], 1
jmp 0x421592
push 0x6e2d54
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4214d7
mov byte [esi + 0xd], 1
mov ecx, dword [esi + 4]
call fcn.00427530
mov byte [ebp - 4], 1
jmp 0x421592
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x42158b
mov ecx, dword [0x77a6c8]
call fcn.00440210
push eax
push 0
push dword [ebp - 0x280]
push ebx
call dword [ebp - 0x27c]
test eax, eax
js 0x4213f7
cmp dword [ebx], 0
je 0x4213f7
xor edi, edi
mov dword [ebp - 0x288], edi
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0xff
lea edx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x60]
push edx
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x42158b
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x280]
call fcn.00401430
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, eax
call fcn.004db370
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x2c]
call fcn.0040fe50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.00401470
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.00401470
inc edi
jmp 0x421516
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret 8