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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x559940]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
test edi, edi
jle 0x425cb9
mov eax, edi
dec edi
cmp dword [esi + 0x10], 0
mov dword [ebp + 0xc], edi
je 0x425cb9
cmp ebx, 1
jl 0x425ca2
cmp ebx, dword [esi + 0xc]
ja 0x425c81
mov eax, dword [esi + 8]
mov ecx, ebx
shr ecx, 3
add eax, ecx
mov ecx, ebx
mov dword [esp + 0x18], eax
and ecx, 7
movzx edx, byte [eax]
mov eax, 1
shl eax, cl
test edx, eax
jne 0x425c60
mov eax, dword [esp + 0x18]
bts edx, ecx
push 0
lea ecx, [esp + 0x3c]
push ecx
mov byte [eax], dl
mov eax, dword [esi + 4]
push ebx
push eax
mov eax, dword [eax + 0xc8]
call eax
add esp, 0x10
test eax, eax
jne 0x425c3f
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
je 0x425b26
mov eax, dword [ecx + 4]
mov ecx, dword [esi]
bswap eax
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x11], 0
je 0x4259ee
lea eax, [esp + 0x24]
mov edx, ebx
push eax
lea eax, [esp + 0x11]
push eax
call fcn.0041a190
add esp, 8
test eax, eax
je 0x4259c5
cmp eax, 7
je 0x4259ad
cmp eax, 0xc0a
jne 0x4259b4
mov dword [esi + 0x18], 1
push ebx
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00425830
add esp, 0xc
jmp 0x4259ee
mov cl, byte [esp + 0xd]
mov eax, dword [esp + 0x24]
cmp cl, 2
jne 0x4259d6
test eax, eax
je 0x4259ee
push eax
movzx eax, cl
push eax
push 0
push 2
push ebx
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push esi
call fcn.00425830
add esp, 0x1c
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x24]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub eax, 2
cmp ecx, eax
jle 0x425a1f
push ebx
push str.freelist_leaf_count_too_big_on_page__d
push esi
call fcn.00425830
add esp, 0xc
dec edi
mov dword [ebp + 0xc], edi
jmp 0x425b9e
test ecx, ecx
jle 0x425b1f
mov eax, dword [esp + 0x1c]
mov edx, ecx
add eax, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
mov edi, dword [eax]
bswap edi
cmp byte [ecx + 0x11], 0
je 0x425ab1
lea eax, [esp + 0x28]
mov edx, edi
push eax
lea eax, [esp + 0x12]
push eax
call fcn.0041a190
add esp, 8
test eax, eax
je 0x425a80
cmp eax, 7
je 0x425a68
cmp eax, 0xc0a
jne 0x425a6f
mov dword [esi + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00425830
add esp, 0xc
jmp 0x425aa9
mov cl, byte [esp + 0xe]
mov eax, dword [esp + 0x28]
cmp cl, 2
jne 0x425a91
test eax, eax
je 0x425aa9
push eax
movzx eax, cl
push eax
push 0
push 2
push edi
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push esi
call fcn.00425830
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edi, edi
je 0x425b04
cmp edi, dword [esi + 0xc]
jbe 0x425acb
push edi
push str.invalid_page_number__d
push esi
call fcn.00425830
add esp, 0xc
jmp 0x425afc
mov ebx, edi
mov ecx, edi
shr ebx, 3
and ecx, 7
add ebx, dword [esi + 8]
mov eax, 1
shl eax, cl
movzx edx, byte [ebx]
test edx, eax
je 0x425af7
push edi
push str.2nd_reference_to_page__d
push esi
call fcn.00425830
add esp, 0xc
jmp 0x425afc
bts edx, ecx
mov byte [ebx], dl
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add eax, 4
sub edx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jne 0x425a38
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
sub edi, ecx
mov dword [ebp + 0xc], edi
jmp 0x425b9e
mov ecx, dword [esi]
cmp byte [ecx + 0x11], 0
je 0x425b9e
test edi, edi
jle 0x425b9e
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x13]
push eax
mov edi, dword [edi]
bswap edi
mov edx, edi
call fcn.0041a190
add esp, 8
test eax, eax
je 0x425b76
cmp eax, 7
je 0x425b5e
cmp eax, 0xc0a
jne 0x425b65
mov dword [esi + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00425830
add esp, 0xc
jmp 0x425b9e
mov cl, byte [esp + 0xf]
mov eax, dword [esp + 0x2c]
cmp cl, 4
jne 0x425b87
cmp eax, ebx
je 0x425b9e
push eax
movzx eax, cl
push eax
push ebx
push 4
push edi
push str.Bad_ptr_map_entry_key_d_expected__d__d__got__d__d_
push esi
call fcn.00425830
add esp, 0x1c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebx, dword [eax]
bswap ebx
mov dword [ebp + 8], ebx
test edx, edx
je 0x425c02
test byte [edx + 0x1c], 0x20
je 0x425bf9
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov edi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov ebx, dword [edi]
cdq
push edx
push eax
push 0
push ecx
call fcn.004f4a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x425c02
mov ecx, dword [esp + 0x38]
call fcn.0040f8d0
cmp dword [esp + 0x20], 0
mov edi, dword [ebp + 0xc]
je 0x425c25
xor eax, eax
test ebx, ebx
setne al
cmp edi, eax
jge 0x425c25
push str.free_page_count_in_header_is_too_small
push esi
call fcn.00425830
add esp, 8
test edi, edi
jg 0x4258f3
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push ebx
push str.failed_to_get_page__d
push esi
call fcn.00425830
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push ebx
push str.2nd_reference_to_page__d
push esi
call fcn.00425830
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push ebx
push str.invalid_page_number__d
push esi
call fcn.00425830
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret
push dword [esp + 0x30]
push dword [esp + 0x38]
push eax
push str._d_of__d_pages_missing_from_overflow_list_starting_at__d
push esi
call fcn.00425830
add esp, 0x14
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f49c2
mov esp, ebp
pop ebp
ret