Function at 0x41d510
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov eax, dword [0x508e4c]
push ebx
push esi
xor eax, ebp
push edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
xor edi, edi
push 0x8c
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call fcn.0041f090
mov ecx, eax
call fcn.0041f030
test al, al
je 0x41d87b
push 0xffffffffffffffff
push edi
lea edx, [esi + 0xc4]
mov ebx, 7
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
call fcn.004056b0
push 0x4c7c88
mov dword [esp + 0x68], edi
call fcn.004a94d1
add esp, 4
push eax
push 0x4c7c88
lea ecx, [esp + 0x40]
call fcn.00405500
lea ecx, [esp + 0xc]
call fcn.00448340
push 0x4c6470
mov byte [esp + 0x68], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004a94d1
add esp, 4
push eax
push 0x4c6470
lea ecx, [esp + 0x24]
call fcn.004057c0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call fcn.00448440
mov bl, al
mov eax, dword [esp + 0x34]
neg bl
sbb bl, bl
mov edi, 8
inc bl
cmp eax, edi
mov byte [esp + 0x64], 1
jb 0x41d626
mov edx, dword [esp + 0x20]
push edx
call fcn.004a8222
add esp, 4
test bl, bl
je 0x41d630
lea ecx, [esp + 0xc]
jmp 0x41d64d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004483c0
cmp eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
je 0x41d671
mov byte [esp + 0x64], 0
call fcn.00448350
cmp dword [esp + 0x50], edi
jb 0x41d66a
mov eax, dword [esp + 0x3c]
push eax
call fcn.004a8222
add esp, 4
xor al, al
jmp 0x41d8a7
call fcn.00448350
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x76c]
call fcn.0040e960
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x41d694
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [esi + 0x6c], edi
je 0x41d864
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c7c7c
push edi
call ebx
test eax, eax
mov dword [esi], eax
je 0x41d864
push 0x4c7c6c
push edi
call ebx
test eax, eax
mov dword [esi + 4], eax
je 0x41d864
push 0x4c7c5c
push edi
call ebx
test eax, eax
mov dword [esi + 8], eax
je 0x41d864
push 0x4c7c48
push edi
call ebx
test eax, eax
mov dword [esi + 0xc], eax
je 0x41d864
push 0x4c7c34
push edi
call ebx
test eax, eax
mov dword [esi + 0x10], eax
je 0x41d864
push 0x4c7c20
push edi
call ebx
test eax, eax
mov dword [esi + 0x14], eax
je 0x41d864
push 0x4c7c0c
push edi
call ebx
test eax, eax
mov dword [esi + 0x18], eax
je 0x41d864
push 0x4c7bfc
push edi
call ebx
test eax, eax
mov dword [esi + 0x1c], eax
je 0x41d864
push 0x4c7bec
push edi
call ebx
test eax, eax
mov dword [esi + 0x20], eax
je 0x41d864
push 0x4c7bd8
push edi
call ebx
test eax, eax
mov dword [esi + 0x24], eax
je 0x41d864
push 0x4c7bc8
push edi
call ebx
test eax, eax
mov dword [esi + 0x28], eax
je 0x41d864
push 0x4c7bb8
push edi
call ebx
test eax, eax
mov dword [esi + 0x2c], eax
je 0x41d864
push 0x4c7ba4
push edi
call ebx
test eax, eax
mov dword [esi + 0x30], eax
je 0x41d864
push 0x4c7b94
push edi
call ebx
test eax, eax
mov dword [esi + 0x34], eax
je 0x41d864
push 0x4c7b80
push edi
call ebx
test eax, eax
mov dword [esi + 0x38], eax
je 0x41d864
push 0x4c7b70
push edi
call ebx
test eax, eax
mov dword [esi + 0x3c], eax
je 0x41d864
push 0x4c7b60
push edi
call ebx
test eax, eax
mov dword [esi + 0x40], eax
je 0x41d864
push 0x4c7b50
push edi
call ebx
test eax, eax
mov dword [esi + 0x44], eax
je 0x41d864
push 0x4c7b40
push edi
call ebx
test eax, eax
mov dword [esi + 0x48], eax
je 0x41d864
push 0x4c7b34
push edi
call ebx
test eax, eax
mov dword [esi + 0x4c], eax
je 0x41d864
push 0x4c7b20
push edi
call ebx
test eax, eax
mov dword [esi + 0x50], eax
je 0x41d864
push 0x4c7b10
push edi
call ebx
test eax, eax
mov dword [esi + 0x54], eax
je 0x41d864
push 0x4c7af8
push edi
call ebx
test eax, eax
mov dword [esi + 0x58], eax
je 0x41d864
push 0x4c7ae4
push edi
call ebx
test eax, eax
mov dword [esi + 0x5c], eax
je 0x41d864
push 0x4c7acc
push edi
call ebx
test eax, eax
mov dword [esi + 0x60], eax
jne 0x41d87f
mov byte [esp + 0x64], 0
lea ecx, [esp + 0xc]
call fcn.00448350
lea ecx, [esp + 0x38]
call fcn.00405360
xor al, al
jmp 0x41d8a7
push 0x4c7ac4
push edi
call ebx
test eax, eax
mov dword [esi + 0x64], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 0
je 0x41d86d
call fcn.00448350
lea ecx, [esp + 0x38]
call fcn.00405360
mov al, 1
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8ea5
mov esp, ebp
pop ebp
ret