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

Disassembly:
sub esp, 0x70
mov ecx, dword [esp + 0x78]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
push 0x1c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x68]
push eax
xor ebp, ebp
push ecx
push edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], ebp
mov dword [ebx + 0x2c], ebp
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor edx, edx
cmp eax, ebp
setne dl
test dword [esp + 0x74], 0x1000
mov esi, edx
jne 0x1f007e5f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x70
ret
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x88], eax
jb 0x1f007e55
push 0x1c
lea ecx, [esp + 0x4c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp esi, ebp
je 0x1f007e88
cmp eax, ebp
je 0x1f007e88
mov ebp, 1
test dword [esp + 0x58], 0x2000
je 0x1f007f02
mov eax, dword [esp + 0x54]
jmp 0x1f007ea0
mov ecx, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
push 0x1c
lea edx, [esp + 0x30]
push edx
add eax, ecx
push eax
push edi
call esi
test ebp, ebp
je 0x1f007ec6
test eax, eax
je 0x1f007ec6
mov ebp, 1
jmp 0x1f007ec8
xor ebp, ebp
test dword [esp + 0x3c], 0x2000
je 0x1f007ee0
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
jmp 0x1f007ea0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jb 0x1f007f26
mov edx, dword [esp + 0x54]
add edx, eax
cmp ecx, edx
jae 0x1f007f26
mov dword [ebx + 0x2c], 1
jmp 0x1f007f26
mov ecx, 7
lea esi, [esp + 0x48]
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov dword [esp + 0x54], 0
test dword [esp + 0x40], 0x100
je 0x1f007f90
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
push 0x1c
lea ecx, [esp + 0x14]
push ecx
add eax, edx
push eax
push edi
call esi
test ebp, ebp
je 0x1f007f54
test eax, eax
je 0x1f007f54
mov ebp, 1
jmp 0x1f007f56
xor ebp, ebp
test dword [esp + 0x24], 0x100
je 0x1f007f6e
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
jmp 0x1f007f34
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x88]
cmp esi, eax
jb 0x1f007fcb
mov ecx, dword [esp + 0x38]
add ecx, eax
cmp esi, ecx
jae 0x1f007fcb
mov dword [ebx + 0x2c], 2
jmp 0x1f007fcb
cmp dword [esp + 0x30], 0
mov ecx, 7
lea esi, [esp + 0x2c]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
jne 0x1f007fb5
mov ecx, 7
lea esi, [esp + 0x64]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x84]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x38], 0
test dword [esp + 0x20], 0x1000
jne 0x1f0080cc
lea esp, [esp]
mov eax, dword [esp + 0x1c]
mov ecx, 7
lea esi, [esp + 0x10]
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x1f00807b
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
xor eax, eax
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x88], ecx
jb 0x1f00803c
lea edi, [esi + ecx]
cmp dword [esp + 0x88], edi
jb 0x1f0080c7
mov eax, dword [esp + 0x84]
push 0x1c
lea edx, [esp + 0x14]
push edx
add esi, ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test ebp, ebp
je 0x1f008063
test eax, eax
je 0x1f008063
mov ebp, 1
jmp 0x1f008065
xor ebp, ebp
test eax, eax
je 0x1f008077
test dword [esp + 0x20], 0x1000
je 0x1f007fe0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
cmp dword [ebx + 0x2c], 0
jne 0x1f0080fb
test ebp, ebp
je 0x1f0080fb
cmp esi, edx
jb 0x1f0080a2
lea ecx, [eax + edx]
cmp esi, ecx
jb 0x1f0080f4
lea ecx, [eax + edx]
cmp esi, ecx
jbe 0x1f0080fb
push 0x1c
lea edx, [esp + 0x68]
push edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test ebp, ebp
je 0x1f0080d6
test eax, eax
je 0x1f0080d6
mov ebp, 1
jmp 0x1f0080d8
mov dword [ebx + 0x2c], eax
jmp 0x1f00807f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jmp 0x1f00808d
xor ebp, ebp
test dword [esp + 0x74], 0x1000
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
je 0x1f0080fb
add eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
jmp 0x1f008097
mov dword [ebx + 0x2c], 3
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov esi, dword [ebx + 0x2c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0xc], ecx
add ecx, eax
add ecx, edi
mov dword [ebx + 4], edi
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
cmp esi, 3
ja case.default.0x1f00812f
jmp dword [esi*4 + 0x1f0081c4]
xor ebp, ebp
pop edi
pop esi
mov dword [ebx + 0x1c], ebp
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x28], ebp
mov eax, ebp
pop ebp
pop ebx
add esp, 0x70
ret
sub eax, dword [esp + 0x88]
mov edx, dword [esp + 0x48]
add eax, dword [esp + 0x38]
add eax, edi
add eax, edx
mov dword [ebx + 0x1c], eax
sub ecx, eax
xor eax, eax
pop edi
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
pop esi
mov eax, ebp
pop ebp
mov dword [ebx + 0x20], ecx
pop ebx
add esp, 0x70
ret
sub eax, dword [esp + 0x88]
mov edx, dword [esp + 0x2c]
add eax, dword [esp + 0x38]
jmp 0x1f008193
sub eax, dword [esp + 0x88]
add eax, edx
sub ecx, eax
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x90]
mov esi, ecx
lea edx, [eax*4]
sub esi, edx
mov dword [ebx + 0x20], ecx
sub ecx, eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x24], esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x70
ret