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

Disassembly:
sub esp, 0xf0
mov eax, dword [0x4d437c]
xor eax, esp
mov dword [esp + 0xec], eax
cmp dword [ecx], 0
mov eax, dword [esp + 0x104]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x100]
push edi
mov edi, dword [esp + 0x108]
mov ebp, dword [edi + 4]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x84], eax
mov eax, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x18], 0
mov ebx, eax
jne 0x438eb9
cmp dword [ecx + 4], eax
mov dword [esp + 0x18], eax
je 0x438eb9
xor ebx, ebx
cmp byte [edi + 9], 0
je 0x438ecd
add dword [edi + 0xc], eax
cmp byte [edi + 0xa], 0
jne 0x438ecd
call fcn.0042d6a0
push 0x4c
lea ecx, [esp + 0x24]
push 0
push ecx
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x2c], ebp
mov edx, dword [ebp]
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
lea edx, [esp + 0x90]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], 0x64
mov dword [esp + 0x58], 0x3b9aca00
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], 1
je 0x43922d
shr eax, 3
add eax, 1
mov esi, eax
xor eax, eax
mov edx, esi
or edx, eax
je 0x438f91
push eax
push esi
call fcn.00419060
mov edi, eax
add esp, 8
test edi, edi
je 0x438f61
push esi
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
test edi, edi
mov dword [esp + 0x28], edi
jne 0x438f95
cmp dword [esp + 0x34], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x30], 0
jne 0x439229
mov dword [esp + 0x34], 1
jmp 0x439229
xor edi, edi
jmp 0x438f61
mov eax, dword [ebp + 0x24]
push eax
call fcn.00424130
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x438f69
mov eax, dword [0x4d44d0]
xor edx, edx
div dword [ebp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x2c]
ja 0x438fd2
mov edx, dword [esp + 0x28]
mov ecx, eax
shr ecx, 3
add edx, ecx
mov ecx, eax
and ecx, 7
mov al, 1
shl al, cl
or byte [edx], al
xor esi, esi
cmp ebx, esi
je 0x439003
mov dword [esp + 0x40], str.Main_freelist:
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x38]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
bswap edx
push edx
bswap eax
push 1
lea ecx, [esp + 0x28]
call fcn.004385f0
add esp, 8
mov dword [esp + 0x40], esi
cmp dword [esp + 0x18], esi
jne 0x439078
cmp byte [ebp + 0x11], 0
je 0x439058
mov ebx, dword [esp + 0x10c]
xor edx, edx
xor eax, eax
cmp ebx, esi
jle 0x439034
mov edi, edi
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax*4]
cmp edx, ecx
jae 0x43902d
mov edx, ecx
add eax, 1
cmp eax, ebx
jl 0x439020
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x34]
bswap eax
cmp edx, eax
je 0x43907f
push eax
push edx
push str.max_rootpage___d__disagrees_with_header___d_
lea eax, [esp + 0x2c]
call fcn.00438430
add esp, 0xc
jmp 0x43907f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x40]
bswap ecx
test ecx, ecx
je 0x439078
push str.incremental_vacuum_enabled_with_a_max_rootpage_of_zero
lea eax, [esp + 0x24]
call fcn.00438430
add esp, 4
mov ebx, dword [esp + 0x10c]
mov eax, dword [ebp + 4]
and dword [eax + 0x20], 0xffdfffff
cmp ebx, esi
mov edx, dword [eax + 0x24]
mov dword [eax + 0x24], edx
mov dword [esp + 0x78], esi
jle 0x439105
cmp dword [esp + 0x30], 0
je 0x439105
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x4390fa
cmp byte [ebp + 0x11], 0
je 0x4390d6
cmp edi, 1
jbe 0x4390d6
cmp dword [esp + 0x18], 0
jne 0x4390d6
push 0
mov bl, 1
lea esi, [esp + 0x24]
call fcn.00438560
mov esi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x110]
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + esi*4]
push 0x7fffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x80]
push ecx
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00438830
add esp, 0x14
add esi, 1
cmp esi, ebx
mov dword [esp + 0x78], esi
jl 0x439097
cmp dword [esp + 0x18], 0
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
jne 0x439229
mov edi, 1
cmp dword [esp + 0x2c], edi
jb 0x439229
cmp dword [esp + 0x30], 0
je 0x439229
mov edx, dword [esp + 0x28]
mov ecx, edi
and ecx, 7
mov ebx, 1
shl ebx, cl
mov esi, edi
shr esi, 3
mov dword [esp + 0x78], esi
test byte [esi + edx], bl
jne 0x4391bb
cmp edi, 2
jae 0x439168
xor ecx, ecx
jmp 0x43919f
mov eax, 0xcccccccd
mul dword [ebp + 0x28]
mov esi, edx
shr esi, 2
xor edx, edx
add esi, 1
lea eax, [edi - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x4d44d0]
imul ecx, esi
div dword [ebp + 0x24]
add ecx, 2
add eax, 1
cmp ecx, eax
jne 0x43919b
add ecx, 1
mov esi, dword [esp + 0x78]
cmp ecx, edi
jne 0x4391a9
cmp byte [ebp + 0x11], 0
jne 0x4391bb
push edi
push str.Page__d_is_never_used
lea eax, [esp + 0x28]
call fcn.00438430
add esp, 8
mov eax, dword [esp + 0x28]
test byte [esi + eax], bl
je 0x43921c
cmp edi, 2
jae 0x4391cd
xor ecx, ecx
jmp 0x439200
mov eax, 0xcccccccd
mul dword [ebp + 0x28]
mov esi, edx
shr esi, 2
xor edx, edx
add esi, 1
lea eax, [edi - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x4d44d0]
imul ecx, esi
div dword [ebp + 0x24]
add ecx, 2
add eax, 1
cmp ecx, eax
jne 0x439200
add ecx, 1
cmp ecx, edi
jne 0x43921c
cmp byte [ebp + 0x11], 0
je 0x43921c
push edi
push str.Pointer_map_page__d_is_referenced
lea eax, [esp + 0x28]
call fcn.00438430
add esp, 8
add edi, 1
cmp edi, dword [esp + 0x2c]
jbe 0x439136
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x64]
call fcn.00424250
mov esi, dword [esp + 0x28]
xor ebx, ebx
cmp esi, ebx
je 0x439298
cmp dword [0x4d43b8], ebx
je 0x43928e
mov eax, dword [0x4d6a20]
cmp eax, ebx
je 0x43925b
push eax
call dword [0x4d4408]
add esp, 4
push esi
call dword [0x4d43e4]
sub dword [0x4d69b8], eax
sub dword [0x4d69dc], 1
add esp, 4
push esi
call dword [0x4d43dc]
mov eax, dword [0x4d6a20]
add esp, 4
cmp eax, ebx
je 0x439298
push eax
call dword [0x4d4410]
jmp 0x439295
push esi
call dword [0x4d43dc]
add esp, 4
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov ecx, dword [esp + 0x8c]
mov dword [ecx], eax
jne 0x4392da
test byte [esp + 0x61], 4
je 0x4392c6
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4392c1
mov ecx, dword [esp + 0x4c]
call fcn.00419270
and byte [esp + 0x61], 0xfb
mov edx, dword [esp + 0x74]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x50], ebx
mov dword [edx], ebx
jmp 0x43930c
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x439306
mov ecx, dword [esp + 0x5c]
mov byte [ecx + eax], 0
cmp dword [esp + 0x58], ebx
jbe 0x439302
test byte [esp + 0x61], 4
jne 0x439302
lea esi, [esp + 0x4c]
call fcn.0041b6b0
jmp 0x439306
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x74]
mov dword [edx], eax
cmp byte [edi + 9], 0
je 0x43931f
add dword [edi + 0xc], 0xffffffff
jne 0x43931f
mov esi, edi
call fcn.0042d660
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b76e6
add esp, 0xf0
ret