Function at 0x4a8260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe8
mov eax, dword [0x716f80]
xor eax, esp
mov dword [esp + 0xe4], eax
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xf4]
push ebx
mov ebx, dword [esp + 0xf0]
push ebp
push esi
mov esi, dword [edx + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 4]
push edi
mov edi, dword [esp + 0x108]
mov dword [esp + 0x74], edx
mov ebp, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
lea ebp, [eax + 1]
mov dword [esp + 0x10], eax
cmp dword [ecx], eax
jne 0x4a82e4
cmp dword [ecx + 4], ebp
mov dword [esp + 0x10], ebp
cmovne ebp, eax
cmp byte [edx + 9], 0
je 0x4a82fc
inc dword [edx + 0xc]
cmp byte [edx + 0xa], 0
jne 0x4a82fc
push edx
call fcn.00472c10
add esp, 4
push 0x58
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00656e20
mov dword [esp + 0x74], ebx
add esp, 0xc
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x30]
mov eax, dword [esp + 0x110]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x58], 0x3b9aca00
mov dword [esp + 0x5c], 0
mov word [esp + 0x60], 0x100
test ecx, ecx
je 0x4a86c1
shr ecx, 3
push 0
lea eax, [ecx + 1]
push eax
mov dword [esp + 0x90], eax
call fcn.004c19b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a869b
push dword [esp + 0x88]
push 0
push ebx
call fcn.00656e20
mov dword [esp + 0x30], ebx
push dword [esi + 0x24]
call fcn.00498b00
add esp, 0x10
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4a83d2
mov dword [esp + 0x34], 7
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x30], eax
jne 0x4a86c1
mov dword [esp + 0x30], 1
jmp 0x4a86c1
mov eax, dword [0x713208]
xor edx, edx
div dword [esi + 0x24]
lea ebx, [eax + 1]
cmp ebx, dword [esp + 0x28]
ja 0x4a83fb
mov ecx, dword [esp + 0x24]
mov edx, ebx
shr edx, 3
and ebx, 7
movzx eax, byte [edx + ecx]
bts eax, ebx
mov byte [edx + ecx], al
test ebp, ebp
je 0x4a8430
mov dword [esp + 0x3c], str.Freelist:
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x24]
bswap eax
push eax
mov eax, dword [ecx + 0x20]
bswap eax
push eax
lea eax, [esp + 0x24]
push 1
push eax
call fcn.00474090
add esp, 0x10
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x10c]
test edx, edx
jne 0x4a84aa
cmp byte [esi + 0x11], 0
je 0x4a8485
xor ecx, ecx
xor edx, edx
test ebp, ebp
jle 0x4a8460
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + edx*4]
cmp ecx, eax
cmovae eax, ecx
inc edx
mov ecx, eax
cmp edx, ebp
jl 0x4a8451
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
bswap eax
cmp ecx, eax
je 0x4a84a6
push eax
push ecx
lea eax, [esp + 0x24]
push str.max_rootpage___u__disagrees_with_header___u_
push eax
call fcn.00473ed0
add esp, 0x10
jmp 0x4a84a6
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
bswap eax
test eax, eax
je 0x4a84aa
lea eax, [esp + 0x1c]
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
push eax
call fcn.00473ed0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
xor ebx, ebx
and dword [ecx + 0x20], 0xffdfffff
mov eax, dword [ecx + 0x24]
mov dword [ecx + 0x24], eax
test ebp, ebp
jle 0x4a856f
cmp dword [esp + 0x2c], 0
je 0x4a856f
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x6c], xmm0
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x4a852b
cmp byte [esi + 0x11], 0
je 0x4a8503
cmp eax, 1
jbe 0x4a8503
test edx, edx
jne 0x4a8503
push edx
push 1
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004742d0
add esp, 0x10
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
push closesocket
push 0xffffffffffffffff
push ecx
mov eax, dword [eax + ebx*4]
push eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
push eax
call fcn.004743e0
add esp, 0x14
mov eax, 0x9000
test word [edi + 0x10], ax
je 0x4a8549
push dword [esp + 0x70]
push dword [esp + 0x70]
push edi
call fcn.004f5580
add esp, 0xc
jmp 0x4a855f
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [edi], eax
mov eax, 4
mov dword [edi + 4], ecx
mov word [edi + 0x10], ax
mov edx, dword [esp + 0x10]
inc ebx
add edi, 0x28
cmp ebx, ebp
jl 0x4a84c4
cmp dword [esp + 0x10], 0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x24], ecx
jne 0x4a86c1
mov edi, 1
cmp dword [esp + 0x28], edi
jb 0x4a86c1
nop word [eax + eax]
cmp dword [esp + 0x2c], 0
je 0x4a86c1
mov eax, dword [esp + 0x24]
mov ebp, edi
mov ecx, edi
shr ebp, 3
and ecx, 7
mov ebx, 1
shl ebx, cl
test byte [eax + ebp], bl
jne 0x4a8627
cmp edi, 2
jae 0x4a85ce
xor ecx, ecx
jmp 0x4a860a
mov ecx, dword [esp + 0x14]
lea esi, [edi - 2]
mov eax, 0xcccccccd
mul dword [ecx + 0x28]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [0x713208]
sub esi, edx
xor edx, edx
div dword [ecx + 0x24]
xor ecx, ecx
dec eax
cmp esi, eax
sete cl
add esi, 2
add ecx, esi
mov esi, dword [esp + 0x14]
cmp ecx, edi
jne 0x4a8614
cmp byte [esi + 0x11], 0
jne 0x4a8627
push edi
lea eax, [esp + 0x20]
push str.Page__u:_never_used
push eax
call fcn.00473ed0
add esp, 0xc
mov eax, dword [esp + 0x24]
test byte [eax + ebp], bl
je 0x4a868e
cmp edi, 2
jae 0x4a8639
xor ecx, ecx
jmp 0x4a866d
mov ebx, dword [esp + 0x14]
lea esi, [edi - 2]
mov eax, 0xcccccccd
mul dword [ebx + 0x28]
mov eax, esi
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x713208]
xor ecx, ecx
sub esi, edx
xor edx, edx
div dword [ebx + 0x24]
dec eax
cmp esi, eax
sete cl
add ecx, 2
add ecx, esi
mov esi, dword [esp + 0x14]
cmp ecx, edi
jne 0x4a868e
cmp byte [esi + 0x11], 0
je 0x4a868e
push edi
lea eax, [esp + 0x20]
push str.Page__u:_pointer_map_referenced
push eax
call fcn.00473ed0
add esp, 0xc
inc edi
cmp edi, dword [esp + 0x28]
jbe 0x4a85a0
jmp 0x4a86c1
mov eax, dword [esp + 0x30]
mov ecx, 1
test eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], 7
cmove eax, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
push dword [esp + 0x64]
call fcn.00498f90
mov esi, dword [esp + 0x28]
add esp, 4
test esi, esi
je 0x4a872a
cmp dword [0x713018], 0
je 0x4a8720
mov eax, dword [0x7181b8]
test eax, eax
je 0x4a86f1
push eax
call dword [0x713068]
add esp, 4
push esi
call dword [0x713044]
sub dword [0x718150], eax
dec dword [0x718174]
push esi
call dword [0x71303c]
mov eax, dword [0x7181b8]
add esp, 8
test eax, eax
je 0x4a872a
push eax
call dword [0x713070]
jmp 0x4a8727
push esi
call dword [0x71303c]
add esp, 4
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov dword [ecx], eax
pop ebp
pop ebx
test eax, eax
jne 0x4a8782
mov al, byte [esp + 0x51]
test al, 4
je 0x4a8766
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4a8760
push ecx
push dword [esp + 0x40]
call fcn.004aeac0
mov al, byte [esp + 0x59]
add esp, 8
and al, 0xfb
mov byte [esp + 0x51], al
mov dword [esp + 0x44], 0
xor ecx, ecx
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
jmp 0x4a87b5
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4a87b5
mov eax, dword [esp + 0x4c]
mov byte [eax + ecx], 0
cmp dword [esp + 0x48], 0
jbe 0x4a87b1
test byte [esp + 0x51], 4
jne 0x4a87b1
lea eax, [esp + 0x3c]
push eax
call fcn.004ef8a0
add esp, 4
mov ecx, eax
jmp 0x4a87b5
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
cmp byte [ecx + 9], 0
je 0x4a87d4
add dword [ecx + 0xc], 0xffffffff
jne 0x4a87d4
push ecx
call fcn.004f08e0
add esp, 4
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0x24]
xor ecx, esp
call fcn.0065469c
add esp, 0xe8
ret