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

Disassembly:
push 0xa4
mov eax, 0x438e77
call fcn.00434148
mov esi, ecx
mov dword [ebp - 0x94], esi
mov eax, dword [esi + 4]
mov ecx, 0x16041101
cmp eax, ecx
je 0x42228e
push ecx
push eax
push str.hostpolicy.dll
push str.The_version_of_the_data_layout_used_to_initialize__s_is__0x_04x___expected_version__0x_04x_
call fcn.00404eb2
add esp, 0x10
xor al, al
jmp 0x422913
push 0x7c
push ecx
push dword [esi]
push ecx
push str.Reading_from_host_interface_version:__0x_04x:_d__to_initialize_policy_version:__0x_04x:_d_
call fcn.00404e54
xor ebx, ebx
mov dword [ebp - 0x78], 7
xor eax, eax
mov dword [ebp - 0x8c], ebx
add esp, 0x14
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], ax
mov dword [ebp - 4], ebx
cmp dword [esi], 0x3c
jb 0x422329
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0x4538b8
call fcn.004221af
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
push 0x4538c4
call fcn.004221af
push dword [esi + 0x20]
mov ecx, 0x4538d0
call fcn.00403ef8
cmp dword [esi + 0x24], ebx
push 0x453900
setne byte [0x453936]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
call fcn.004221af
cmp dword [esi + 0x30], ebx
setne byte [0x453934]
cmp dword [esi + 0x34], ebx
setne byte [0x453935]
mov eax, dword [esi + 0x38]
mov dword [0x453930], eax
jmp 0x42233f
push 0x3c
push dword [esi]
push str.hostpolicy.dll
push str.The_size_of_the_data_layout_used_to_initialize__s_is__d__expected_at_least__d
call fcn.00404eb2
add esp, 0x10
mov eax, dword [esi]
cmp eax, 0x40
jb 0x422355
push dword [esi + 0x3c]
mov ecx, 0x453918
call fcn.00403ef8
mov eax, dword [esi]
cmp eax, 0x48
jb 0x422377
push dword [esi + 0x40]
mov ecx, 0x4538e8
call fcn.00403ef8
push dword [esi + 0x44]
lea ecx, [ebp - 0x8c]
call fcn.00403ef8
mov eax, dword [esi]
cmp eax, 0x50
jb 0x422626
mov ebx, dword [esi + 0x48]
xor eax, eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
mov edx, dword [esi + 0x4c]
mov ecx, ebx
push eax
call fcn.004221af
mov edx, dword [esi + 0x54]
lea eax, [ebp - 0x50]
mov ecx, dword [esi + 0x50]
push eax
call fcn.004221af
mov edx, dword [esi + 0x5c]
lea eax, [ebp - 0x20]
mov ecx, dword [esi + 0x58]
push eax
call fcn.004221af
mov edx, dword [esi + 0x64]
lea eax, [ebp - 0xac]
mov ecx, dword [esi + 0x60]
push eax
call fcn.004221af
push ebx
mov ecx, 0x45390c
call fcn.0042297a
mov edi, dword [ebp - 0xac]
test ebx, ebx
mov ebx, dword [ebp - 0x20]
push 0x18
pop ecx
je 0x4224ac
mov ecx, dword [ebp - 0x50]
mov eax, ebx
sub ecx, eax
sub edi, eax
mov dword [ebp - 0xb0], ecx
mov esi, ebx
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x9c], ecx
push 0x1d0
call fcn.0042f02f
pop ecx
mov ecx, eax
mov dword [ebp - 0xa0], ecx
lea eax, [edi + esi]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0xb0]
add eax, esi
push esi
push eax
mov eax, dword [ebp - 0x9c]
add eax, esi
push eax
call fcn.00427342
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
mov ecx, 0x45390c
call fcn.00412291
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 4
call fcn.00412274
push 0x18
pop ecx
add esi, ecx
sub dword [ebp - 0x90], 1
jne 0x422435
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0xac]
mov byte [ebp - 4], 3
test edi, edi
je 0x42250d
cmp edi, dword [ebp - 0xa8]
je 0x4224d8
mov esi, edi
mov ecx, esi
call fcn.004017e5
push 0x18
pop ecx
add esi, ecx
cmp esi, dword [ebp - 0xa8]
jne 0x4224be
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
sub eax, edi
cdq
idiv ecx
imul ecx, eax, 0x18
mov eax, edi
cmp ecx, 0x1000
jb 0x422504
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push ecx
push edi
call fcn.0042f05f
pop ecx
pop ecx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x422568
mov edi, ebx
cmp edi, dword [ebp - 0x1c]
je 0x422533
push 0x18
pop esi
mov ecx, edi
call fcn.004017e5
add edi, esi
cmp edi, dword [ebp - 0x1c]
jne 0x42251f
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x18]
sub eax, ebx
push 0x18
cdq
pop ecx
idiv ecx
imul ecx, eax, 0x18
mov eax, ebx
cmp ecx, 0x1000
jb 0x42255f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push ecx
push ebx
call fcn.0042f05f
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4225c6
mov edi, ebx
cmp edi, dword [ebp - 0x4c]
je 0x422591
push 0x18
pop esi
mov ecx, edi
call fcn.004017e5
add edi, esi
cmp edi, dword [ebp - 0x4c]
jne 0x42257d
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x48]
sub eax, ebx
push 0x18
cdq
pop ecx
idiv ecx
imul ecx, eax, 0x18
mov eax, ebx
cmp ecx, 0x1000
jb 0x4225bd
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push ecx
push ebx
call fcn.0042f05f
pop ecx
pop ecx
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x422867
mov edi, ebx
cmp edi, dword [ebp - 0x34]
je 0x4225f3
push 0x18
pop esi
mov ecx, edi
call fcn.004017e5
add edi, esi
cmp edi, dword [ebp - 0x34]
jne 0x4225df
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x30]
sub eax, ebx
push 0x18
cdq
pop ecx
idiv ecx
imul ecx, eax, 0x18
mov eax, ebx
cmp ecx, 0x1000
jb 0x42261f
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push ecx
push ebx
jmp 0x422860
mov eax, dword [0x453914]
mov ebx, 0x45390c
sub eax, dword [0x45390c]
sar eax, 2
cmp eax, 2
jae 0x422647
push 2
mov ecx, ebx
call fcn.004229f6
mov edi, 0x1d0
push edi
call fcn.0042f02f
pop ecx
mov dword [ebp - 0xa0], eax
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.004272b7
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 8
push eax
mov ecx, ebx
call fcn.00412291
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.00412274
cmp byte [0x453936], 0
je 0x422867
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push dword [esi + 0x18]
and dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00403ef8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
and dword [ebp - 0x44], 0
xor eax, eax
push dword [esi + 0x1c]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00403ef8
and dword [ebp - 0x74], 0
xor eax, eax
and dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test eax, eax
je 0x42275f
dec eax
or ecx, 0xffffffff
cmp eax, ecx
push 0x5c
cmovb ecx, eax
lea eax, [edx + ecx*2]
pop ecx
jmp 0x42271f
cmp eax, edx
je 0x42275f
sub eax, 2
cmp word [eax], cx
jne 0x422718
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x42275f
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00403af5
lea ecx, [ebp - 0x74]
cmp ecx, eax
je 0x422757
mov byte [ebp - 0x9c], 0
push dword [ebp - 0x9c]
push eax
call fcn.00403f7e
lea ecx, [ebp - 0x5c]
call fcn.004017e5
push edi
call fcn.0042f02f
pop ecx
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.00427342
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xd
push eax
mov ecx, ebx
call fcn.00412291
lea ecx, [ebp - 0x90]
call fcn.00412274
mov byte [ebp - 4], 0xa
mov ebx, 0x1000
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x4227e7
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, ebx
jb 0x4227de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push edx
push ecx
call fcn.0042f05f
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42281c
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, ebx
jb 0x422813
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push edx
push ecx
call fcn.0042f05f
pop ecx
pop ecx
and dword [ebp - 0x34], 0
xor eax, eax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x422867
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, ebx
jb 0x42285e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42285e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042f05f
pop ecx
pop ecx
mov eax, dword [esi]
cmp eax, 0x6c
jb 0x42287d
push dword [esi + 0x68]
mov ecx, 0x453938
call fcn.00403ef8
mov eax, dword [esi]
cmp eax, 0x70
jb 0x4228ab
push dword [esi + 0x6c]
mov ecx, 0x453950
call fcn.00403ef8
push dword [esi + 0x70]
mov ecx, 0x453968
call fcn.00403ef8
push dword [esi + 0x74]
mov ecx, 0x453980
call fcn.00403ef8
mov eax, dword [esi]
cmp eax, 0x7c
jb 0x4228d5
cmp dword [esi + 0x78], 0
je 0x4228d5
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x453ac8]
cmp eax, dword [ecx + 4]
jg 0x422919
mov dword [0x4537b8], 0x4539e0
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x422911
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422908
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422858
push edx
push ecx
call fcn.0042f05f
pop ecx
pop ecx
mov al, 1
call fcn.004340f7
ret
mov edi, 0x453ac8
push edi
call fcn.0042f5ba
cmp dword [0x453ac8], 0xffffffff
pop ecx
jne 0x4228cb
push 0
mov byte [ebp - 4], 0xe
push dword [esi + 0x78]
push dword [esi + 0x74]
push dword [esi + 0x6c]
call fcn.0042211d
push 0x439fb0
call fcn.0042f2cf
pop ecx
push edi
call fcn.0042f570
pop ecx
jmp 0x4228cb