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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [section..data]
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 0x4309e9
mov eax, edi
dec edi
cmp dword [esi + 0x10], 0
mov dword [ebp + 0xc], edi
je 0x4309e9
cmp ebx, 1
jl 0x4309d2
cmp ebx, dword [esi + 0xc]
ja 0x4309b1
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 0x430990
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 0x43096f
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
je 0x430856
mov eax, dword [ecx + 4]
mov ecx, dword [esi]
bswap eax
mov dword [esp + 0x18], eax
cmp byte [ecx + 0x11], 0
je 0x43071e
lea eax, [esp + 0x24]
mov edx, ebx
push eax
lea eax, [esp + 0x11]
push eax
call fcn.00424fc0
add esp, 8
test eax, eax
je 0x4306f5
cmp eax, 7
je 0x4306dd
cmp eax, 0xc0a
jne 0x4306e4
mov dword [esi + 0x18], 1
push ebx
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00430560
add esp, 0xc
jmp 0x43071e
mov cl, byte [esp + 0xd]
mov eax, dword [esp + 0x24]
cmp cl, 2
jne 0x430706
test eax, eax
je 0x43071e
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.00430560
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 0x43074f
push ebx
push str.freelist_leaf_count_too_big_on_page__d
push esi
call fcn.00430560
add esp, 0xc
dec edi
mov dword [ebp + 0xc], edi
jmp 0x4308ce
test ecx, ecx
jle 0x43084f
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 0x4307e1
lea eax, [esp + 0x28]
mov edx, edi
push eax
lea eax, [esp + 0x12]
push eax
call fcn.00424fc0
add esp, 8
test eax, eax
je 0x4307b0
cmp eax, 7
je 0x430798
cmp eax, 0xc0a
jne 0x43079f
mov dword [esi + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00430560
add esp, 0xc
jmp 0x4307d9
mov cl, byte [esp + 0xe]
mov eax, dword [esp + 0x28]
cmp cl, 2
jne 0x4307c1
test eax, eax
je 0x4307d9
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.00430560
add esp, 0x1c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test edi, edi
je 0x430834
cmp edi, dword [esi + 0xc]
jbe 0x4307fb
push edi
push str.invalid_page_number__d
push esi
call fcn.00430560
add esp, 0xc
jmp 0x43082c
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 0x430827
push edi
push str.2nd_reference_to_page__d
push esi
call fcn.00430560
add esp, 0xc
jmp 0x43082c
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 0x430768
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
sub edi, ecx
mov dword [ebp + 0xc], edi
jmp 0x4308ce
mov ecx, dword [esi]
cmp byte [ecx + 0x11], 0
je 0x4308ce
test edi, edi
jle 0x4308ce
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.00424fc0
add esp, 8
test eax, eax
je 0x4308a6
cmp eax, 7
je 0x43088e
cmp eax, 0xc0a
jne 0x430895
mov dword [esi + 0x18], 1
push edi
push str.Failed_to_read_ptrmap_key_d
push esi
call fcn.00430560
add esp, 0xc
jmp 0x4308ce
mov cl, byte [esp + 0xf]
mov eax, dword [esp + 0x2c]
cmp cl, 4
jne 0x4308b7
cmp eax, ebx
je 0x4308ce
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.00430560
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 0x430932
test byte [edx + 0x1c], 0x20
je 0x430929
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.004c2a20
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x430932
mov ecx, dword [esp + 0x38]
call fcn.0041a3d0
cmp dword [esp + 0x20], 0
mov edi, dword [ebp + 0xc]
je 0x430955
xor eax, eax
test ebx, ebx
setne al
cmp edi, eax
jge 0x430955
push str.free_page_count_in_header_is_too_small
push esi
call fcn.00430560
add esp, 8
test edi, edi
jg 0x430623
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push ebx
push str.failed_to_get_page__d
push esi
call fcn.00430560
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push ebx
push str.2nd_reference_to_page__d
push esi
call fcn.00430560
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret
push ebx
push str.invalid_page_number__d
push esi
call fcn.00430560
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ac4d4
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.00430560
add esp, 0x14
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret