Function at 0x40ead0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, 0x4c8244
mov dword [ecx + 4], eax
push ebx
mov dword [ecx + 0x14], eax
xor ebx, ebx
push edi
lea edi, [ecx + 0x30]
mov dword [ecx + 0x24], eax
mov dword [esp + 0x40], ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, 1
mov dword [ecx], 0x4c89c0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0xfffffa24
mov byte [ecx + 0x10], bl
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0xfffffc18
mov dword [ecx + 0x20], 3
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], ebx
mov ecx, 0x4ffdbb
mov dword [esp + 0x4c], ebx
call fcn.0040d550
mov eax, dword [0x4ffb58]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
jne 0x40eb6b
push 0x4d6aec
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x4c824c
call fcn.004a0e32
mov edx, dword [eax + 8]
cmp edx, ebx
push esi
jne 0x40eb77
xor esi, esi
jmp 0x40eb7a
mov esi, dword [edx + 0x10]
mov eax, dword [eax + 4]
cmp eax, esi
jb 0x40eb98
push 0x4d6adc
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x4c8250
call fcn.004a0e32
cmp edx, ebx
je 0x40eba1
mov edx, dword [edx + 0xc]
jmp 0x40eba3
xor edx, edx
imul eax, edx
mov esi, dword [eax + ecx + 0x6c]
add eax, ecx
lea eax, [esi + esi*4]
lea ecx, [eax*4 + 4]
push ebp
push ecx
call fcn.004a0bf6
add esp, 4
cmp eax, ebx
je 0x40ebde
push fcn.00403d50
push 0x403d30
push esi
lea ebp, [eax + 4]
push 0x14
push ebp
mov dword [eax], esi
call fcn.004a1d30
jmp 0x40ebe0
xor ebp, ebp
push ebx
push esi
push ebp
mov ecx, edi
call fcn.00409da0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x40ebfd
xor eax, eax
jmp 0x40ec00
mov eax, dword [eax + 0x10]
cmp dword [esp + 0x10], eax
jge 0x40eee3
mov ecx, 0x4ffdbb
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov eax, dword [edx + 0x2c]
mov esi, dword [eax]
cmp esi, ebx
je 0x40edcf
mov ecx, dword [eax + 8]
cmp ecx, ebx
jne 0x40ec32
xor edx, edx
jmp 0x40ec35
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + 4]
cmp eax, edx
jae 0x40ede6
cmp ecx, ebx
je 0x40ec49
mov ecx, dword [ecx + 0xc]
jmp 0x40ec4b
xor ecx, ecx
imul eax, ecx
mov ecx, dword [edi]
add eax, esi
cmp ecx, ebx
mov esi, eax
je 0x40edfd
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x40ec67
xor ebp, ebp
jmp 0x40ec6a
mov ebp, dword [edx + 0x10]
mov eax, dword [edi + 4]
cmp eax, ebp
jae 0x40ee14
cmp edx, ebx
je 0x40ec7e
mov edx, dword [edx + 0xc]
jmp 0x40ec80
xor edx, edx
mov ebp, dword [esp + 0x10]
add eax, ebp
imul eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esi + 0x70]
mov ecx, dword [edx + ecx]
mov dword [eax + 4], ecx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x40ee2b
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x40ecad
xor esi, esi
jmp 0x40ecb0
mov esi, dword [edx + 0x10]
mov eax, dword [edi + 4]
cmp eax, esi
jae 0x40ee42
cmp edx, ebx
je 0x40ecc4
mov edx, dword [edx + 0xc]
jmp 0x40ecc6
xor edx, edx
add eax, ebp
imul eax, edx
add eax, ecx
mov dword [eax + 8], ebx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x40ee59
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x40ece5
xor esi, esi
jmp 0x40ece8
mov esi, dword [edx + 0x10]
mov eax, dword [edi + 4]
cmp eax, esi
jae 0x40ee70
cmp edx, ebx
je 0x40ecfc
mov edx, dword [edx + 0xc]
jmp 0x40ecfe
xor edx, edx
add eax, ebp
imul eax, edx
add eax, ecx
mov ecx, 0x4ffdbb
mov dword [eax + 0xc], ebx
call fcn.0040d550
mov edx, dword [0x4ffb58]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
je 0x40ee87
mov edx, dword [eax + 8]
cmp edx, ebx
jne 0x40ed30
xor esi, esi
jmp 0x40ed33
mov esi, dword [edx + 0x10]
mov eax, dword [eax + 4]
cmp eax, esi
jae 0x40ee9e
cmp edx, ebx
je 0x40ed47
mov edx, dword [edx + 0xc]
jmp 0x40ed49
xor edx, edx
imul eax, edx
add eax, ecx
mov ecx, dword [edi]
cmp ecx, ebx
mov esi, eax
je 0x40eeb5
mov edx, dword [edi + 8]
cmp edx, ebx
jne 0x40ed65
xor ebp, ebp
jmp 0x40ed68
mov ebp, dword [edx + 0x10]
mov eax, dword [edi + 4]
cmp eax, ebp
jae 0x40eecc
cmp edx, ebx
je 0x40ed7c
mov edx, dword [edx + 0xc]
jmp 0x40ed7e
xor edx, edx
mov ebp, dword [esp + 0x10]
add eax, ebp
imul eax, edx
mov edx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx + edx + 0x10]
cmp edx, ebx
lea esi, [eax + 0x10]
jne 0x40ed9f
xor eax, eax
jmp 0x40edad
mov eax, edx
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40eda4
sub eax, ebp
push eax
push edx
mov ecx, esi
call fcn.00404360
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x14
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x40ebf2
push 0x4d6aec
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x4c8250
call fcn.004a0e32
push 0x4d6aec
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], 0x4c8250
call fcn.004a0e32
push 0x4d6aec
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], 0x4c8250
call fcn.004a0e32
push 0x4d6aec
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x4c8250
call fcn.004a0e32
push 0x4d6aec
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x4c8250
call fcn.004a0e32
push 0x4d6aec
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x4c824c
call fcn.004a0e32
push 0x4d6adc
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], 0x4c8250
call fcn.004a0e32
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
pop ebp
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret