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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x4e6734]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xe4]
cmp dword [ebx], 0
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 4]
push esi
mov dword [esp + 0x10], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
push edi
mov edi, dword [esp + 0xec]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 0
mov esi, 1
jne 0x43992a
mov dword [esp + 0x10], esi
cmp dword [ebx + 4], esi
je 0x43992a
xor esi, esi
mov eax, ecx
call fcn.0041c7d0
push 0x50
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004acf20
mov dword [esp + 0x88], edi
mov dword [esp + 0x3c], ebp
mov edx, dword [ebp]
mov eax, ebp
mov dword [esp + 0x40], edx
call fcn.0040ff10
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x104]
push 0x3b9aca00
mov dword [esp + 0x50], eax
push 0x64
push 0
lea ecx, [esp + 0x98]
lea eax, [esp + 0x78]
call fcn.0040a2a0
mov eax, dword [esp + 0x54]
add esp, 0x18
mov byte [esp + 0x75], 1
test eax, eax
je 0x439bd6
shr eax, 3
inc eax
push 0
push eax
call fcn.00419b80
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4399b9
lea eax, [esp + 0x30]
call fcn.00410390
jmp 0x439bd6
mov edi, dword [ebp + 0x24]
call fcn.0041adb0
mov dword [esp + 0x78], eax
test eax, eax
jne 0x4399d7
lea eax, [esp + 0x30]
call fcn.00410390
jmp 0x439bd6
mov eax, dword [0x4e3234]
xor edx, edx
div dword [ebp + 0x24]
inc eax
cmp eax, dword [esp + 0x3c]
ja 0x4399f3
mov ecx, eax
lea edx, [esp + 0x30]
call fcn.00410440
test esi, esi
je 0x439a2e
mov dword [esp + 0x50], str.Freelist:
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x38]
lea eax, [ecx + 0x24]
call fcn.0040b5e0
push eax
lea eax, [ecx + 0x20]
call fcn.0040b5e0
push eax
lea edx, [esp + 0x38]
push 1
push edx
call fcn.00439120
add esp, 0x10
mov dword [esp + 0x50], 0
cmp dword [esp + 0x10], 0
jne 0x439aa8
cmp byte [ebp + 0x11], 0
je 0x439a85
mov edi, dword [esp + 0xf4]
xor edx, edx
xor eax, eax
test edi, edi
jle 0x439a5e
lea ebx, [ebx]
mov ecx, dword [ebx + eax*4]
cmp edx, ecx
jae 0x439a59
mov edx, ecx
inc eax
cmp eax, edi
jl 0x439a50
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
add eax, 0x34
call fcn.0040b5e0
cmp edx, eax
je 0x439aaf
push eax
push edx
push str.max_rootpage___u__disagrees_with_header___u_
lea eax, [esp + 0x3c]
call fcn.0042c860
add esp, 0xc
jmp 0x439aaf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x38]
add eax, 0x40
call fcn.0040b5e0
test eax, eax
je 0x439aa8
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
lea eax, [esp + 0x34]
call fcn.0042c860
add esp, 4
mov edi, dword [esp + 0xf4]
mov eax, dword [ebp + 4]
and dword [eax + 0x20], 0xffdfffff
mov edx, dword [eax + 0x24]
xor esi, esi
mov dword [eax + 0x24], edx
mov dword [esp + 0x24], esi
test edi, edi
jle 0x439b33
lea esp, [esp]
cmp dword [esp + 0x40], 0
je 0x439b33
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x439b2a
cmp byte [ebp + 0x11], 0
je 0x439b0d
cmp eax, 1
jbe 0x439b0d
cmp dword [esp + 0x10], 0
jne 0x439b0d
push 0
push 1
mov edi, eax
lea esi, [esp + 0x38]
call fcn.00439090
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0xfc]
add esp, 8
mov ecx, dword [ebx + esi*4]
push SysReAllocString
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004392d0
add esp, 0x14
inc esi
cmp esi, edi
mov dword [esp + 0x24], esi
jl 0x439ad0
cmp dword [esp + 0x10], 0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jne 0x439bd6
mov esi, 1
cmp dword [esp + 0x3c], esi
jb 0x439bd6
lea ebx, [ebx]
cmp dword [esp + 0x40], 0
je 0x439bd6
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.00410420
test eax, eax
jne 0x439b9b
mov ecx, esi
mov edi, ebp
call fcn.0040f8a0
cmp eax, esi
jne 0x439b89
cmp byte [ebp + 0x11], 0
jne 0x439b9b
push esi
push str.Page__u:_never_used
lea eax, [esp + 0x38]
call fcn.0042c860
add esp, 8
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.00410420
test eax, eax
je 0x439bcf
mov ecx, esi
mov edi, ebp
call fcn.0040f8a0
cmp eax, esi
jne 0x439bcf
cmp byte [ebp + 0x11], 0
je 0x439bcf
push esi
push str.Page__u:_pointer_map_referenced
lea eax, [esp + 0x38]
call fcn.0042c860
add esp, 8
inc esi
cmp esi, dword [esp + 0x3c]
jbe 0x439b60
mov esi, dword [esp + 0x78]
call fcn.0040d500
mov eax, dword [esp + 0x38]
push eax
call fcn.00409f80
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
test eax, eax
jne 0x439c17
lea edx, [esp + 0x50]
push edx
call fcn.0040a270
mov eax, dword [esp + 8]
add esp, 4
mov dword [eax], 0
jmp 0x439c26
lea eax, [esp + 0x50]
call fcn.00421180
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
call fcn.0040f630
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x38]
xor ecx, esp
call fcn.004ac66d
add esp, 0xd8
ret