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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b031b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1644]
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 0x45ec6b
lea eax, [ebx + 0xc]
cmp esi, eax
je 0x45ec70
call fcn.0047a2b7
cmp edi, dword [esp + 0x48]
jne 0x45ec87
cmp byte [esp + 0x17], 0
je 0x45f0fa
mov ebx, dword [esp + 0x18]
jmp 0x45ec8e
cmp byte [esp + 0x17], 0
je 0x45eca4
lea ecx, [esp + 0x30]
call fcn.0045cac0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov byte [esp + 0x17], 0
test esi, esi
jne 0x45ecad
call fcn.0047a2b7
cmp edi, dword [esi + 4]
jne 0x45ecb7
call fcn.0047a2b7
push ebx
lea ecx, [edi + 0x14]
call fcn.0045eb70
test eax, eax
jne 0x45ecdb
cmp edi, dword [esi + 4]
jne 0x45ecce
call fcn.0047a2b7
add edi, 0xc
push edi
lea ecx, [esp + 0x24]
call fcn.0042a7b0
cmp byte [ebx + 0x18], 0
je 0x45f0e2
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
lea edi, [ebx + 0x1c]
jbe 0x45ecf5
call fcn.0047a2b7
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov ebp, edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x1c], eax
jbe 0x45ed10
call fcn.0047a2b7
nop
test ebp, ebp
je 0x45ed1b
lea eax, [ebx + 0x1c]
cmp ebp, eax
je 0x45ed20
call fcn.0047a2b7
cmp esi, dword [esp + 0x1c]
je 0x45ee6e
test ebp, ebp
jne 0x45ed33
call fcn.0047a2b7
cmp esi, dword [ebp + 8]
jb 0x45ed3d
call fcn.0047a2b7
cmp byte [esi + 0x14], 0
je 0x45ed9f
cmp esi, dword [ebp + 8]
jb 0x45ed57
call fcn.0047a2b7
cmp esi, dword [ebp + 8]
jb 0x45ed57
call fcn.0047a2b7
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.0045d930
jmp 0x45ee5c
cmp esi, dword [ebp + 8]
jb 0x45eda9
call fcn.0047a2b7
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 0x45eddf
mov edi, edi
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45edce
jb 0x45edd6
cmp ebp, dword [eax + 0x10]
jae 0x45edd6
mov dword [esp + 0x40], eax
mov eax, dword [eax]
jmp 0x45edd9
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45edc0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45ee0d
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45edfe
jb 0x45ee03
cmp dword [eax + 0x10], ebp
jae 0x45ee03
mov eax, dword [eax + 8]
jmp 0x45ee07
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45edf0
lea eax, [ebx + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
test eax, eax
je 0x45ee23
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45ee28
call fcn.0047a2b7
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x50], eax
je 0x45ee41
lea ecx, [esp + 0x4c]
call fcn.0041a440
mov eax, dword [esp + 0x4c]
jmp 0x45ee18
push eax
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea eax, [esp + 0xa0]
push eax
call fcn.0045da10
mov ebp, dword [esp + 0x88]
cmp esi, dword [ebp + 8]
jb 0x45ee66
call fcn.0047a2b7
add esi, 0x18
jmp 0x45ed10
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x45f0de
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 0x45f0de
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp edx, eax
mov esi, edx
jbe 0x45eeb0
call fcn.0047a2b7
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 0x45eec7
call fcn.0047a2b7
test edi, edi
je 0x45eed3
lea edx, [esp + 0x20]
cmp edi, edx
je 0x45eed8
call fcn.0047a2b7
cmp esi, dword [esp + 0x1c]
je 0x45efb3
test edi, edi
jne 0x45eeeb
call fcn.0047a2b7
cmp esi, dword [edi + 8]
jb 0x45eef5
call fcn.0047a2b7
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov ebp, ecx
jne 0x45ef25
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45ef16
jb 0x45ef1c
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x45ef1c
mov ebp, eax
mov eax, dword [eax]
jmp 0x45ef1f
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45ef05
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45ef55
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45ef46
jb 0x45ef4b
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x45ef4b
mov eax, dword [eax + 8]
jmp 0x45ef4f
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45ef35
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
test eax, eax
je 0x45ef6b
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45ef70
call fcn.0047a2b7
cmp dword [esp + 0x3c], ebp
je 0x45ef85
lea ecx, [esp + 0x38]
call fcn.0041a440
mov eax, dword [esp + 0x38]
jmp 0x45ef60
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0045da10
mov eax, dword [esp + 0x54]
cmp esi, dword [eax + 8]
jb 0x45efa7
call fcn.0047a2b7
mov edi, dword [esp + 0x54]
add esi, 8
jmp 0x45eec7
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
mov esi, edx
jbe 0x45efdb
call fcn.0047a2b7
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
jbe 0x45efdb
call fcn.0047a2b7
mov edx, dword [esp + 0x28]
cmp edi, esi
je 0x45f00a
mov ecx, edx
sub ecx, esi
sar ecx, 3
cmp esi, edx
lea ebp, [edi + ecx*8]
mov eax, esi
je 0x45f006
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 0x45eff3
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 0x45f038
call fcn.0047a2b7
mov ebp, dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 0x24]
jbe 0x45f049
call fcn.0047a2b7
cmp ebp, esi
je 0x45f0c1
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 0x45f0b0
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 0x45f081
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 0x45f0d1
call fcn.0047a2b7
cmp ebx, edi
je 0x45f0fa
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov byte [ebx + 0x18], 0
lea ecx, [esp + 0x30]
call fcn.0041a440
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x45ec60
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
mov esi, edx
jbe 0x45f115
call fcn.0047a2b7
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 0x45f130
call fcn.0047a2b7
lea esp, [esp]
test edi, edi
je 0x45f13c
lea edx, [esp + 0x20]
cmp edi, edx
je 0x45f141
call fcn.0047a2b7
cmp esi, dword [esp + 0x1c]
je 0x45f233
test edi, edi
jne 0x45f154
call fcn.0047a2b7
cmp esi, dword [edi + 8]
jb 0x45f15e
call fcn.0047a2b7
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 0x45f195
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x45f186
jb 0x45f18c
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x45f18c
mov ebp, eax
mov eax, dword [eax]
jmp 0x45f18f
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x45f175
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x45f1d0
mov edx, dword [esi]
lea esp, [esp]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x45f1c1
jb 0x45f1c6
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x45f1c6
mov eax, dword [eax + 8]
jmp 0x45f1ca
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x45f1b0
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jmp 0x45f1e0
test eax, eax
je 0x45f1eb
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x45f1f0
call fcn.0047a2b7
cmp dword [esp + 0x3c], ebp
je 0x45f205
lea ecx, [esp + 0x38]
call fcn.0041a440
mov eax, dword [esp + 0x38]
jmp 0x45f1e0
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0045da10
mov eax, dword [esp + 0x44]
cmp esi, dword [eax + 8]
jb 0x45f227
call fcn.0047a2b7
mov edi, dword [esp + 0x44]
add esi, 8
jmp 0x45f130
mov eax, dword [esp + 0x24]
test eax, eax
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x19], 0
je 0x45f24c
push eax
call fcn.00479e49
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