Function at 0x40e210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42dd78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov edx, dword [esp + 0x24]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
mov ecx, eax
add edx, 0xc
cmp byte [ebx + 0x85], 0
mov al, 1
push edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], al
jne 0x40e3b1
mov eax, dword [edx]
and eax, 1
mov dword [esp + 0x14], eax
lea edi, [edx + 4]
jmp 0x40e274
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
lea esi, [ebx + 0x10]
test eax, eax
je 0x40e2c2
mov ecx, esi
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e2b2
test dx, dx
je 0x40e2a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e2b2
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e283
mov edx, dword [esp + 0x30]
xor eax, eax
test eax, eax
sets al
jmp 0x40e2c9
mov edx, dword [esp + 0x30]
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
jmp 0x40e2c9
mov eax, dword [edi]
cmp eax, dword [esi]
setb al
test al, al
je 0x40e2d4
mov al, 1
jmp 0x40e38d
test byte [ebx + 0xc], 1
je 0x40e31f
mov ecx, edi
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e30f
test dx, dx
je 0x40e302
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e30f
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e2e0
mov edx, dword [esp + 0x30]
xor eax, eax
test eax, eax
sets al
jmp 0x40e326
mov edx, dword [esp + 0x30]
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
jmp 0x40e326
mov ecx, dword [esi]
cmp ecx, dword [edi]
setb al
test al, al
je 0x40e32e
xor al, al
jmp 0x40e38d
test byte [edx + 0x34], 1
je 0x40e37f
lea ecx, [ebx + 0x44]
lea eax, [edx + 0x38]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40e36f
test dx, dx
je 0x40e362
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40e36f
add eax, 4
add ecx, 4
test dx, dx
jne 0x40e340
mov edx, dword [esp + 0x30]
xor eax, eax
test eax, eax
sets al
jmp 0x40e388
mov edx, dword [esp + 0x30]
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sets al
jmp 0x40e388
mov eax, dword [edx + 0x38]
cmp eax, dword [ebx + 0x44]
setb al
test al, al
setne al
mov byte [esp + 0x18], al
test al, al
je 0x40e399
mov ebx, dword [ebx]
jmp 0x40e39c
mov ebx, dword [ebx + 8]
cmp byte [ebx + 0x85], 0
je 0x40e270
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov ebx, ecx
mov dword [esp + 0x14], ebx
test al, al
je 0x40e3f4
mov eax, dword [esi + 4]
cmp ecx, dword [eax]
jne 0x40e3e3
mov edx, dword [esp + 0x34]
push edx
push 1
lea eax, [esp + 0x3c]
push eax
mov ebx, esi
call fcn.0040e490
mov ecx, dword [eax]
mov dword [ebp], ecx
mov byte [ebp + 4], 1
jmp 0x40e46b
lea eax, [esp + 0x14]
call fcn.0040ea90
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea esi, [ebx + 0xc]
mov edi, edx
call fcn.0040a2e0
test al, al
je 0x40e429
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040e490
mov edx, dword [eax]
mov dword [ebp], edx
mov byte [ebp + 4], 1
jmp 0x40e46b
mov edi, dword [esp + 0x30]
add edi, 0x68
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], 0
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [esp + 0x38]
mov eax, edi
call fcn.0040ca00
mov eax, dword [edi + 4]
push eax
call fcn.00416629
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00416629
add esp, 8
mov dword [ebp], ebx
mov byte [ebp + 4], 0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc