Function at 0x436710
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x436c70
sub esp, 0x38
mov eax, dword [esp + 0x44]
test byte [eax], al
mov ecx, dword [0x7016d0]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
lea ebx, [eax + 0x10]
lea ebp, [eax + 8]
mov dword [esp + 0x34], ebp
lea esi, [eax + 0xc]
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x436bf5
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov edx, dword [esp + 0x3c]
lea ebx, [edx + 4]
test byte [ebx], al
mov edi, dword [edx + 4]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
jmp 0x43679a
mov ebp, dword [ebx]
mov dword [esp + 0x18], edi
mov edi, ebp
mov ebp, dword [esp + 0x34]
test edi, edi
je 0x436b1d
mov ebp, dword [edi + 0x10]
cmp ecx, ebp
je 0x4367b9
mov ebx, ecx
cmp ebx, ebp
jae 0x4367b4
lea ebx, [edi + 0xc]
jmp 0x43678e
lea ebx, [edi + 8]
jmp 0x43678e
mov dword [esp + 0x10], edi
movzx ecx, byte [esp + 0x48]
test cl, cl
je 0x436a71
test byte [ebx], al
mov ecx, dword [0x7016d0]
test ecx, ecx
jne 0x436a54
mov dword [ebx], eax
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [0x7016d0]
lea edx, [eax + 0x28]
mov ebx, dword [edi + 0x28]
lea ebp, [edi + 0x28]
mov dword [esp + 0x2c], ebp
test ecx, ecx
jne 0x436a33
mov dword [eax + 0x28], ebx
mov ecx, dword [0x7016d0]
mov edx, dword [edi + 0xc]
lea ebx, [edi + 0xc]
mov dword [esp + 0x30], ebx
test ecx, ecx
jne 0x436a12
mov dword [eax + 0xc], edx
mov ecx, dword [0x7016d0]
mov edx, dword [edi + 8]
lea esi, [edi + 8]
mov dword [esp + 0x28], esi
test ecx, ecx
jne 0x4369e9
mov dword [eax + 8], edx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x43685d
mov edx, dword [0x7016d0]
lea esi, [ecx + 0x28]
test edx, edx
jne 0x4369c8
mov dword [ecx + 0x28], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x436878
mov edx, dword [0x7016d0]
lea esi, [ecx + 0x28]
test edx, edx
jne 0x4369a7
mov dword [ecx + 0x28], eax
mov ecx, dword [0x7016d0]
lea edx, [eax + 0x2c]
test ecx, ecx
jne 0x436986
mov dword [eax + 0x2c], edi
mov ecx, dword [0x7016d0]
lea edx, [eax + 0x30]
mov esi, dword [edi + 0x30]
lea ebx, [edi + 0x30]
mov dword [esp + 0x34], ebx
test ecx, ecx
jne 0x436955
mov dword [eax + 0x30], esi
test esi, esi
je 0x436926
mov eax, dword [0x7016d0]
test eax, eax
jne 0x4368d8
mov dword [edi + 0x28], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x30], 0
add esp, 0x38
ret
mov dword [esp], ebp
mov dword [esp + 4], 0
call fcn.0040ef10
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
jmp 0x4368d4
mov ecx, dword [0x7016d0]
test ecx, ecx
jne 0x436938
mov dword [eax + 0x30], edi
jmp 0x4368ae
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.0040ef10
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x4368ae
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edx
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x4368aa
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x43688c
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436878
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x43685d
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
jmp 0x436842
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
jmp 0x436827
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x43680c
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
jmp 0x4367dc
mov ecx, dword [edi + 0x30]
lea edx, [edi + 0x30]
mov dword [esp + 0x34], edx
test ecx, ecx
je 0x436aee
mov ebx, dword [0x7016d0]
lea ebp, [ecx + 0x2c]
test ebx, ebx
jne 0x436ad4
mov dword [ecx + 0x2c], eax
mov ecx, dword [0x7016d0]
lea ebx, [eax + 0x2c]
test ecx, ecx
jne 0x436aab
mov dword [edi + 0x30], eax
mov dword [eax + 0x2c], 0
jmp 0x4368d4
mov dword [esp + 0x34], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
jmp 0x4368d4
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
jmp 0x436a8f
mov ecx, dword [0x7016d0]
lea ebx, [edi + 0x2c]
test ecx, ecx
jne 0x436b00
mov dword [edi + 0x2c], eax
jmp 0x436a8f
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
jmp 0x436a8f
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x8c]
mov esi, ebp
sar ebp, 0x1f
and ebp, 0xa8888eef
shl esi, 1
xor esi, ebp
mov dword [ecx + 0x8c], esi
mov dword [eax + 0x24], esi
mov ecx, dword [0x7016d0]
lea ebp, [eax + 0x28]
test ecx, ecx
jne 0x436bd0
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x28], ecx
test byte [ebx], al
mov ecx, dword [0x7016d0]
test ecx, ecx
jne 0x436bba
mov dword [ebx], eax
jmp 0x436b77
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x436bb6
mov ebx, dword [ecx + 0x24]
mov ebp, dword [eax + 0x24]
cmp ebx, ebp
jbe 0x436bb6
mov ebx, dword [ecx + 0xc]
cmp eax, ebx
je 0x436ba8
mov ebx, dword [ecx + 8]
cmp ebx, eax
jne 0x436c56
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00437180
jmp 0x436b6f
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.00437430
jmp 0x436b6f
add esp, 0x38
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
jmp 0x436b77
mov dword [esp + 0x14], ebx
mov dword [esp], ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
jmp 0x436b5f
mov dword [esp + 0x1c], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040ef10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040ef10
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x436772
lea eax, [0x5a5c80]
mov dword [esp], eax
lea eax, [0x608a88]
mov dword [esp + 4], eax
call fcn.00426ac0
ud2
call fcn.0044a520
jmp fcn.00436710