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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov ebx, eax
mov dword [esp], edx
mov eax, dword [ebx + 0x54]
cmp eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
je 0x702698
cmp eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
je 0x702698
cmp eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
je 0x702698
cmp eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
je 0x702698
xor eax, eax
jmp 0x70269d
mov eax, 1
test al, al
jne 0x7026b1
mov edx, dword [ebx + 0x54]
cmp edx, dword [ebx + 0x6c]
je 0x7026b1
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [ebx + 0x78]
jne 0x7026b8
xor eax, eax
jmp 0x702c2d
mov eax, ebx
call fcn.00702e1d
test al, al
je 0x7026ca
mov al, 1
jmp 0x702c2d
mov edx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
inc edx
and edx, dword [ebx + 0x24]
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, dword [ebx]
xor edx, edx
mov dl, byte [ecx + eax + 2]
mov ecx, dword [edx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 7
mov dword [esp + 0xc], ecx
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 1]
mov edx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl edx, 3
add dword [esp + 0xc], edx
mov ecx, dword [ebx]
movzx eax, byte [ecx + eax]
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0x3ffff
mov dword [esp + 8], eax
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 3]
mov edx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add edx, dword [esp + 8]
and edx, 0x3ffff
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x58], 5
jge 0x702843
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + eax*4]
and edx, dword [ebx + 0x24]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x24]
and ecx, eax
mov edx, dword [ebx]
mov cl, byte [edx + ecx]
mov edx, dword [esp + 4]
and edx, eax
mov esi, dword [ebx]
cmp cl, byte [esi + edx]
jne 0x702843
mov edx, dword [esp + 0x14]
inc edx
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
inc ecx
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x702843
mov edx, dword [esp + 0x14]
add edx, 2
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
add ecx, 2
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x702843
mov edx, dword [esp + 0x14]
add edx, 3
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
add ecx, 3
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x702843
cmp dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW], 3
jle 0x702843
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x14]
and edx, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0x40000
jae 0x702843
cmp dword [esp + 0x18], 0
jbe 0x702843
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x28]
jae 0x702843
cmp dword [ebx + 0x58], 3
jge 0x70281b
mov ecx, dword [esp + 0x18]
shr ecx, 2
cmp ecx, dword [ebx + 0x54]
jb 0x70283c
cmp dword [ebx + 0x58], 4
jge 0x70282a
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x54]
jb 0x70283c
cmp dword [ebx + 0x58], 5
jge 0x702843
mov edx, dword [ebx + 0x54]
shr edx, 2
cmp edx, dword [esp + 0x18]
jbe 0x702843
mov al, 1
jmp 0x702c2d
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 4]
mov edx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add edx, edx
add edx, dword [esp + 0x10]
and edx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + eax*4]
xor ecx, ecx
and edx, dword [ebx + 0x24]
mov dword [esp + 0x20], ecx
mov eax, edx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 2]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 7
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 1]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 3
add dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax]
add dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
and ecx, 0x3ffff
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 3]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, dword [esp + 0x24]
and ecx, 0x3ffff
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
movzx eax, byte [ecx + eax + 4]
mov eax, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add eax, eax
add eax, dword [esp + 0x2c]
and eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x7028fa
xor eax, eax
jmp 0x702c2d
mov ecx, dword [ebx + 0x58]
dec ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x30]
and ecx, dword [ebx + 0x24]
mov eax, dword [ebx]
mov cl, byte [eax + ecx]
mov byte [esp + 0x38], cl
jmp 0x702c1c
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x34]
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov ecx, dword [ebx + 0x14]
add edi, edx
and edi, eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [ebx]
and esi, eax
mov cl, byte [ecx + edi]
cmp cl, byte [esp + 0x38]
je 0x702ab3
mov edx, esi
test esi, esi
je 0x702c2b
mov dword [esp + 0x3c], edx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 2]
mov ecx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 7
mov dword [esp + 0x44], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 1]
mov ecx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl ecx, 3
add dword [esp + 0x44], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx]
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
and ecx, 0x3ffff
mov dword [esp + 0x40], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 3]
mov ecx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, dword [esp + 0x40]
and ecx, 0x3ffff
mov dword [esp + 0x48], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 4]
mov ecx, dword [eax*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, ecx
add ecx, dword [esp + 0x48]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x1c]
jne 0x702c2b
jmp 0x702c1c
sub edx, dword [esp + 0x20]
and edx, eax
xor eax, eax
jmp 0x702ada
mov ecx, dword [esp + 4]
mov esi, eax
add ecx, esi
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
add esi, edx
and esi, dword [ebx + 0x24]
mov edi, dword [ebx]
cmp cl, byte [edi + esi]
jne 0x702ae2
inc eax
cmp eax, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
jl 0x702abd
cmp eax, dword [esp + 0x30]
jl 0x702c05
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x4c], ecx
mov ecx, 1
jmp 0x702b39
mov esi, ecx
mov edi, dword [ebx + 0x14]
add esi, edx
mov ebp, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
and esi, dword [ebx + 0x24]
sub ebp, dword [esp + 0x4c]
and ebp, dword [ebx + 0x24]
mov esi, dword [edi + esi*4]
mov edi, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
sub edi, esi
and edi, dword [ebx + 0x24]
cmp edi, ebp
jbe 0x702b38
test esi, esi
je 0x702b38
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
inc ecx
lea esi, [eax - 4]
cmp ecx, esi
jl 0x702b03
mov ecx, dword [esp + 4]
mov esi, dword [ebx]
add ecx, dword [esp + 0x20]
mov edi, dword [ebx]
and ecx, dword [ebx + 0x24]
movzx esi, byte [esi + ecx + 2]
movzx edi, byte [edi + ecx + 1]
mov esi, dword [esi*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl esi, 7
mov edi, dword [edi*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
shl edi, 3
add esi, edi
mov edi, dword [ebx]
movzx edi, byte [edi + ecx]
add esi, edi
and esi, 0x3ffff
mov dword [esp + 0x50], esi
mov esi, dword [ebx]
movzx esi, byte [esi + ecx + 3]
mov esi, dword [esi*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add esi, dword [esp + 0x50]
and esi, 0x3ffff
mov dword [esp + 0x54], esi
mov esi, dword [ebx]
movzx ecx, byte [esi + ecx + 4]
mov ecx, dword [ecx*4 + reloc.PSAPI.DLL_GetMappedFileNameW]
add ecx, ecx
add ecx, dword [esp + 0x54]
and ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
cmp eax, dword [ebx + 0x58]
jl 0x702c05
mov ecx, dword [ebx + reloc.PSAPI.DLL_GetMappedFileNameW]
sub ecx, edx
and ecx, dword [ebx + 0x24]
mov esi, ecx
shl esi, 2
cmp esi, dword [ebx + 0x54]
jb 0x702bf4
cmp eax, dword [ebx + 0x58]
jle 0x702bec
mov esi, dword [ebx + 0x54]
add esi, esi
cmp ecx, esi
jb 0x702bf4
mov esi, dword [ebx + 0x58]
inc esi
cmp eax, esi
jle 0x702bf8
mov al, 1
jmp 0x702c2d
cmp ecx, dword [ebx + 0x28]
ja 0x702c01
test ecx, ecx
jne 0x702c05
xor eax, eax
jmp 0x702c2d
add edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
and edx, eax
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + edx*4]
and ecx, eax
mov edx, ecx
test ecx, ecx
je 0x702c2b
mov eax, dword [esp]
add dword [esp], reloc.PSAPI.DLL_GetMappedFileNameW
test eax, eax
jne 0x702923
xor eax, eax
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret