Function at 0x407eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x467798
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487bb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x407ee8
call fcn.004507b0
mov edi, dword [edi]
mov ebx, esi
xor ebp, ebp
mov edi, edi
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0xc], esi
jbe 0x407f05
call fcn.004507b0
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp edi, ebp
je 0x407f0f
cmp edi, eax
je 0x407f14
call fcn.004507b0
cmp ebx, esi
je 0x408114
cmp edi, ebp
jne 0x4080d8
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407f35
call fcn.004507b0
mov eax, dword [ebx]
add eax, 0x208
push eax
call fcn.00423030
add esp, 4
test eax, eax
je 0x407f96
cmp edi, ebp
jne 0x4080df
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407f62
call fcn.004507b0
mov ecx, dword [ebx]
cmp dword [ecx + 0x410], ebp
je 0x407f96
cmp edi, ebp
jne 0x4080e6
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407f85
call fcn.004507b0
mov edx, dword [ebx]
add edx, 0x208
push edx
call fcn.00423220
add esp, 4
cmp edi, ebp
jne 0x4080ed
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407faf
call fcn.004507b0
cmp edi, ebp
jne 0x4080f4
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407fc8
call fcn.004507b0
cmp edi, ebp
jne 0x4080fb
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x407fe1
call fcn.004507b0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x410]
push ecx
lea edx, [eax + 0x208]
push edx
push eax
call fcn.00423fe0
add esp, 0xc
cmp edi, ebp
jne 0x408102
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x408013
call fcn.004507b0
mov eax, dword [ebx]
cmp dword [eax + 0x410], ebp
je 0x4080bb
cmp edi, ebp
jne 0x408109
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x40803a
call fcn.004507b0
mov ecx, dword [ebx]
add ecx, 0x208
xor edx, edx
mov eax, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x408060
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403680
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], ebp
call fcn.00407e00
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x4080a8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044fc16
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
cmp edi, ebp
jne 0x408110
call fcn.004507b0
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4080d0
call fcn.004507b0
add ebx, 4
jmp 0x407ef0
mov eax, dword [edi]
jmp 0x407f2b
mov eax, dword [edi]
jmp 0x407f58
mov eax, dword [edi]
jmp 0x407f7b
mov eax, dword [edi]
jmp 0x407fa5
mov eax, dword [edi]
jmp 0x407fbe
mov eax, dword [edi]
jmp 0x407fd7
mov eax, dword [edi]
jmp 0x408009
mov eax, dword [edi]
jmp 0x408030
mov eax, dword [edi]
jmp 0x4080c6
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret