Function at 0x4123c0
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
xor ecx, ecx
lea eax, [esi + 0xa0]
mov edi, dword [ebp + 0x14]
pcmpeqd xmm0, xmm0
mov dword [esi + 0x10], 0
dec ecx
mov dword [eax - 4], esp
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x425860
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov eax, edi
mov dword [esi + 0x90], ecx
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
sub eax, dword [ebp + 0x10]
sar eax, 2
imul edx, eax, 0xaaaaaaab
cmp edx, 0x65
mov eax, edx
mov dword [esi + 0xc], edx
jb 0x412463
push dword [esi + 0xc]
call fcn.00433c10
add esp, 4
test eax, eax
je 0x4126cb
mov ecx, eax
mov dword [esi + 4], eax
jmp 0x41246d
lea ecx, [esi + 0x30]
mov dword [esi + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], ecx
cmp eax, edi
je 0x4124a3
mov dword [esi + 0x10], 0
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x412489
mov edx, dword [eax + 4]
test edx, edx
je 0x412492
mov byte [ecx], 1
jmp 0x41249b
dec dword [esi + 0xc]
inc dword [esi + 0x10]
mov byte [ecx], 2
add eax, 0xc
inc ecx
cmp edi, eax
jne 0x41247e
xor eax, eax
mov dword [esi + 0xa8], 0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [esi + 0xa8], 0
mov dword [esi + 8], eax
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
cmp dword [esi + 0xc], 0
je 0x412668
xor al, 1
je 0x412668
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4124f5
movzx eax, byte [eax]
mov dword [esi + 0x1c], eax
jmp 0x412505
mov eax, dword [ecx]
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x20]
mov dword [esi + 8], edx
call eax
mov dword [esi + 0x1c], eax
cmp byte [ebp + 0x20], 0
jne 0x412525
mov edi, dword [ebp + 0x18]
mov ecx, dword [esi + 4]
movsx edx, byte [esi + 0x1c]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], ecx
mov ecx, edi
push edx
call eax
mov dword [esi + 0x1c], eax
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], 0
mov edx, edi
inc edi
mov dword [esi + 0x18], edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
mov dword [esi + 0x28], eax
je 0x4125d9
cmp byte [edi], 1
jne 0x4125cd
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x24], edi
cmp byte [ecx + 0xb], 0
js 0x412560
mov eax, ecx
jmp 0x412562
mov eax, dword [ecx]
mov al, byte [eax + edx]
cmp byte [ebp + 0x20], 0
jne 0x412591
mov edi, dword [ebp + 0x18]
movsx eax, al
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 4]
mov dword [esi + 0xa8], 0
mov dword [esi + 8], ecx
mov ecx, edi
push eax
call edx
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x28]
cmp byte [esi + 0x1c], al
jne 0x4125bc
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x4125a1
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
cmp eax, dword [esi + 0x18]
mov bl, 1
mov dword [esi + 0x2c], ebx
jne 0x4125ca
mov edi, dword [esi + 0x24]
dec dword [esi + 0xc]
inc dword [esi + 0x10]
mov byte [edi], 2
jmp 0x4125cd
mov edi, dword [esi + 0x24]
mov ecx, dword [ebp + 0x14]
dec dword [esi + 0xc]
mov byte [edi], 0
jmp 0x4125cd
mov edi, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
inc edi
add eax, 0xc
jmp 0x412540
mov edx, dword [esi + 0x18]
test byte [esi + 0x2c], 1
mov eax, edx
je 0x4124af
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4125fb
inc eax
mov dword [ecx + 0xc], eax
jmp 0x412615
mov eax, dword [ecx]
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x24]
mov dword [esi + 8], edx
mov dword [esi + 0xa8], 0
call eax
mov edx, dword [esi + 0x18]
mov edi, dword [ebp + 0x14]
mov eax, edx
cmp dword [ebp + 0x10], edi
je 0x4124af
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
add eax, ecx
cmp eax, 2
mov eax, edx
jb 0x4124af
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 2
jne 0x412659
movzx ebx, byte [eax + 0xb]
test bl, bl
jns 0x41264c
mov ebx, dword [eax + 4]
mov edx, dword [esi + 0x18]
cmp ebx, edx
je 0x412659
dec dword [esi + 0x10]
mov byte [ecx], 0
add eax, 0xc
inc ecx
cmp eax, edi
jne 0x41263c
mov eax, edx
jmp 0x4124af
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
lea eax, [ebp + 0xc]
push eax
call fcn.004108a4
mov edx, dword [ebp + 0x1c]
test al, al
je 0x412684
or byte [edx], 2
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, edi
je 0x41269e
cmp byte [ecx], 2
je 0x4126a3
add eax, 0xc
inc ecx
cmp eax, edi
jne 0x412691
or byte [edx], 4
jmp 0x4126a5
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4126b5
push eax
call fcn.00433c50
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xa8], eax
call fcn.00425dec
push ebp
push eax
lea esi, [ebp - 0xac]
mov ebp, dword [esi + 0x98]
mov eax, dword [esi + 8]
test eax, eax
je 0x4126f9
push eax
call fcn.00433c50
add esp, 4
add esp, 4
pop ebp
ret