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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
sub edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x60]
lea ecx, [esi + ecx*4]
mov esi, dword [esp + 0x74]
sub esi, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [esp + 0x3c], edi
lea edx, [esi + esi*8]
lea edx, [edi + edx*2]
mov ebp, dword [eax + edx*4 + 0x164]
mov dword [esp + 0x38], ecx
mov edi, dword [eax + edx*4 + 0x6c0]
mov dword [esp + 0x34], esi
test ebp, ebp
js 0x6fd14366
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebx + 0x910]
mov eax, dword [eax + 0xcc]
mov edx, dword [ecx + 0x440]
imul edx, dword [ecx + 0x43c]
mov dword [esp + 4], 0
mov dword [esp], eax
shl edx, 2
mov dword [esp + 8], edx
call fcn.6fef7ef0
mov ecx, dword [esp + 0x70]
cmp dword [esp + 0x74], ecx
je 0x6fd1465f
mov edx, dword [ebx + 0x910]
mov esi, dword [esp + 0x38]
mov eax, dword [edx + 0x440]
imul eax, dword [edx + 0x43c]
mov edx, dword [esi]
shl eax, 2
mov edx, dword [edx + 0xd0]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.6fef7ef0
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0x70], ecx
mov dword [esp + 0x2c], pe_nt_image_headers32
je 0x6fd1440c
mov ecx, dword [esp + 0x70]
sub ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov eax, ecx
sar eax, 1
shl edx, 8
add eax, edx
mov edx, eax
sar edx, 0x1f
idiv ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x1fc]
test eax, eax
je 0x6fd145a5
mov edx, dword [ebx + 0x910]
xor ecx, ecx
xor ebp, ebp
mov dword [ebx + 0x3a524], 0
mov eax, dword [edx + 0x440]
test eax, eax
jle 0x6fd14684
mov dword [esp + 0x30], ebp
mov ebp, edi
mov dword [ebp + ecx*4], 0
mov eax, dword [edx + 0x43c]
mov dword [ebx + 0x3a520], 0
test eax, eax
jg 0x6fd14486
jmp 0x6fd14679
mov eax, dword [edx + 0x43c]
mov esi, dword [ebx + 0x3a520]
mov dword [esp + 0x24], eax
add esi, 1
cmp esi, dword [esp + 0x24]
mov dword [ebx + 0x3a520], esi
jge 0x6fd1452a
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6fd13660
mov edx, dword [ebx + 0x3a524]
add dword [ebp + edx*4], eax
mov ecx, dword [ebx + 0x3a524]
mov edx, dword [ebx + 0x910]
test ecx, ecx
jle 0x6fd14590
mov esi, dword [edx + 0x440]
sub esi, 1
cmp ecx, esi
jge 0x6fd14463
mov esi, dword [ebx + 0x3a520]
mov edi, dword [edx + 0x43c]
test esi, esi
mov dword [esp + 0x24], edi
jle 0x6fd14473
sub edi, 1
add eax, dword [esp + 0x30]
cmp esi, edi
cmovge eax, dword [esp + 0x30]
add esi, 1
cmp esi, dword [esp + 0x24]
mov dword [ebx + 0x3a520], esi
mov dword [esp + 0x30], eax
jl 0x6fd14486
add ecx, 1
cmp dword [edx + 0x440], ecx
mov dword [ebx + 0x3a524], ecx
jg 0x6fd14442
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x74], esi
je 0x6fd1455f
imul eax, ebp, 0x64
mov ecx, dword [ebx + 0x6c]
mov edx, eax
add ecx, 0x78
sar edx, 0x1f
idiv ecx
mov ebp, eax
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov eax, dword [edi]
lea edx, [ecx + ecx*8]
lea edx, [esi + edx*2 + 0x58]
mov dword [eax + edx*4 + 4], ebp
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.6fd3b0c0
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [edx + 0x43c]
mov esi, dword [ebx + 0x3a520]
mov dword [esp + 0x24], edi
jmp 0x6fd14473
mov edx, dword [ebx + 0x910]
mov dword [ebx + 0x3a524], 1
cmp dword [edx + 0x440], 2
jle 0x6fd14684
mov esi, dword [esp + 0x68]
mov eax, 1
xor ebp, ebp
mov edi, dword [esp + 0x6c]
mov ecx, eax
cmp dword [edx + 0x43c], 2
mov dword [ebx + 0x3a520], 1
jle 0x6fd14640
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov dword [esp], ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.6fd13660
mov edx, dword [ebx + 0x910]
mov ecx, dword [edx + 0x43c]
add ebp, eax
mov eax, dword [ebx + 0x3a520]
sub ecx, 1
add eax, 1
cmp ecx, eax
mov dword [ebx + 0x3a520], eax
jg 0x6fd145e6
mov ecx, dword [ebx + 0x3a524]
mov eax, dword [edx + 0x440]
add ecx, 1
mov dword [ebx + 0x3a524], ecx
sub eax, 1
cmp eax, ecx
jg 0x6fd145d3
jmp 0x6fd14543
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov eax, dword [ecx]
mov dword [eax + esi*4 + 0x678], 0
jmp 0x6fd143da
mov ecx, dword [ebx + 0x3a524]
jmp 0x6fd1452a
xor ebp, ebp
jmp 0x6fd14543