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

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x24]
cmp edi, 8
jne 0x1006bd59
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.1006af20
add esp, 0xc
pop edi
add esp, 0xc
ret
cmp edi, 4
jne 0x1006bd7a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.1006ac70
add esp, 0xc
pop edi
add esp, 0xc
ret
cmp edi, 2
jne 0x1006bd9b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.1006a690
add esp, 0xc
pop edi
add esp, 0xc
ret
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, edi
shr esi, 1
lea eax, [ebx + esi*4]
lea ecx, [ebp + esi*4]
mov dword [esp + 0x10], eax
mov eax, esi
mov edx, ebp
mov dword [esp + 0x14], ecx
call fcn.1006a4e0
mov ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
mov eax, esi
mov edx, ebx
call fcn.1006a4e0
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
lea eax, [ecx + eax + 4]
cmp eax, 8
ja case.0x1006bdeb.3
jmp dword [eax*4 + 0x1006bfa8]
mov ecx, dword [esp + 0x14]
push esi
push ebp
push ecx
push ebx
call fcn.1006a5f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
lea ebp, [ebx + esi*4]
push ebp
call fcn.1006a5f0
push esi
push ebp
mov ebp, dword [esp + 0x4c]
push ebx
lea ecx, [ebp + edi*4]
push ecx
push ebp
call fcn.1006bd30
push esi
push ebx
jmp 0x1006bed7
mov edx, dword [esp + 0x14]
push esi
push ebp
push edx
push ebx
call fcn.1006a5f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
push esi
push eax
push ecx
lea ebp, [ebx + esi*4]
push ebp
call fcn.1006a5f0
push esi
push ebp
mov ebp, dword [esp + 0x4c]
push ebx
lea edx, [ebp + edi*4]
push edx
push ebp
call fcn.1006bd30
add esp, 0x34
jmp 0x1006bf03
mov eax, dword [esp + 0x14]
push esi
push eax
push ebp
push ebx
call fcn.1006a5f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
push esi
push ecx
push edx
lea ebp, [ebx + esi*4]
push ebp
call fcn.1006a5f0
push esi
push ebp
mov ebp, dword [esp + 0x4c]
push ebx
lea eax, [ebp + edi*4]
push eax
push ebp
call fcn.1006bd30
add esp, 0x34
jmp 0x1006bf03
mov ecx, dword [esp + 0x14]
push esi
push ebp
push ecx
push ebx
call fcn.1006a5f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
push esi
push edx
push eax
lea ebp, [ebx + esi*4]
push ebp
call fcn.1006a5f0
push esi
push ebp
mov ebp, dword [esp + 0x4c]
push ebx
lea ecx, [ebp + edi*4]
push ecx
push ebp
call fcn.1006bd30
push esi
lea ecx, [ebx + esi*4]
push ecx
lea eax, [ebp + esi*4]
push eax
push eax
call fcn.1006a5f0
add esp, 0x44
mov dword [esp + 0x30], 0xffffffff
jmp 0x1006bf0b
test edi, edi
mov ebp, dword [esp + 0x24]
jbe 0x1006bf03
mov ecx, edi
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push esi
push edx
push ecx
lea eax, [ebp + edi*4]
push eax
push ebx
call fcn.1006bd30
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push esi
push edx
push eax
lea eax, [ebp + edi*4]
lea ecx, [ebx + edi*4]
push eax
push ecx
call fcn.1006bd30
push edi
push ebx
push ebp
push ebp
call fcn.1006a560
add dword [esp + 0x68], eax
push edi
lea eax, [ebx + edi*4]
push eax
push ebp
push ebp
call fcn.1006a560
add dword [esp + 0x78], eax
add esp, 0x48
push edi
lea eax, [ebx + esi*4]
push ebp
push eax
push eax
call fcn.1006a560
mov ecx, dword [esp + 0x40]
lea edx, [esi + edi]
add ecx, eax
mov eax, dword [ebx + edx*4]
lea ebx, [ebx + edx*4]
add ecx, eax
add esp, 0x10
cmp ecx, eax
mov dword [ebx], ecx
jae 0x1006bf9d
mov eax, 1
cmp esi, eax
jbe 0x1006bf9d
lea esp, [esp]
add dword [ebx + eax*4], 1
jne 0x1006bf9d
add eax, 1
cmp eax, esi
jb 0x1006bf90
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret