Function at 0x1f0079f0
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 0x1f007aaf
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 0x1f007aa5
push 0x1c
lea ecx, [esp + 0x4c]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp esi, ebp
je 0x1f007ad8
cmp eax, ebp
je 0x1f007ad8
mov ebp, 1
test dword [esp + 0x58], 0x2000
je 0x1f007b52
mov eax, dword [esp + 0x54]
jmp 0x1f007af0
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 0x1f007b16
test eax, eax
je 0x1f007b16
mov ebp, 1
jmp 0x1f007b18
xor ebp, ebp
test dword [esp + 0x3c], 0x2000
je 0x1f007b30
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
jmp 0x1f007af0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x88]
cmp ecx, eax
jb 0x1f007b76
mov edx, dword [esp + 0x54]
add edx, eax
cmp ecx, edx
jae 0x1f007b76
mov dword [ebx + 0x2c], 1
jmp 0x1f007b76
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 0x1f007be0
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 0x1f007ba4
test eax, eax
je 0x1f007ba4
mov ebp, 1
jmp 0x1f007ba6
xor ebp, ebp
test dword [esp + 0x24], 0x100
je 0x1f007bbe
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
jmp 0x1f007b84
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x88]
cmp esi, eax
jb 0x1f007c1b
mov ecx, dword [esp + 0x38]
add ecx, eax
cmp esi, ecx
jae 0x1f007c1b
mov dword [ebx + 0x2c], 2
jmp 0x1f007c1b
cmp dword [esp + 0x30], 0
mov ecx, 7
lea esi, [esp + 0x2c]
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
jne 0x1f007c05
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 0x1f007d1c
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 0x1f007ccb
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 0x1f007c8c
lea edi, [esi + ecx]
cmp dword [esp + 0x88], edi
jb 0x1f007d17
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 0x1f007cb3
test eax, eax
je 0x1f007cb3
mov ebp, 1
jmp 0x1f007cb5
xor ebp, ebp
test eax, eax
je 0x1f007cc7
test dword [esp + 0x20], 0x1000
je 0x1f007c30
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 0x1f007d4b
test ebp, ebp
je 0x1f007d4b
cmp esi, edx
jb 0x1f007cf2
lea ecx, [eax + edx]
cmp esi, ecx
jb 0x1f007d44
lea ecx, [eax + edx]
cmp esi, ecx
jbe 0x1f007d4b
push 0x1c
lea edx, [esp + 0x68]
push edx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test ebp, ebp
je 0x1f007d26
test eax, eax
je 0x1f007d26
mov ebp, 1
jmp 0x1f007d28
mov dword [ebx + 0x2c], eax
jmp 0x1f007ccf
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
jmp 0x1f007cdd
xor ebp, ebp
test dword [esp + 0x74], 0x1000
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
je 0x1f007d4b
add eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
jmp 0x1f007ce7
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.0x1f007d7f
jmp dword [esi*4 + 0x1f007e14]
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 0x1f007de3
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