Function at 0x45e8d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4af1db
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cf640]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea esi, [ebx + 0xc]
mov byte [ebx + 0x19], 1
mov ecx, dword [esi + 4]
mov edi, dword [ecx]
mov edx, ecx
mov dword [esp + 0xb0], eax
mov byte [esp + 0x17], al
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edx
lea esp, [esp]
cmp esi, eax
je 0x45e94b
lea eax, [ebx + 0xc]
cmp esi, eax
je 0x45e950
call fcn.00479177
cmp edi, dword [esp + 0x48]
jne 0x45e967
cmp byte [esp + 0x17], 0
je 0x45edda
mov ebx, dword [esp + 0x18]
jmp 0x45e96e
cmp byte [esp + 0x17], 0
je 0x45e984
lea ecx, [esp + 0x30]
call fcn.00422930
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov byte [esp + 0x17], 0
test esi, esi
jne 0x45e98d
call fcn.00479177
cmp edi, dword [esi + 4]
jne 0x45e997
call fcn.00479177
push ebx
lea ecx, [edi + 0x14]
call fcn.0045e850
test eax, eax
jne 0x45e9bb
cmp edi, dword [esi + 4]
jne 0x45e9ae
call fcn.00479177
add edi, 0xc
push edi
lea ecx, [esp + 0x24]
call fcn.0044c3f0
cmp byte [ebx + 0x18], 0
je 0x45edc2
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
lea edi, [ebx + 0x1c]
jbe 0x45e9d5
call fcn.00479177
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov ebp, edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x1c], eax
jbe 0x45e9f0
call fcn.00479177
nop
test ebp, ebp
je 0x45e9fb
lea eax, [ebx + 0x1c]
cmp ebp, eax
je 0x45ea00
call fcn.00479177
cmp esi, dword [esp + 0x1c]
je 0x45eb4e
test ebp, ebp
jne 0x45ea13
call fcn.00479177
cmp esi, dword [ebp + 8]
jb 0x45ea1d
call fcn.00479177
cmp byte [esi + 0x14], 0
je 0x45ea7f
cmp esi, dword [ebp + 8]
jb 0x45ea37
call fcn.00479177
cmp esi, dword [ebp + 8]
jb 0x45ea37
call fcn.00479177
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x64], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], edx
push ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x9c]
push edx
lea ecx, [ebx + 0xc]
mov dword [esp + 0x7c], eax
call fcn.0045d610
jmp 0x45eb3c
cmp esi, dword [ebp + 8]
jb 0x45ea89
call fcn.00479177
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edx, dword [esi]
mov ebp, dword [esi + 4]
mov dword [esp + 0x40], ecx
jne 0x45eabf
mov edi, edi
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45eaae
jb 0x45eab6
cmp ebp, dword [eax + 0x10]
jae 0x45eab6
mov dword [esp + 0x40], eax
mov eax, dword [eax]
jmp 0x45eab9
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45eaa0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45eaed
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45eade
jb 0x45eae3
cmp dword [eax + 0x10], ebp
jae 0x45eae3
mov eax, dword [eax + 8]
jmp 0x45eae7
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45ead0
lea eax, [ebx + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
test eax, eax
je 0x45eb03
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45eb08
call fcn.00479177
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x50], eax
je 0x45eb21
lea ecx, [esp + 0x4c]
call fcn.004229c0
mov eax, dword [esp + 0x4c]
jmp 0x45eaf8
push eax
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea eax, [esp + 0xa0]
push eax
call fcn.0045d6f0
mov ebp, dword [esp + 0x88]
cmp esi, dword [ebp + 8]
jb 0x45eb46
call fcn.00479177
add esi, 0x18
jmp 0x45e9f0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x45edbe
mov ecx, dword [ebx + 0x24]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x45edbe
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp edx, eax
mov esi, edx
jbe 0x45eb90
call fcn.00479177
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp edx, eax
lea ecx, [esp + 0x20]
mov edi, ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x1c], eax
jbe 0x45eba7
call fcn.00479177
test edi, edi
je 0x45ebb3
lea edx, [esp + 0x20]
cmp edi, edx
je 0x45ebb8
call fcn.00479177
cmp esi, dword [esp + 0x1c]
je 0x45ec93
test edi, edi
jne 0x45ebcb
call fcn.00479177
cmp esi, dword [edi + 8]
jb 0x45ebd5
call fcn.00479177
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov ebp, ecx
jne 0x45ec05
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45ebf6
jb 0x45ebfc
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x45ebfc
mov ebp, eax
mov eax, dword [eax]
jmp 0x45ebff
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45ebe5
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45ec35
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45ec26
jb 0x45ec2b
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x45ec2b
mov eax, dword [eax + 8]
jmp 0x45ec2f
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45ec15
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
test eax, eax
je 0x45ec4b
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45ec50
call fcn.00479177
cmp dword [esp + 0x3c], ebp
je 0x45ec65
lea ecx, [esp + 0x38]
call fcn.004229c0
mov eax, dword [esp + 0x38]
jmp 0x45ec40
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0045d6f0
mov eax, dword [esp + 0x54]
cmp esi, dword [eax + 8]
jb 0x45ec87
call fcn.00479177
mov edi, dword [esp + 0x54]
add esi, 8
jmp 0x45eba7
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
mov esi, edx
jbe 0x45ecbb
call fcn.00479177
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
jbe 0x45ecbb
call fcn.00479177
mov edx, dword [esp + 0x28]
cmp edi, esi
je 0x45ecea
mov ecx, edx
sub ecx, esi
sar ecx, 3
cmp esi, edx
lea ebp, [edi + ecx*8]
mov eax, esi
je 0x45ece6
mov ecx, edi
sub ecx, esi
mov esi, dword [eax]
mov dword [ecx + eax], esi
mov esi, dword [eax + 4]
mov dword [ecx + eax + 4], esi
add eax, 8
cmp eax, edx
jne 0x45ecd3
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x24]
cmp dword [ebp + 0x20], esi
mov ebx, dword [edx]
lea eax, [ebp + 0xc]
mov edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x84], edi
mov dword [esp + 0x48], edi
jbe 0x45ed18
call fcn.00479177
mov ebp, dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 0x24]
jbe 0x45ed29
call fcn.00479177
cmp ebp, esi
je 0x45eda1
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x24]
add eax, 0x1c
mov ecx, edi
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, edi
lea ecx, [eax + eax*2]
lea edx, [ebp + ecx*8]
mov eax, esi
je 0x45ed90
mov ecx, ebp
sub ecx, esi
mov esi, dword [eax]
mov dword [ecx + eax], esi
mov esi, dword [eax + 4]
mov dword [ecx + eax + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + eax + 8], esi
mov esi, dword [eax + 0xc]
mov dword [ecx + eax + 0xc], esi
mov esi, dword [eax + 0x10]
mov dword [ecx + eax + 0x10], esi
mov esi, dword [eax + 0x14]
mov dword [ecx + eax + 0x14], esi
add eax, 0x18
cmp eax, edi
jne 0x45ed61
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x84]
add eax, 0x1c
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
add eax, 0xc
cmp eax, eax
je 0x45edb1
call fcn.00479177
cmp ebx, edi
je 0x45edda
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov byte [ebx + 0x18], 0
lea ecx, [esp + 0x30]
call fcn.004229c0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x45e940
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
mov esi, edx
jbe 0x45edf5
call fcn.00479177
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
cmp edx, ecx
lea eax, [esp + 0x20]
mov edi, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], ecx
jbe 0x45ee10
call fcn.00479177
lea esp, [esp]
test edi, edi
je 0x45ee1c
lea edx, [esp + 0x20]
cmp edi, edx
je 0x45ee21
call fcn.00479177
cmp esi, dword [esp + 0x1c]
je 0x45ef13
test edi, edi
jne 0x45ee34
call fcn.00479177
cmp esi, dword [edi + 8]
jb 0x45ee3e
call fcn.00479177
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
add eax, 0xc
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov ebp, ecx
jne 0x45ee75
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45ee66
jb 0x45ee6c
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x45ee6c
mov ebp, eax
mov eax, dword [eax]
jmp 0x45ee6f
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45ee55
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45eeb0
mov edx, dword [esi]
lea esp, [esp]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45eea1
jb 0x45eea6
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x45eea6
mov eax, dword [eax + 8]
jmp 0x45eeaa
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45ee90
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jmp 0x45eec0
test eax, eax
je 0x45eecb
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45eed0
call fcn.00479177
cmp dword [esp + 0x3c], ebp
je 0x45eee5
lea ecx, [esp + 0x38]
call fcn.004229c0
mov eax, dword [esp + 0x38]
jmp 0x45eec0
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0045d6f0
mov eax, dword [esp + 0x44]
cmp esi, dword [eax + 8]
jb 0x45ef07
call fcn.00479177
mov edi, dword [esp + 0x44]
add esi, 8
jmp 0x45ee10
mov eax, dword [esp + 0x24]
test eax, eax
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x19], 0
je 0x45ef2c
push eax
call fcn.00478d09
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret