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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
cmp dword [esp + 0x74], 1
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
jle 0x6fde4ab9
mov edx, dword [edi + 4]
cmp dword [edx + 0x40], 5
jne 0x6fde4ab9
mov edx, 1
mov ebx, dword [esp + 0x74]
jmp 0x6fde45df
mov ecx, dword [edi + edx*4]
cmp dword [ecx + 0x40], 5
jne 0x6fde45e4
inc edx
cmp edx, ebx
jne 0x6fde45d6
mov dword [esp + 0x14], edx
test eax, eax
jne 0x6fde49d5
mov edx, dword [esp + 0x14]
lea esi, [edx + 1]
mov dword [esp + 0x3c], esi
mov esi, edx
mov dword [esp + 0x44], esi
shl edx, 2
mov ecx, dword [esp + 0x74]
test eax, eax
sete al
xor ebx, ebx
movzx eax, al
xor esi, esi
mov byte [esp + 0x37], 0
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [edi + edx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], esi
add eax, 0x10
cmp dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
jge 0x6fde4988
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
cmp eax, edx
je 0x6fde46f7
lea ebx, [edi + eax*4]
mov edx, eax
mov esi, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + 0x40]
dec eax
cmp eax, 2
mov eax, edx
cmovb esi, edx
mov edx, dword [esp + 0x30]
mov ebp, dword [edx]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.6fde2e20
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xbc]
cmp dword [ecx + 0x170], 0
je 0x6fde49c4
mov eax, dword [ecx + 0x190]
test eax, eax
jne 0x6fde49a5
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx]
sub eax, esi
lea eax, [eax + eax*8]
shl eax, 4
mov edx, dword [ecx + eax + 0xa7c]
mov eax, dword [ecx + eax + 0xa78]
mov esi, dword [esp + 0x38]
mov dword [ebp + esi*8 + 0x2410], eax
mov eax, dword [esp + 0x30]
mov dword [ebp + esi*8 + 0x2414], edx
mov ebp, dword [eax]
mov eax, dword [ecx + 0x40]
mov dword [ebp + esi*4 + 0x2024], eax
inc esi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ebx, [eax + 1]
cmp edx, ebx
jle 0x6fde47e9
mov ebp, eax
mov eax, dword [esp + 0x30]
not ebp
mov esi, dword [esp + 0x38]
add ebp, edx
mov dword [esp + 0x24], ebp
mov ebp, dword [eax]
jmp 0x6fde476e
mov ecx, dword [esp + 0x18]
mov eax, ebx
mov edx, dword [edi + ebx*4]
sub eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2 + 0x14e]
lea edx, [edx + eax*8 + 8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp + esi*8 + 0x2410], eax
mov eax, dword [esp + 0x30]
mov ecx, 5
mov dword [ebp + esi*8 + 0x2414], edx
inc ebx
dec dword [esp + 0x24]
mov ebp, dword [eax]
mov dword [ebp + esi*4 + 0x2024], ecx
inc esi
cmp ebx, dword [esp + 0x14]
je 0x6fde47da
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.6fde2e20
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xbc]
cmp dword [ecx + 0x170], 0
je 0x6fde4742
mov eax, dword [ecx + 0x190]
test eax, eax
je 0x6fde4720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.6fde1c80
sub esp, 0x10
jmp 0x6fde4742
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
dec eax
sub eax, edx
add dword [esp + 0x38], eax
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
jl 0x6fde49cb
lea edx, [edi + eax*4]
inc eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov eax, edx
jmp 0x6fde4820
mov esi, dword [edi + eax*4]
mov edx, dword [esp + 0x14]
mov ebp, dword [esi + 0x2be8]
add eax, ebp
lea ebx, [eax + 1]
not eax
add eax, edx
cmp edx, ebx
mov dword [esp + 0x24], eax
jge 0x6fde489e
jmp 0x6fde4918
mov ecx, dword [esp + 0x18]
mov eax, ebx
mov edx, dword [edi + ebx*4]
sub eax, ecx
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*2 + 0x14e]
lea edx, [edx + eax*8 + 8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + ebp*8 + 0x2410], eax
mov eax, dword [esp + 0x28]
mov dword [esi + ebp*8 + 0x2414], edx
mov esi, dword [edi + eax*4]
mov eax, 5
mov ebp, dword [esi + 0x2be8]
mov dword [esi + ebp*4 + 0x2024], eax
inc ebx
inc ebp
dec dword [esp + 0x24]
cmp ebx, dword [esp + 0x2c]
mov dword [esi + 0x2be8], ebp
je 0x6fde4914
cmp ebx, dword [esp + 0x14]
je 0x6fde49eb
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.6fde2e20
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xbc]
cmp dword [ecx + 0x170], 0
je 0x6fde4865
mov eax, dword [ecx + 0x190]
test eax, eax
je 0x6fde4843
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.6fde1c80
sub esp, 0x10
jmp 0x6fde4865
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x28], edx
sete al
cmp byte [esp + 0x37], al
jae 0x6fde492a
mov byte [esp + 0x37], 1
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x14], eax
jge 0x6fde4820
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x74], edx
mov eax, edx
jl 0x6fde496e
mov edx, dword [edi + edx*4]
cmp dword [edx + 0x40], 5
jne 0x6fde496e
mov ecx, dword [esp + 0x74]
jmp 0x6fde4969
mov edx, dword [edi + eax*4]
cmp dword [edx + 0x40], 5
jne 0x6fde496e
inc eax
cmp ecx, eax
jge 0x6fde4960
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x14], edx
jl 0x6fde4647
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [eax + edx*4 + 0x2024], ecx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
call fcn.6fde1c80
sub esp, 0x10
mov ecx, dword [ebx]
jmp 0x6fde46d0
inc eax
mov dword [esp + 0x2c], eax
jmp 0x6fde493c
xor ebp, ebp
mov ecx, 1
xor edx, edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], ecx
jmp 0x6fde4604
cmp byte [esp + 0x37], 0
je 0x6fde488c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp], edi
dec eax
cmp eax, 2
mov eax, dword [esp + 0x18]
cmovb eax, ebx
mov dword [esp + 4], eax
mov dword [esp + 0x4c], eax
call fcn.6fde2e20
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0xbc]
cmp dword [ecx + 0x170], 0
je 0x6fde4ab1
mov ecx, dword [ecx + 0x190]
test ecx, ecx
jne 0x6fde4a92
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
mov eax, ebx
sub eax, edx
lea eax, [eax + eax*8]
shl eax, 4
mov edx, dword [ecx + eax + 0xa7c]
mov eax, dword [ecx + eax + 0xa78]
mov dword [esi + ebp*8 + 0x2410], eax
mov eax, dword [esp + 0x28]
mov dword [esi + ebp*8 + 0x2414], edx
mov esi, dword [edi + eax*4]
mov eax, dword [ecx + 0x40]
mov ebp, dword [esi + 0x2be8]
mov dword [esi + ebp*4 + 0x2024], eax
jmp 0x6fde488c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.6fde1c80
sub esp, 0x10
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
jmp 0x6fde4a68
mov ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x6fde45e8