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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3cc
mov ebx, dword [esp + 0x3e8]
mov edi, dword [esp + 0x3e0]
mov ebp, dword [esp + 0x3e8]
mov ebx, dword [ecx + ebx*4]
mov esi, ebx
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x3e8]
sub ebx, edi
mov edi, dword [esp + 0x3e4]
mov dword [esp + 0x58], ebx
lea ebx, [ebx + ebx*8]
sub edi, ebp
lea ebx, [edi + ebx*2]
lea ebx, [esi + ebx*4]
mov dword [esp + 0x54], ebx
mov ebx, dword [ebx + 0x11a8]
test ebx, ebx
js 0x6ff895bf
mov esi, dword [eax + 0x298]
test esi, esi
jne 0x6ff895b0
add esp, 0x3cc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x54]
mov esi, dword [esi + 0x1c14]
cmp dword [esi], 0xffffffff
jne 0x6ff8959f
mov ebp, eax
mov eax, dword [esp + 0x3e0]
cmp dword [esp + 0x3e8], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
je 0x6ff895f6
mov eax, dword [esp + 0x58]
lea ebx, [eax + 0x2b7]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + ebx*4 + 0xc]
cmp word [edx], 0x7fff
je 0x6ff898a0
xor eax, eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e8], eax
je 0x6ff89625
mov ebx, dword [esp + 0x50]
lea eax, [edi + 0x2c8]
mov edx, dword [ebx + eax*4 + 0xc]
cmp word [edx], 0x7fff
je 0x6ff89930
xor edx, edx
mov ebx, 0x7076cfe0
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e0], eax
je 0x6ff89920
mov edi, dword [esp + 0x3e0]
mov ecx, eax
mov edx, dword [esp + 0x58]
sub ecx, edi
mov eax, ecx
shl edx, 8
sar eax, 1
add eax, edx
cdq
idiv ecx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x4884]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x8e6c]
mov ebx, eax
mov dword [esp + 0x30], eax
lea eax, [ecx + ecx*8]
lea eax, [ebx + eax*4]
lea ebx, [edx + eax*4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0xbc], ebx
mov ebx, dword [ebp + 0x330]
mov dword [esp + 0x78], edx
test ebx, ebx
jne 0x6ff89c90
cmp ecx, 1
jle 0x6ff89db2
lea eax, [esp + 0x100]
xor esi, esi
mov dword [esp + 0x5c], eax
mov ebx, eax
mov edi, ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
jmp 0x6ff8978e
test dl, 4
je 0x6ff896df
mov dword [edi], 0
add edi, 4
test dl, 2
je 0x6ff896ec
mov word [edi], 0
add edi, 2
test dl, 1
je 0x6ff896f4
mov byte [edi], 0
cmp esi, 8
mov edx, esi
mov edi, dword [esp + 0x24]
jae 0x6ff89954
test dl, 4
je 0x6ff89711
mov dword [edi], 0
add edi, 4
test dl, 2
je 0x6ff8971e
mov word [edi], 0
add edi, 2
test dl, 1
je 0x6ff89726
mov byte [edi], 0
mov eax, dword [esp + 0x24]
sub esi, 0xffffff80
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], ecx
add eax, esi
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
add edi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + ecx*4 + 0xbc], eax
mov eax, fcn.6ff5fe70
mov esi, ecx
mov dword [edx + ecx*4], edi
mov dword [esp + 8], ebx
add ebx, 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x5bc]
mov dword [esp], eax
call fcn.6ff50250
mov edi, dword [ebp + 8]
cmp edi, esi
jle 0x6ff89990
mov eax, dword [ebp + 0x4884]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x48c4]
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + ecx*4 + 0x560]
mov dword [esi + 0x48c4], eax
mov eax, dword [ebp + 0x48c8]
mov dword [esi + 0x48c8], eax
mov eax, dword [ebp + 0x48cc]
mov dword [esi + 0x48cc], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x28], edx
mov dword [ebx], esi
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x3e0]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x3e4]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x3e8]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0x70]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x30]
imul ecx, eax
mov eax, edi
sar eax, 1
mov dword [esp + 0x38], eax
add eax, ecx
cdq
idiv edi
mov dword [esi + 0x5ac], eax
mov dword [esp + 0x3c], eax
inc dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add eax, edx
cdq
idiv edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0x5b0], eax
mov esi, eax
sub esi, ecx
mov dword [esp + 0x30], esi
lea esi, [esi*4 + 0x10]
cmp esi, 8
mov edx, esi
jb 0x6ff896d1
test edi, 1
jne 0x6ff89c51
test edi, 2
jne 0x6ff89c20
test edi, 4
jne 0x6ff89c40
mov ecx, edx
xor eax, eax
shr ecx, 2
and edx, 3
rep stosd dword es:[edi], eax
jmp 0x6ff896d1
mov eax, 1
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e8], eax
je 0x6ff898d2
mov ecx, dword [esp + 0x50]
lea eax, [edi + 0x2c8]
mov ecx, dword [ecx + eax*4 + 0xc]
cmp word [ecx], 0x7fff
je 0x6ff89d98
mov eax, dword [esp + 0x3e4]
xor ecx, ecx
cmp dword [esp + 0x3e8], eax
mov dword [esp + 0x74], ecx
jne 0x6ff898f6
mov eax, dword [ebp + 0x210]
test eax, eax
jne 0x6ff8a01e
mov eax, 0x7076cfe0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + ebx*4 + 0xc]
mov word [eax], 0
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e0], eax
jne 0x6ff89648
mov esi, pe_nt_image_headers32
mov dword [esp + 0x4c], esi
jmp 0x6ff89667
mov esi, 1
mov edi, 0x7076cfe0
mov dword [esp + 0x74], esi
mov dword [esp + 0x48], edi
mov ebx, dword [esp + 0x50]
mov eax, dword [ebx + eax*4 + 0xc]
mov word [eax], 0
jmp 0x6ff89634
test edi, 1
jne 0x6ff89c81
test edi, 2
jne 0x6ff89c71
test edi, 4
jne 0x6ff89c60
mov ecx, edx
xor eax, eax
shr ecx, 2
and edx, 3
rep stosd dword es:[edi], eax
jmp 0x6ff89703
test edi, edi
mov ecx, edi
jle 0x6ff899bd
mov esi, dword [esp + 0x5c]
xor ebx, ebx
lea esi, [esi]
mov dword [esp + 4], esi
inc ebx
add esi, 0x2c
mov eax, dword [ebp + 0x5bc]
mov dword [esp], eax
call fcn.6ff502a0
mov ecx, dword [ebp + 8]
cmp ebx, ecx
jl 0x6ff899a0
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e8], eax
je 0x6ff89d34
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x213c]
test edx, edx
jne 0x6ff899ef
xor edi, edi
xor ebx, ebx
mov dword [eax + 0x11a8], edi
mov dword [eax + 0x16b8], ebx
mov ebx, dword [esp + 0x54]
xor esi, esi
xor edi, edi
test ecx, ecx
mov dword [ebx + 0x16b8], esi
mov eax, dword [ebx + 0x1c14]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x11a8], edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1c14]
mov dword [esp + 0x38], eax
jle 0x6ff89b04
lea ecx, [esp + 0x78]
xor eax, eax
mov dword [esp + 0x34], ecx
mov ecx, esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], ebp
mov ebp, ecx
lea esi, [ecx + esi*4]
mov dword [esp + 0x3c], esi
jmp 0x6ff89a56
mov edx, dword [esp + 0x24]
inc eax
cmp eax, dword [edx + 8]
jge 0x6ff89b02
mov edx, dword [ebp + 0x213c]
mov esi, dword [esp + 0x3e4]
cmp dword [esp + 0x3e8], esi
je 0x6ff89b61
mov esi, dword [esp + 0x34]
mov ecx, dword [esi + eax*4]
test edx, edx
jne 0x6ff89a8d
mov edx, dword [esp + eax*4 + 0xbc]
mov esi, dword [edx]
add dword [ebp + 0x11a8], esi
mov edx, dword [edx + 4]
add dword [ebp + 0x16b8], edx
mov edx, dword [ecx]
add dword [ebx + 0x11a8], edx
mov edi, dword [esp + 0x24]
mov edx, dword [ecx + 4]
add dword [ebx + 0x16b8], edx
mov esi, dword [edi + 0x298]
test esi, esi
je 0x6ff89a42
mov edi, dword [ecx + 0xc]
lea edx, [edi*4]
cmp edx, 8
lea edi, [ecx + 0x10]
mov esi, edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
jae 0x6ff89b80
mov ecx, dword [esp + 0x30]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x213c]
test ecx, ecx
je 0x6ff89bc0
mov edx, dword [esp + 0x24]
inc eax
mov esi, dword [esp + 0x2c]
add dword [esp + 0x28], esi
add dword [esp + 0x38], esi
cmp eax, dword [edx + 8]
jl 0x6ff89a50
mov ebp, edx
mov eax, dword [esp + 0x54]
mov ebx, dword [eax + 0x11a8]
mov eax, dword [esp + 0x3e4]
cmp dword [esp + 0x3e8], eax
je 0x6ff89d50
mov ecx, dword [ebp + 0x78]
mov eax, 0x64
imul ebx
add ecx, 0x78
mov dword [esp + 8], ecx
sar ecx, 0x1f
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.703e0d60
mov ebx, eax
mov eax, dword [esp + 0x54]
mov dword [eax + 0x11a8], ebx
emms
add esp, 0x3cc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov ecx, dword [ecx + eax*4]
mov esi, dword [ecx + 8]
add dword [edi + 0x1bcc], esi
jmp 0x6ff89a71
test edi, 1
jne 0x6ff89d80
test edi, 2
jne 0x6ff89d64
test edi, 4
je 0x6ff89ad4
mov ecx, dword [esi]
add edi, 4
add esi, 4
mov dword [edi - 4], ecx
sub dword [esp + 0x30], 4
jmp 0x6ff89ad4
mov esi, dword [esp + eax*4 + 0xbc]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], esi
add esi, 0x10
cmp edx, 8
mov ecx, edx
jae 0x6ff89be4
rep movsb byte es:[edi], byte [esi]
jmp 0x6ff89ae8
test edi, 1
jne 0x6ff89f9e
test edi, 2
jne 0x6ff89f89
test edi, 4
je 0x6ff89bdd
mov edx, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], edx
rep movsb byte es:[edi], byte [esi]
jmp 0x6ff89ae8
mov word [edi], 0
add edi, 2
sub edx, 2
test edi, 4
je 0x6ff8988c
mov esi, esi
lea edi, [edi]
mov dword [edi], 0
sub edx, 4
add edi, 4
jmp 0x6ff8988c
mov byte [edi], 0
lea edx, [esi - 1]
lea edi, [edi + 1]
jmp 0x6ff89874
mov dword [edi], 0
sub edx, 4
add edi, 4
jmp 0x6ff89978
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x6ff8996c
mov byte [edi], 0
lea edx, [esi - 1]
lea edi, [edi + 1]
jmp 0x6ff89960
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call fcn.6ffd8820
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x6ff89f2a
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x6ff89eca
mov eax, dword [esp + 0x3e0]
cmp dword [esp + 0x3e8], eax
je 0x6ff89d15
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3e8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3e4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3e0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.6ffdb9a0
mov dword [esp], ebp
call fcn.6ffd8750
mov eax, dword [esp + 0x54]
mov ebx, dword [eax + 0x11a8]
add esp, 0x3cc
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x50]
xor esi, esi
mov ebx, dword [esp + 0x58]
mov dword [eax + ebx*4 + 0x1bcc], esi
jmp 0x6ff899d1
mov eax, dword [esp + 0x50]
mov edx, 1
mov dword [eax + 0x213c], edx
jmp 0x6ff89b48
movzx ecx, word [esi]
add edi, 2
add esi, 2
mov word [edi - 2], cx
sub dword [esp + 0x30], 2
jmp 0x6ff89b98
movzx edx, byte [esi]
lea esi, [ecx + 0x11]
inc edi
mov byte [edi - 1], dl
mov ecx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x30], ecx
jmp 0x6ff89b8c
mov dword [esp + 0x74], 1
mov dword [esp + 0x48], 0x7076cfe0
mov word [edx], 0
jmp 0x6ff89942
mov ebx, dword [esp + 0x30]
lea esi, [eax*4 - 0x80]
xor edi, edi
cmp esi, 8
mov dword [ebp + 0x5ac], edi
mov edi, edx
mov dword [ebp + 0x5b0], ebx
mov ebx, esi
jae 0x6ff89fec
test bl, 4
je 0x6ff89de6
mov dword [edi], 0
add edi, 4
test bl, 2
je 0x6ff89df3
mov word [edi], 0
add edi, 2
test bl, 1
je 0x6ff89dfb
mov byte [edi], 0
cmp esi, 8
mov ebx, esi
mov edi, dword [esp + 0x24]
jae 0x6ff89fb7
test bl, 4
je 0x6ff89e18
mov dword [edi], 0
add edi, 4
test bl, 2
je 0x6ff89e25
mov word [edi], 0
add edi, 2
test bl, 1
je 0x6ff89e2d
mov byte [edi], 0
mov eax, dword [ebp + 0x4884]
mov ebx, dword [esp + 0x24]
mov dword [ebx + 0xc], eax
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x100], ebp
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x3e0]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x3e4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x3e8]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x118], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x120], eax
lea eax, [esp + 0x100]
mov dword [esp], eax
call fcn.6ff5fe70
mov ecx, dword [ebp + 8]
jmp 0x6ff899bd
mov ebx, dword [esp + 0x40]
xor edi, edi
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3e4]
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [esi + ecx*4]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.6ffd8820
mov dword [esp + 0x18], edi
mov eax, dword [ebx]
mov dword [esp + 4], esi
mov dword [esp], ebp
mov dword [esp + 0x14], eax
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3e4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3e8]
mov dword [esp + 8], eax
call fcn.6ffda470
jmp 0x6ff89cc2
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x3e0]
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov eax, dword [edi + ecx*4]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.6ffd8820
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3e0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3e8]
mov dword [esp + 8], eax
call fcn.6ffda470
jmp 0x6ff89cb6
movzx edx, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], dx
jmp 0x6ff89bfc
mov esi, dword [esp + 0x30]
inc edi
movzx ecx, byte [esi + 0x10]
lea esi, [esi + 0x11]
mov byte [edi - 1], cl
mov ecx, dword [esp + 0x2c]
dec ecx
jmp 0x6ff89bf0
test edi, 1
jne 0x6ff8a086
test edi, 2
jne 0x6ff8a076
test edi, 4
jne 0x6ff8a092
mov ecx, ebx
xor eax, eax
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
jmp 0x6ff89e0a
test dl, 1
jne 0x6ff8a0c4
test edi, 2
jne 0x6ff8a0b4
test edi, 4
jne 0x6ff8a0a3
mov ecx, ebx
xor eax, eax
shr ecx, 2
and ebx, 3
rep stosd dword es:[edi], eax
jmp 0x6ff89dd8
emms
mov eax, 1
mov ecx, dword [esp + 0x3e0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov eax, dword [eax + ecx*4]
mov dword [esp + 4], esi
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.6ff87610
mov eax, esi
mov edx, dword [esi + ebx*4 + 0xc]
add eax, 0x190
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov word [edx], 0
test eax, eax
je 0x6ff89634
lea eax, [edi + 0x2c8]
jmp 0x6ff89942
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x6ff89fcf
mov byte [edi], 0
dec ebx
lea edi, [edi + 1]
jmp 0x6ff89fc3
mov dword [edi], 0
sub ebx, 4
add edi, 4
jmp 0x6ff89fdb
mov dword [edi], 0
sub ebx, 4
add edi, 4
jmp 0x6ff8a00d
mov word [edi], 0
sub ebx, 2
add edi, 2
jmp 0x6ff8a001
mov byte [edx], 0
lea edi, [edx + 1]
lea ebx, [esi - 1]
jmp 0x6ff89ff5