Function at 0x41d0c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c3a28
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.0041ec40
mov ecx, eax
call fcn.0041ebe0
test al, al
je 0x41d42b
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.00405530
push 0x4c7c80
mov dword [esp + 0x68], edi
call fcn.004a9141
add esp, 4
push eax
push 0x4c7c80
lea ecx, [esp + 0x40]
call fcn.004053b0
lea ecx, [esp + 0xc]
call fcn.00446020
push 0x4c6458
mov byte [esp + 0x68], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.004a9141
add esp, 4
push eax
push 0x4c6458
lea ecx, [esp + 0x24]
call fcn.00405640
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call fcn.00446120
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 0x41d1d6
mov edx, dword [esp + 0x20]
push edx
call fcn.004a7e92
add esp, 4
test bl, bl
je 0x41d1e0
lea ecx, [esp + 0xc]
jmp 0x41d1fd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.004460a0
cmp eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
je 0x41d221
mov byte [esp + 0x64], 0
call fcn.00446030
cmp dword [esp + 0x50], edi
jb 0x41d21a
mov eax, dword [esp + 0x3c]
push eax
call fcn.004a7e92
add esp, 4
xor al, al
jmp 0x41d457
call fcn.00446030
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 0x76c]
call fcn.0040dc30
cmp dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
jae 0x41d244
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 0x41d414
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x4c7c74
push edi
call ebx
test eax, eax
mov dword [esi], eax
je 0x41d414
push 0x4c7c64
push edi
call ebx
test eax, eax
mov dword [esi + 4], eax
je 0x41d414
push 0x4c7c54
push edi
call ebx
test eax, eax
mov dword [esi + 8], eax
je 0x41d414
push 0x4c7c40
push edi
call ebx
test eax, eax
mov dword [esi + 0xc], eax
je 0x41d414
push 0x4c7c2c
push edi
call ebx
test eax, eax
mov dword [esi + 0x10], eax
je 0x41d414
push 0x4c7c18
push edi
call ebx
test eax, eax
mov dword [esi + 0x14], eax
je 0x41d414
push 0x4c7c04
push edi
call ebx
test eax, eax
mov dword [esi + 0x18], eax
je 0x41d414
push 0x4c7bf4
push edi
call ebx
test eax, eax
mov dword [esi + 0x1c], eax
je 0x41d414
push 0x4c7be4
push edi
call ebx
test eax, eax
mov dword [esi + 0x20], eax
je 0x41d414
push 0x4c7bd0
push edi
call ebx
test eax, eax
mov dword [esi + 0x24], eax
je 0x41d414
push 0x4c7bc0
push edi
call ebx
test eax, eax
mov dword [esi + 0x28], eax
je 0x41d414
push 0x4c7bb0
push edi
call ebx
test eax, eax
mov dword [esi + 0x2c], eax
je 0x41d414
push 0x4c7b9c
push edi
call ebx
test eax, eax
mov dword [esi + 0x30], eax
je 0x41d414
push 0x4c7b8c
push edi
call ebx
test eax, eax
mov dword [esi + 0x34], eax
je 0x41d414
push 0x4c7b78
push edi
call ebx
test eax, eax
mov dword [esi + 0x38], eax
je 0x41d414
push 0x4c7b68
push edi
call ebx
test eax, eax
mov dword [esi + 0x3c], eax
je 0x41d414
push 0x4c7b58
push edi
call ebx
test eax, eax
mov dword [esi + 0x40], eax
je 0x41d414
push 0x4c7b48
push edi
call ebx
test eax, eax
mov dword [esi + 0x44], eax
je 0x41d414
push 0x4c7b38
push edi
call ebx
test eax, eax
mov dword [esi + 0x48], eax
je 0x41d414
push 0x4c7b2c
push edi
call ebx
test eax, eax
mov dword [esi + 0x4c], eax
je 0x41d414
push 0x4c7b18
push edi
call ebx
test eax, eax
mov dword [esi + 0x50], eax
je 0x41d414
push 0x4c7b08
push edi
call ebx
test eax, eax
mov dword [esi + 0x54], eax
je 0x41d414
push 0x4c7af0
push edi
call ebx
test eax, eax
mov dword [esi + 0x58], eax
je 0x41d414
push 0x4c7adc
push edi
call ebx
test eax, eax
mov dword [esi + 0x5c], eax
je 0x41d414
push 0x4c7ac4
push edi
call ebx
test eax, eax
mov dword [esi + 0x60], eax
jne 0x41d42f
mov byte [esp + 0x64], 0
lea ecx, [esp + 0xc]
call fcn.00446030
lea ecx, [esp + 0x38]
call fcn.00445040
xor al, al
jmp 0x41d457
push 0x4c7abc
push edi
call ebx
test eax, eax
mov dword [esi + 0x64], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 0
je 0x41d41d
call fcn.00446030
lea ecx, [esp + 0x38]
call fcn.00445040
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.004a8b15
mov esp, ebp
pop ebp
ret