Function at 0x542f90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xa0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x44f9f0
mov edx, dword fs:[0]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov ecx, edi
mov edi, edx
sub ecx, edx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0x90], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x10], 0
cmp ecx, 0x65
mov dword [esi + 0xc], ecx
jb 0x54303e
push ecx
call fcn.004dfdb0
add esp, 4
mov ebx, eax
mov dword [esi + 4], eax
test eax, eax
jne 0x543048
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xa8], eax
call fcn.00554970
lea ebx, [esi + 0x30]
mov dword [esi + 4], 0
mov ecx, dword [ebp + 0x14]
cmp edi, ecx
mov dword [esi + 0x14], ebx
je 0x54308a
mov dword [esi + 0x10], 0
cmp byte [edi + 0xb], 0
js 0x54307a
mov ecx, edi
call fcn.004c5bf0
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x54307f
mov byte [ebx], 1
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x543059
jmp 0x54308a
mov eax, dword [edi + 4]
jmp 0x543069
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
jmp 0x543070
mov dword [esi + 0xa8], 0
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c61e0
mov ecx, dword [ebp + 0x14]
test al, al
jne 0x5432d2
cmp dword [esi + 0xc], 0
je 0x5432d2
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x543262
mov al, byte [eax]
mov dword [esi + 0x18], eax
cmp byte [ebp + 0x20], 0
jne 0x54311f
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
movsx eax, byte [esi + 0x18]
mov ecx, ebx
push eax
call edi
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x14]
mov ebx, dword [esi + 0x1c]
lea edi, [ebx + 1]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0
mov edi, edx
cmp eax, ecx
je 0x5431e9
cmp byte [edi], 1
je 0x54314a
add eax, 0xc
inc edi
jmp 0x543137
mov dword [esi + 0x20], eax
mov ecx, eax
push ebx
call fcn.004c6e10
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
je 0x543162
mov ecx, dword [ebp + 0x14]
jmp 0x5431a0
mov dword [esi + 0x2c], edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
movsx eax, bl
mov ecx, dword [ebp + 0x18]
push eax
call edi
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x20]
cmp byte [esi + 0x18], bl
jne 0x5431d6
cmp byte [eax + 0xb], 0
mov ebx, dword [esi + 0x1c]
js 0x5431e4
mov ecx, eax
call fcn.004c5bf0
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov dword [esi + 0x28], edx
cmp eax, dword [esi + 0x24]
jne 0x5431ce
mov byte [edi], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x20]
jmp 0x543144
mov byte [edi], 0
dec dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
jmp 0x543144
mov eax, dword [eax + 4]
jmp 0x5431bb
mov ebx, dword [esi + 0x24]
test byte [esi + 0x28], 1
je 0x543096
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54329f
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
add eax, edx
mov edx, dword [esi + 0x24]
mov ebx, edx
cmp eax, 2
mov edi, dword [ebp + 0x10]
jb 0x543096
mov ebx, edx
cmp edi, ecx
je 0x543096
mov ebx, dword [esi + 0x14]
cmp byte [ebx], 2
jne 0x543253
cmp byte [edi + 0xb], 0
js 0x54325d
mov ecx, edi
call fcn.004c5bf0
mov edx, dword [esi + 0x24]
mov ecx, dword [ebp + 0x14]
cmp eax, edx
je 0x543253
mov byte [ebx], 0
dec dword [esi + 0x10]
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x543231
jmp 0x543298
mov eax, dword [edi + 4]
jmp 0x543249
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
jmp 0x5430e0
mov ebx, edx
jmp 0x543096
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ecx, dword [ebp + 0x14]
jmp 0x54320b
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c61e0
mov ecx, dword [ebp + 0x14]
test al, al
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
je 0x5432f4
or byte [ebx], 2
cmp eax, ecx
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x14]
je 0x54330b
cmp byte [edi], 2
je 0x543335
add eax, 0xc
inc edi
cmp eax, ecx
jne 0x5432fe
or byte [ebx], 4
test edx, edx
je 0x54331f
push edx
mov edi, ecx
call fcn.004dfe00
mov ecx, edi
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
jmp 0x54330e