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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8b0b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c76b8]
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 0x45789b
lea eax, [ebx + 0xc]
cmp esi, eax
je 0x4578a0
call fcn.00471ec7
cmp edi, dword [esp + 0x48]
jne 0x4578b7
cmp byte [esp + 0x17], 0
je 0x457d2a
mov ebx, dword [esp + 0x18]
jmp 0x4578be
cmp byte [esp + 0x17], 0
je 0x4578d4
lea ecx, [esp + 0x30]
call fcn.004174a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov byte [esp + 0x17], 0
test esi, esi
jne 0x4578dd
call fcn.00471ec7
cmp edi, dword [esi + 4]
jne 0x4578e7
call fcn.00471ec7
push ebx
lea ecx, [edi + 0x14]
call fcn.004577a0
test eax, eax
jne 0x45790b
cmp edi, dword [esi + 4]
jne 0x4578fe
call fcn.00471ec7
add edi, 0xc
push edi
lea ecx, [esp + 0x24]
call fcn.00456ef0
cmp byte [ebx + 0x18], 0
je 0x457d12
mov esi, dword [ebx + 0x20]
cmp esi, dword [ebx + 0x24]
lea edi, [ebx + 0x1c]
jbe 0x457925
call fcn.00471ec7
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov ebp, edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x1c], eax
jbe 0x457940
call fcn.00471ec7
nop
test ebp, ebp
je 0x45794b
lea eax, [ebx + 0x1c]
cmp ebp, eax
je 0x457950
call fcn.00471ec7
cmp esi, dword [esp + 0x1c]
je 0x457a9e
test ebp, ebp
jne 0x457963
call fcn.00471ec7
cmp esi, dword [ebp + 8]
jb 0x45796d
call fcn.00471ec7
cmp byte [esi + 0x14], 0
je 0x4579cf
cmp esi, dword [ebp + 8]
jb 0x457987
call fcn.00471ec7
cmp esi, dword [ebp + 8]
jb 0x457987
call fcn.00471ec7
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.004561e0
jmp 0x457a8c
cmp esi, dword [ebp + 8]
jb 0x4579d9
call fcn.00471ec7
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 0x457a0f
mov edi, edi
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x4579fe
jb 0x457a06
cmp ebp, dword [eax + 0x10]
jae 0x457a06
mov dword [esp + 0x40], eax
mov eax, dword [eax]
jmp 0x457a09
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x4579f0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x457a3d
lea ecx, [ecx]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x457a2e
jb 0x457a33
cmp dword [eax + 0x10], ebp
jae 0x457a33
mov eax, dword [eax + 8]
jmp 0x457a37
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x457a20
lea eax, [ebx + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
test eax, eax
je 0x457a53
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x457a58
call fcn.00471ec7
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x50], eax
je 0x457a71
lea ecx, [esp + 0x4c]
call fcn.00417530
mov eax, dword [esp + 0x4c]
jmp 0x457a48
push eax
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea eax, [esp + 0xa0]
push eax
call fcn.004562c0
mov ebp, dword [esp + 0x88]
cmp esi, dword [ebp + 8]
jb 0x457a96
call fcn.00471ec7
add esi, 0x18
jmp 0x457940
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x457d0e
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 0x457d0e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp edx, eax
mov esi, edx
jbe 0x457ae0
call fcn.00471ec7
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 0x457af7
call fcn.00471ec7
test edi, edi
je 0x457b03
lea edx, [esp + 0x20]
cmp edi, edx
je 0x457b08
call fcn.00471ec7
cmp esi, dword [esp + 0x1c]
je 0x457be3
test edi, edi
jne 0x457b1b
call fcn.00471ec7
cmp esi, dword [edi + 8]
jb 0x457b25
call fcn.00471ec7
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov ebp, ecx
jne 0x457b55
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x457b46
jb 0x457b4c
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x457b4c
mov ebp, eax
mov eax, dword [eax]
jmp 0x457b4f
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x457b35
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x457b85
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x457b76
jb 0x457b7b
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x457b7b
mov eax, dword [eax + 8]
jmp 0x457b7f
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x457b65
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
test eax, eax
je 0x457b9b
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x457ba0
call fcn.00471ec7
cmp dword [esp + 0x3c], ebp
je 0x457bb5
lea ecx, [esp + 0x38]
call fcn.00417530
mov eax, dword [esp + 0x38]
jmp 0x457b90
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004562c0
mov eax, dword [esp + 0x54]
cmp esi, dword [eax + 8]
jb 0x457bd7
call fcn.00471ec7
mov edi, dword [esp + 0x54]
add esi, 8
jmp 0x457af7
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
mov esi, edx
jbe 0x457c0b
call fcn.00471ec7
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
cmp edi, edx
jbe 0x457c0b
call fcn.00471ec7
mov edx, dword [esp + 0x28]
cmp edi, esi
je 0x457c3a
mov ecx, edx
sub ecx, esi
sar ecx, 3
cmp esi, edx
lea ebp, [edi + ecx*8]
mov eax, esi
je 0x457c36
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 0x457c23
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 0x457c68
call fcn.00471ec7
mov ebp, dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 0x24]
jbe 0x457c79
call fcn.00471ec7
cmp ebp, esi
je 0x457cf1
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 0x457ce0
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 0x457cb1
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 0x457d01
call fcn.00471ec7
cmp ebx, edi
je 0x457d2a
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x17], 1
mov byte [ebx + 0x18], 0
lea ecx, [esp + 0x30]
call fcn.00417530
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x457890
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
mov esi, edx
jbe 0x457d45
call fcn.00471ec7
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 0x457d60
call fcn.00471ec7
lea esp, [esp]
test edi, edi
je 0x457d6c
lea edx, [esp + 0x20]
cmp edi, edx
je 0x457d71
call fcn.00471ec7
cmp esi, dword [esp + 0x1c]
je 0x457e63
test edi, edi
jne 0x457d84
call fcn.00471ec7
cmp esi, dword [edi + 8]
jb 0x457d8e
call fcn.00471ec7
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 0x457dc5
mov edx, dword [esi]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
ja 0x457db6
jb 0x457dbc
mov ecx, dword [esi + 4]
cmp ecx, dword [eax + 0x10]
jae 0x457dbc
mov ebp, eax
mov eax, dword [eax]
jmp 0x457dbf
mov eax, dword [eax + 8]
cmp byte [eax + 0x29], 0
je 0x457da5
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x29], 0
mov edi, ecx
jne 0x457e00
mov edx, dword [esi]
lea esp, [esp]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
ja 0x457df1
jb 0x457df6
mov ecx, dword [eax + 0x10]
cmp ecx, dword [esi + 4]
jae 0x457df6
mov eax, dword [eax + 8]
jmp 0x457dfa
mov edi, eax
mov eax, dword [eax]
cmp byte [eax + 0x29], 0
je 0x457de0
lea eax, [ebx + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jmp 0x457e10
test eax, eax
je 0x457e1b
lea ecx, [ebx + 0xc]
cmp eax, ecx
je 0x457e20
call fcn.00471ec7
cmp dword [esp + 0x3c], ebp
je 0x457e35
lea ecx, [esp + 0x38]
call fcn.00417530
mov eax, dword [esp + 0x38]
jmp 0x457e10
push ebp
lea ecx, [ebx + 0xc]
push ecx
push edi
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004562c0
mov eax, dword [esp + 0x44]
cmp esi, dword [eax + 8]
jb 0x457e57
call fcn.00471ec7
mov edi, dword [esp + 0x44]
add esi, 8
jmp 0x457d60
mov eax, dword [esp + 0x24]
test eax, eax
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x19], 0
je 0x457e7c
push eax
call fcn.00471a59
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