Function at 0x54c6d0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6236b8
push eax
mov eax, dword [0x6eccbc]
mov dword fs:[0], esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x54c721
cmp dword [0x6eccc0], ebx
je 0x54c721
cmp dword [0x6eccc4], ebx
je 0x54c721
cmp dword [0x6eccc8], ebx
je 0x54c721
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [0x6eccb8]
push esi
cmp eax, ebx
jne 0x54c878
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ecx
mov word [esp + 0xc], bx
mov eax, dword [0x6ec738]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jne 0x54c750
mov eax, 0x6ec73c
mov edx, 0x6da394
test edx, edx
je 0x54c844
cmp eax, ebx
je 0x54c844
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.004023e0
lea ecx, [esp + 8]
mov byte [esp + 0x34], 1
call fcn.00401070
push ebx
push 0x6da394
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov word [esp + 0x2c], bx
call fcn.00402d00
mov eax, dword [esp + 0x14]
mov byte [esp + 0x34], 2
cmp eax, ebx
jne 0x54c7b7
lea eax, [esp + 0x18]
mov esi, dword [esp + 0x28]
push ebp
push edi
push eax
call fcn.005de123
lea ebp, [eax + esi + 2]
lea esi, [ebp + ebp]
push esi
call fcn.005f6c5c
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x54c823
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x54c7fc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x18]
push ebp
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 1
call fcn.00401070
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], bl
call fcn.00401070
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
cmp ecx, ebx
mov eax, ecx
jne 0x54c84e
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 8]
mov dword [0x6eccb8], eax
mov dword [esp + 0x34], 0xffffffff
call fcn.00401070
mov eax, dword [0x6eccb8]
cmp eax, ebx
je 0x54c90e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6da384
push eax
call esi
mov edx, dword [0x6eccb8]
push 0x6da374
push edx
mov dword [0x6eccbc], eax
call esi
mov dword [0x6eccc0], eax
mov eax, dword [0x6eccb8]
push 0x6da364
push eax
call esi
mov ecx, dword [0x6eccb8]
push 0x6da354
push ecx
mov dword [0x6eccc4], eax
call esi
mov edx, dword [0x6eccb8]
push 0x6da340
push edx
mov dword [0x6eccc8], eax
call esi
mov dword [0x6ecccc], eax
mov eax, dword [0x6eccb8]
push 0x6da32c
push eax
call esi
mov ecx, dword [0x6eccb8]
push 0x6da318
push ecx
mov dword [0x6eccd0], eax
call esi
mov edx, dword [0x6eccb8]
push 0x6da304
push edx
mov dword [0x6eccd4], eax
call esi
mov dword [0x6eccd8], eax
mov eax, dword [0x6eccbc]
pop esi
cmp eax, ebx
je 0x54c945
cmp dword [0x6eccc0], ebx
je 0x54c945
cmp dword [0x6eccc4], ebx
je 0x54c945
cmp dword [0x6eccc8], ebx
je 0x54c945
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret