Function at 0x543070
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], 0x44fad0
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 0x54311e
push ecx
call fcn.004dfe90
add esp, 4
mov ebx, eax
mov dword [esi + 4], eax
test eax, eax
jne 0x543128
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xa8], eax
call fcn.00554a50
lea ebx, [esi + 0x30]
mov dword [esi + 4], 0
mov ecx, dword [ebp + 0x14]
cmp edi, ecx
mov dword [esi + 0x14], ebx
je 0x54316a
mov dword [esi + 0x10], 0
cmp byte [edi + 0xb], 0
js 0x54315a
mov ecx, edi
call fcn.004c5cd0
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x54315f
mov byte [ebx], 1
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x543139
jmp 0x54316a
mov eax, dword [edi + 4]
jmp 0x543149
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
jmp 0x543150
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.004c62c0
mov ecx, dword [ebp + 0x14]
test al, al
jne 0x5433b2
cmp dword [esi + 0xc], 0
je 0x5433b2
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x543342
mov al, byte [eax]
mov dword [esi + 0x18], eax
cmp byte [ebp + 0x20], 0
jne 0x5431ff
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 0x5432c9
cmp byte [edi], 1
je 0x54322a
add eax, 0xc
inc edi
jmp 0x543217
mov dword [esi + 0x20], eax
mov ecx, eax
push ebx
call fcn.004c6ef0
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
je 0x543242
mov ecx, dword [ebp + 0x14]
jmp 0x543280
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 0x5432b6
cmp byte [eax + 0xb], 0
mov ebx, dword [esi + 0x1c]
js 0x5432c4
mov ecx, eax
call fcn.004c5cd0
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov dword [esi + 0x28], edx
cmp eax, dword [esi + 0x24]
jne 0x5432ae
mov byte [edi], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x20]
jmp 0x543224
mov byte [edi], 0
dec dword [esi + 0xc]
mov ebx, dword [esi + 0x1c]
jmp 0x543224
mov eax, dword [eax + 4]
jmp 0x54329b
mov ebx, dword [esi + 0x24]
test byte [esi + 0x28], 1
je 0x543176
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x54337f
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 0x543176
mov ebx, edx
cmp edi, ecx
je 0x543176
mov ebx, dword [esi + 0x14]
cmp byte [ebx], 2
jne 0x543333
cmp byte [edi + 0xb], 0
js 0x54333d
mov ecx, edi
call fcn.004c5cd0
mov edx, dword [esi + 0x24]
mov ecx, dword [ebp + 0x14]
cmp eax, edx
je 0x543333
mov byte [ebx], 0
dec dword [esi + 0x10]
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x543311
jmp 0x543378
mov eax, dword [edi + 4]
jmp 0x543329
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 0x5431c0
mov ebx, edx
jmp 0x543176
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 0x5432eb
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c62c0
mov ecx, dword [ebp + 0x14]
test al, al
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x1c]
je 0x5433d4
or byte [ebx], 2
cmp eax, ecx
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x14]
je 0x5433eb
cmp byte [edi], 2
je 0x543415
add eax, 0xc
inc edi
cmp eax, ecx
jne 0x5433de
or byte [ebx], 4
test edx, edx
je 0x5433ff
push edx
mov edi, ecx
call fcn.004dfee0
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 0x5433ee