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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2ec
mov eax, dword [esp + 0x308]
mov edx, dword [esp + 0x30c]
mov ecx, dword [esp + 0x310]
mov ebp, dword [esp + 0x300]
mov ebx, dword [eax + edx*4]
mov edx, dword [esp + 0x310]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x314]
cmp edx, ecx
mov eax, dword [eax + edx*4]
setl byte [esp + 0x53]
movzx edx, byte [esp + 0x53]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x910]
mov dword [esp + 0x44], edx
mov edx, dword [ebp + 0x3a520]
mov eax, dword [eax + 0x43c]
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x3a524]
mov dword [esp + 0x30], eax
lea eax, [ebp + 0x9d6c0]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 0x5c]
mov dword [ebp + 0x9dba0], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x4c]
imul edx, dword [esp + 0x24]
add edx, dword [esp + 0x48]
shl edx, 3
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
add edx, dword [ecx + 0x84]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], edx
call dword [ebp + 0x9f6a0]
mov eax, dword [esp + 0x310]
or eax, dword [esp + 0x30c]
or eax, dword [esp + 0x314]
mov dword [esp + 0x28], 0x10000000
je 0x6fd13c42
mov eax, dword [ebp + 0x3a520]
mov esi, dword [ebp + 0x910]
mov ecx, eax
neg ecx
shl ecx, 3
lea edx, [ecx - 4]
mov dword [ebp + 0x3a568], edx
mov edx, eax
not edx
add edx, dword [esi + 0x43c]
lea ecx, [ecx*4 - 0x30]
mov dword [esp + 0x28], ecx
shl edx, 3
cmp eax, 1
lea edi, [edx + 4]
lea edx, [edx*4 + 0x30]
mov dword [ebp + 0x3a570], edi
mov dword [ebp + 0x3a558], ecx
mov dword [esp + 0x3c], edx
mov dword [ebp + 0x3a560], edx
jle 0x6fd141e0
mov eax, dword [esp + 0x304]
mov edx, dword [esp + 0x4c]
imul edx, dword [esp + 0x30]
add edx, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
mov esi, dword [esp + 0x24]
shl edx, 2
mov dword [esp + 0x110], 3
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 0x9dba0]
mov dword [esp + 0x148], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x34]
add eax, dword [ebx + 0x84]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x34]
add eax, dword [ebx + 0x88]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x34]
add eax, dword [ebx + 0x8c]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x34]
add eax, dword [ebx + 0x90]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x6fd13e90
lea esi, [esp + 0x110]
mov dword [esp + 0x5c], 0x10000000
mov dword [esp + 0x58], esi
mov eax, dword [esp + 0x30]
lea edi, [esp + 0x15c]
mov esi, dword [esp + 0x5c]
mov ebx, edi
mov dword [esp + 0x54], ebp
neg eax
shl eax, 2
mov dword [esp + 0x64], eax
add eax, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0
not eax
shl eax, 2
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + eax + 0x1c0], 0
add eax, 4
cmp eax, 0x20
jb 0x6fd138a2
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
add ecx, dword [edx + eax*4 + 0xcc]
test edi, edi
jle 0x6fd14280
movsx edx, word [ecx - 4]
mov ebp, 3
mov edi, 2
movsx eax, word [ecx - 2]
mov dword [esp + 0x38], 4
mov dword [esp + 0x2c], 1
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1c4], eax
mov esi, dword [esp + 0x4c]
test esi, esi
jle 0x6fd14260
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
add eax, ecx
movsx edx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + esi*8 + 0x1c0], edx
mov edx, dword [esp + 0x54]
mov dword [esp + esi*8 + 0x1c4], eax
mov eax, dword [edx + 0x910]
mov eax, dword [eax + 0x43c]
sub eax, 1
cmp dword [esp + 0x48], eax
jge 0x6fd13969
mov eax, dword [esp + 0x6c]
add eax, ecx
movsx edx, word [eax]
movsx eax, word [eax + 2]
mov dword [esp + edi*8 + 0x1c0], edx
mov dword [esp + edi*8 + 0x1c4], eax
mov edi, ebp
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
test esi, esi
jle 0x6fd142a3
add ecx, dword [esp + 0x68]
mov dword [esp + 0x2c], ebp
movsx eax, word [ecx]
mov dword [esp + edi*8 + 0x1c0], eax
movsx eax, word [ecx + 2]
mov dword [esp + edi*8 + 0x1c4], eax
mov edx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1d0]
mov esi, dword [esp + 0x1d4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x1c0]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c4]
cmp dword [esp + 0x38], edx
jge 0x6fd14250
mov edi, dword [esp + 0x38]
mov ebp, edx
cmp edi, ecx
jg 0x6fd14242
cmp ebp, ecx
cmovl ebp, ecx
add edx, dword [esp + 0x38]
add edx, ecx
sub edx, edi
sub edx, ebp
cmp dword [esp + 0x3c], eax
mov dword [ebx - 0xc], edx
jge 0x6fd14237
mov edx, dword [esp + 0x3c]
mov ecx, eax
cmp edx, esi
jg 0x6fd14230
cmp ecx, esi
cmovl ecx, esi
add eax, dword [esp + 0x3c]
add eax, esi
mov esi, dword [esp + 0x54]
sub eax, edx
mov edx, dword [esp + 0x2c]
sub eax, ecx
mov dword [ebx - 8], eax
lea ecx, [esp + 0x1c0]
imul eax, dword [esp + 0x30], 0x58
add eax, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], esi
call fcn.6fd3c130
mov eax, dword [ebx]
lea edx, [eax + 2]
add eax, 3
cmp edx, dword [esp + 0x28]
cmovge eax, dword [esp + 0x28]
add ebx, 0x58
add dword [esp + 0x30], 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], eax
jge 0x6fd138a0
mov ecx, dword [esp + 0x44]
mov ebp, esi
test ecx, ecx
je 0x6fd13bea
mov eax, dword [esp + 0x160]
test eax, eax
jne 0x6fd13ab0
mov edx, dword [esp + 0x164]
test edx, edx
jne 0x6fd13ab0
mov edi, dword [esp + 0x1b8]
test edi, edi
je 0x6fd142e0
lea esi, [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x148]
lea ebx, [esp + 0xbf]
mov edx, dword [esp + 0x164]
mov dword [esp + 0x78], 8
mov dword [esp + 0x1c], 8
mov dword [esp + 4], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x14], edx
mov dword [esp], eax
mov dword [esp + 0x18], 8
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
call dword [ebp + 0x9f638]
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x7f]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 4], eax
lea eax, [esp + 0x178]
mov dword [esp], eax
call dword [ebp + 0x9f63c]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], 8
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [ebp + 0x9f650]
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [ebp + 0x9f5d4]
add eax, 5
cmp eax, dword [esp + 0x28]
jge 0x6fd13bea
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x28], eax
add edx, dword [ecx + 0xcc]
mov ecx, dword [esp + 0x160]
mov word [edx], cx
mov ecx, dword [esp + 0x164]
mov word [edx + 2], cx
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x60]
add edx, dword [esi + 0xd0]
mov word [edx], cx
mov ecx, dword [esp + 0x1bc]
mov word [edx + 2], cx
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x5c], edx
jle 0x6fd13c42
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
add eax, dword [edx + 0xcc]
mov edx, dword [esp + 0x160]
test ebx, ebx
mov word [eax], dx
mov edx, dword [esp + 0x164]
mov word [eax + 2], dx
je 0x6fd13c42
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
add eax, dword [edx + 0xd0]
mov edx, dword [esp + 0x1b8]
mov word [eax], dx
mov edx, dword [esp + 0x1bc]
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
mov eax, dword [edx + 0x84]
mov edx, dword [esp + 0x34]
lea eax, [eax + edx - 1]
mov edx, dword [esp + 0x44]
lea edx, [ecx + edx*4]
lea ebx, [edx + edx + 5]
mov edx, eax
sub edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov dword [esp + 0x1c7], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x1cb], ecx
movzx edx, byte [edx + 8]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1cf], dl
movzx edx, byte [eax]
mov byte [esp + 0x1e7], dl
movzx edx, byte [eax + ecx]
mov byte [esp + 0x207], dl
movzx edx, byte [eax + ecx*2]
mov byte [esp + 0x227], dl
lea edx, [ecx + ecx*2]
movzx ecx, byte [eax + edx]
mov byte [esp + 0x247], cl
movzx ecx, byte [eax + esi*4]
mov byte [esp + 0x267], cl
lea ecx, [esi + esi*4]
movzx ecx, byte [eax + ecx]
mov byte [esp + 0x287], cl
movzx edx, byte [eax + edx*2]
lea eax, [eax + esi*8]
sub eax, esi
lea esi, [esp + 0x1e8]
mov byte [esp + 0x2a7], dl
movzx eax, byte [eax]
mov byte [esp + 0x2c7], al
mov eax, dword [ebp + 0x3a578]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebp + 0x9f518]
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp + 0x9dba0]
mov dword [esp + 4], 0x20
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [ebp + 0x9f5d4]
lea edi, [eax + ebx]
mov eax, dword [ebp + 0x3a578]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebp + 0x9f51c]
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp + 0x9dba0]
mov dword [esp + 4], 0x20
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [ebp + 0x9f5d4]
mov edx, dword [esp + 0x28]
add eax, ebx
cmp edi, eax
cmovg edi, eax
mov eax, dword [ebp + 0x3a578]
cmp edi, dword [esp + 0x28]
mov dword [esp], esi
cmovle edx, edi
mov dword [esp + 0x20], edx
mov dword [esp + 4], eax
call dword [ebp + 0x9f520]
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp + 0x9dba0]
mov dword [esp + 4], 0x20
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [ebp + 0x9f5d4]
mov edx, dword [esp + 0x20]
lea edi, [eax + ebx]
mov eax, dword [ebp + 0x3a578]
cmp edx, edi
cmovle edi, edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [ebp + 0x9f524]
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp + 0x9dba0]
mov dword [esp + 4], 0x20
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [ebp + 0x9f5d4]
add eax, ebx
cmp eax, edi
cmovg eax, edi
cmp dword [esp + 0x28], eax
je 0x6fd13e81
cmp byte [esp + 0x53], 0
jne 0x6fd13e60
mov edx, dword [esp + 0x48]
test edx, edx
jle 0x6fd13e60
mov edx, dword [ebp + 0x910]
mov ecx, dword [edx + 0x43c]
sub ecx, 1
cmp dword [esp + 0x48], ecx
jge 0x6fd13e60
mov ebp, dword [esp + 0x4c]
test ebp, ebp
jle 0x6fd13e60
mov edx, dword [edx + 0x440]
sub edx, 1
cmp dword [esp + 0x4c], edx
jge 0x6fd13e60
mov edx, dword [esp + 0x314]
mov ecx, dword [esp + 0x40]
sub edx, dword [esp + 0x30c]
add dword [ecx + edx*4 + 0x678], 1
lea esi, [esi]
mov edx, dword [esp + 0x30c]
add edx, 1
cmp dword [esp + 0x310], edx
jle 0x6fd13e81
lea eax, [eax + eax*8]
test eax, eax
lea edi, [eax + 7]
cmovs eax, edi
sar eax, 3
add esp, 0x2ec
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edx
mov edx, dword [esp + 0x2c]
mov ecx, 0x16
lea esi, [esp + 0x110]
lea edi, [esp + 0x168]
mov dword [esp + 0x58], esi
add eax, dword [edx + 0xcc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
movsx ebx, word [eax + 2]
mov edi, dword [esp + 0x28]
add edx, dword [ecx + 0x84]
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0x34]
add edx, dword [ecx + 0x88]
mov dword [esp + 0x17c], edx
mov edx, dword [esp + 0x34]
add edx, dword [ecx + 0x8c]
mov dword [esp + 0x180], edx
mov edx, dword [esp + 0x34]
add edx, dword [ecx + 0x90]
movsx ecx, word [eax]
mov eax, dword [esp + 0x318]
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x318]
imul eax, ebx
imul edx, ecx
sub eax, 0xffffff80
sub edx, 0xffffff80
sar edx, 8
mov esi, edx
sub esi, ecx
sar eax, 8
mov ecx, esi
mov esi, eax
sub esi, ebx
cmp edi, edx
mov ebx, esi
jg 0x6fd13f43
mov edi, dword [esp + 0x3c]
cmp edx, dword [esp + 0x3c]
cmovle edi, edx
mov esi, dword [ebp + 0x3a55c]
mov edx, dword [ebp + 0x3a564]
cmp eax, esi
mov dword [esp + 0x2c], esi
jl 0x6fd13f60
cmp eax, edx
cmovg eax, edx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x28], ecx
jg 0x6fd13f73
cmp ecx, dword [esp + 0x3c]
cmovg ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
cmp ebx, esi
jl 0x6fd13f7e
cmp ebx, edx
mov esi, edx
cmovle esi, ebx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x120]
lea ebx, [esp + 0xbf]
mov dword [esp], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], 8
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 4], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
call dword [ebp + 0x9f638]
lea eax, [esp + 0x78]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0x10], edx
lea edx, [esp + 0x7f]
mov dword [esp + 4], eax
lea eax, [esp + 0x178]
mov dword [esp + 8], edx
mov dword [esp + 0x14], esi
mov dword [esp], eax
call dword [ebp + 0x9f63c]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], 8
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [ebp + 0x9f650]
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [ebp + 0x9f5d4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], 0x10000000
cmp eax, 0xfffffff
mov dword [esp + 0x3c], eax
jg 0x6fd140ac
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
add eax, dword [edx + 0xcc]
movzx edx, word [esp + 0x2c]
mov word [eax], di
mov word [eax + 2], dx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
add eax, dword [edx + 0xd0]
movzx edx, word [esp + 0x28]
mov word [eax + 2], si
mov word [eax], dx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
test edi, edi
jne 0x6fd140c4
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x6fd140c4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6fd142f4
mov eax, dword [esp + 0x148]
lea esi, [esp + 0x178]
mov dword [esp], ecx
mov dword [esp + 0x78], 8
mov dword [esp + 0x1c], 8
mov dword [esp + 4], eax
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
call dword [ebp + 0x9f638]
mov eax, dword [esp + 0x1a0]
lea ecx, [esp + 0x7f]
lea edx, [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x18], 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [ebp + 0x9f63c]
mov edx, dword [esp + 0x78]
mov dword [esp + 4], 8
mov dword [esp], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [ebp + 0x9f650]
mov eax, dword [esp + 0x138]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [ebp + 0x9f5d4]
cmp dword [esp + 0x5c], eax
jle 0x6fd13862
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
add edx, dword [ecx + 0xcc]
mov word [edx], 0
mov word [edx + 2], 0
mov edx, dword [esp + 0x60]
add edx, dword [ecx + 0xd0]
mov word [edx], 0
mov word [edx + 2], 0
jmp 0x6fd13862
mov ecx, dword [ebp + 0x3a524]
mov edx, ecx
neg edx
shl edx, 3
lea eax, [edx - 4]
mov dword [ebp + 0x3a56c], eax
mov eax, ecx
not eax
add eax, dword [esi + 0x440]
lea edx, [edx*4 - 0x30]
mov dword [ebp + 0x3a55c], edx
shl eax, 3
lea ecx, [eax + 4]
lea eax, [eax*4 + 0x30]
mov dword [ebp + 0x3a574], ecx
mov dword [ebp + 0x3a564], eax
jmp 0x6fd137b7
mov edx, esi
jmp 0x6fd13a0b
mov ecx, dword [esp + 0x3c]
mov edx, eax
jmp 0x6fd139fe
mov edi, ecx
jmp 0x6fd139e1
mov ebp, dword [esp + 0x38]
mov edi, edx
jmp 0x6fd139d4
mov dword [esp + 0x3c], 0
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x38], 0
jmp 0x6fd139c4
mov dword [esp + 0x38], 3
xor eax, eax
xor edx, edx
mov ebp, 2
mov edi, 1
mov dword [esp + 0x2c], 0
jmp 0x6fd13904
mov esi, dword [esp + 0x1c8]
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1d0]
mov edx, dword [esp + 0x1c0]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x1d4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0x2c], edi
jmp 0x6fd139c4
mov esi, dword [esp + 0x1bc]
test esi, esi
je 0x6fd13bea
jmp 0x6fd13ab0
test esi, esi
je 0x6fd13862
lea esi, [esi]
jmp 0x6fd140c4