Function at 0x4223e0
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], 0x438940
mov edx, dword fs:[0]
mov dword [ecx], edx
mov edx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov dword [esi + 0x24], edi
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 + 8], 0
cmp ecx, 0x65
mov dword [esi + 0xc], ecx
jb 0x422492
push ecx
call fcn.0044a130
add esp, 4
mov ecx, eax
mov dword [esi], eax
test eax, eax
mov ebx, eax
jne 0x42249b
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xa8], eax
call fcn.0043916c
lea ebx, [esi + 0x30]
mov dword [esi], 0
cmp edi, dword [ebp + 0x14]
mov dword [esi + 0x18], ebx
je 0x4224d7
mov dword [esi + 8], 0
cmp byte [edi + 0xb], 0
js 0x4224b9
mov ecx, edi
call fcn.00411fd0
jmp 0x4224bc
mov eax, dword [edi + 4]
test eax, eax
je 0x4224c5
mov byte [ebx], 1
jmp 0x4224ce
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x4224aa
mov dword [esi + 0xa8], 0
xor edx, edx
mov dword [esi + 0x1c], edx
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00418c10
test al, al
jne 0x4226f9
cmp dword [esi + 0xc], 0
je 0x4226f9
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x422527
mov al, byte [eax]
mov dword [esi + 0x14], eax
jmp 0x422554
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]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov dword [esi + 0x14], eax
cmp byte [ebp + 0x20], 0
jne 0x42258f
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]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
movsx eax, byte [esi + 0x14]
mov ecx, ebx
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [esi + 0x1c]
lea ecx, [edi + 1]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x28], 0
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x20], eax
cmp eax, dword [ebp + 0x14]
je 0x42264a
cmp byte [ebx], 1
jne 0x42263e
mov dword [esi + 0x2c], ebx
mov ecx, dword [esi + 0x20]
push edi
call fcn.00418954
mov bl, byte [eax]
cmp byte [ebp + 0x20], 0
jne 0x422605
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]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
movsx eax, bl
mov ecx, dword [ebp + 0x18]
push eax
call edi
mov ebx, eax
mov edi, dword [esi + 0x1c]
cmp byte [esi + 0x14], bl
jne 0x42261d
mov ecx, dword [esi + 0x20]
cmp byte [ecx + 0xb], 0
mov ebx, dword [esi + 0x2c]
js 0x422628
call fcn.00411fd0
jmp 0x42262b
mov ebx, dword [esi + 0x2c]
mov byte [ebx], 0
dec dword [esi + 0xc]
jmp 0x42263e
mov eax, dword [ecx + 4]
mov cl, 1
mov dword [esi + 0x28], ecx
cmp eax, dword [esi + 0x10]
jne 0x42263e
mov byte [ebx], 2
dec dword [esi + 0xc]
inc dword [esi + 8]
mov eax, dword [esi + 0x20]
add eax, 0xc
inc ebx
jmp 0x4225a5
mov edx, dword [esi + 0x10]
test byte [esi + 0x28], 1
je 0x4224e3
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x42266a
inc eax
mov dword [edi + 0xc], eax
jmp 0x422694
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]
mov dword [esi + 4], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add eax, ecx
mov ecx, dword [esi + 0x10]
mov edx, ecx
cmp eax, 2
jb 0x4224e3
mov eax, ecx
mov edx, ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
je 0x4224e3
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 0x18]
cmp byte [ebx], 2
jne 0x4226e9
cmp byte [edi + 0xb], 0
js 0x4226d7
mov ecx, edi
call fcn.00411fd0
jmp 0x4226da
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov eax, ecx
je 0x4226e9
mov byte [ebx], 0
dec dword [esi + 8]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x4226c3
mov edx, eax
jmp 0x4224e3
mov eax, dword [esi]
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.00418c10
test al, al
mov edx, dword [ebp + 0x1c]
je 0x422714
or byte [edx], 2
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x18]
je 0x42272d
cmp byte [ecx], 2
je 0x422732
add eax, 0xc
inc ecx
cmp eax, dword [ebp + 0x14]
jne 0x42271f
or byte [edx], 4
jmp 0x422735
mov dword [esi + 0x24], eax
mov eax, dword [esi]
test eax, eax
je 0x422744
push eax
call fcn.0044a180
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, dword [esi + 0x24]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret