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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x64]
mov eax, edi
sub eax, esi
sar eax, 3
cdq
sub eax, edx
sar eax, 1
lea ebx, [esi + eax*8]
lea eax, [edi - 8]
push eax
push ebx
mov eax, esi
call fcn.00419fc0
add esp, 8
cmp esi, ebx
lea ecx, [ebx + 8]
mov dword [esp + 0x10], ecx
jae 0x419b19
jmp 0x419b00
mov edx, dword [ebx - 4]
mov eax, dword [edx + 0x78]
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x78]
cmp edx, eax
jl 0x419b19
jg 0x419b19
sub ebx, 8
cmp esi, ebx
jb 0x419b00
cmp ecx, edi
jae 0x419b3a
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0x78]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x78]
cmp edx, eax
jl 0x419b36
jg 0x419b36
add ecx, 8
cmp ecx, edi
jb 0x419b23
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp eax, dword [esp + 0x64]
jae 0x419bfc
mov esi, dword [eax + 4]
mov edi, dword [ebx + 4]
mov esi, dword [esi + 0x78]
mov edi, dword [edi + 0x78]
cmp esi, edi
jl 0x419beb
jg 0x419bfc
mov ebp, ecx
mov edi, dword [ebp + 4]
add dword [edi + 0x7c], 1
mov esi, dword [ebp + 4]
add ecx, 8
cmp esi, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x24], edi
je 0x419bb0
add dword [esi + 0x7c], 0xffffffff
jne 0x419ba6
call fcn.0043c190
push esi
call fcn.0045a870
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax + 4]
add dword [ecx + 0x7c], 1
mov dword [ebp + 4], ecx
mov esi, dword [eax + 4]
cmp esi, edi
je 0x419bd6
add dword [esi + 0x7c], 0xffffffff
jne 0x419bcf
call fcn.0043c190
push esi
call fcn.0045a870
mov eax, dword [esp + 0x18]
add esp, 4
add dword [edi + 0x7c], 1
mov dword [eax + 4], edi
lea ecx, [esp + 0x20]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add eax, 8
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
jb 0x419b50
cmp edx, dword [esp + 0x60]
jbe 0x419cb1
lea ebp, [edx - 4]
lea esp, [esp]
mov esi, dword [ebp]
mov edi, dword [ebx + 4]
mov esi, dword [esi + 0x78]
mov edi, dword [edi + 0x78]
cmp edi, esi
jl 0x419c99
jg 0x419cad
mov edi, dword [ebx - 4]
add dword [edi + 0x7c], 1
mov esi, dword [ebx - 4]
sub ebx, 8
cmp esi, dword [ebp]
mov dword [esp + 0x28], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x2c], edi
je 0x419c62
add dword [esi + 0x7c], 0xffffffff
jne 0x419c58
call fcn.0043c190
push esi
call fcn.0045a870
add esp, 4
mov eax, dword [ebp]
add dword [eax + 0x7c], 1
mov dword [ebx + 4], eax
mov esi, dword [ebp]
cmp esi, edi
je 0x419c84
add dword [esi + 0x7c], 0xffffffff
jne 0x419c7d
call fcn.0043c190
push esi
call fcn.0045a870
add esp, 4
add dword [edi + 0x7c], 1
mov dword [ebp], edi
lea ecx, [esp + 0x28]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub edx, 8
sub ebp, 8
cmp dword [esp + 0x60], edx
mov dword [esp + 0x18], edx
jb 0x419c10
cmp edx, dword [esp + 0x60]
jne 0x419dd1
cmp eax, dword [esp + 0x64]
je 0x419f5b
cmp ecx, eax
je 0x419d3b
mov edi, dword [ebx + 4]
mov ebp, 1
add dword [edi + 0x7c], ebp
mov esi, dword [ebx + 4]
cmp esi, dword [ecx + 4]
mov dword [esp + 0x30], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x34], edi
je 0x419d05
add dword [esi + 0x7c], 0xffffffff
jne 0x419cfc
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [ecx + 4]
add dword [eax + 0x7c], ebp
mov dword [ebx + 4], eax
mov esi, dword [ecx + 4]
cmp esi, edi
je 0x419d2a
add dword [esi + 0x7c], 0xffffffff
jne 0x419d24
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x14]
add esp, 4
add dword [edi + 0x7c], ebp
mov dword [ecx + 4], edi
lea ecx, [esp + 0x30]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, ebx
mov edi, dword [ebp + 4]
add dword [edi + 0x7c], 1
mov esi, dword [ebp + 4]
add ecx, 8
mov dword [esp + 0x10], ecx
mov ecx, eax
add eax, 8
add ebx, 8
cmp esi, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x3c], edi
je 0x419d91
add dword [esi + 0x7c], 0xffffffff
jne 0x419d87
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, dword [ecx + 4]
add dword [eax + 0x7c], 1
mov dword [ebp + 4], eax
mov esi, dword [ecx + 4]
cmp esi, edi
je 0x419db7
add dword [esi + 0x7c], 0xffffffff
jne 0x419db0
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x20]
add esp, 4
add dword [edi + 0x7c], 1
mov dword [ecx + 4], edi
lea ecx, [esp + 0x38]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x419b46
sub edx, 8
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x18], edx
mov ebp, 1
jne 0x419ed8
sub ebx, 8
cmp edx, ebx
je 0x419e57
mov edi, dword [edx + 4]
add dword [edi + 0x7c], ebp
mov esi, dword [edx + 4]
cmp esi, dword [ebx + 4]
mov dword [esp + 0x40], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x44], edi
je 0x419e29
add dword [esi + 0x7c], 0xffffffff
jne 0x419e20
call fcn.0043c190
push esi
call fcn.0045a870
mov edx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [ebx + 4]
add dword [eax + 0x7c], ebp
mov dword [edx + 4], eax
mov esi, dword [ebx + 4]
cmp esi, edi
je 0x419e4a
add dword [esi + 0x7c], 0xffffffff
jne 0x419e44
call fcn.0043c190
push esi
call fcn.0045a870
add esp, 4
add dword [edi + 0x7c], ebp
mov dword [ebx + 4], edi
lea ecx, [esp + 0x40]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov edi, dword [ebx + 4]
add dword [edi + 0x7c], ebp
mov esi, dword [ebx + 4]
sub ecx, 8
cmp esi, dword [ecx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x4c], edi
je 0x419e99
add dword [esi + 0x7c], 0xffffffff
jne 0x419e90
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [ecx + 4]
add dword [eax + 0x7c], ebp
mov dword [ebx + 4], eax
mov esi, dword [ecx + 4]
cmp esi, edi
je 0x419ebe
add dword [esi + 0x7c], 0xffffffff
jne 0x419eb8
call fcn.0043c190
push esi
call fcn.0045a870
mov ecx, dword [esp + 0x14]
add esp, 4
add dword [edi + 0x7c], ebp
mov dword [ecx + 4], edi
lea ecx, [esp + 0x48]
call fcn.00418dd0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x419b46
mov edi, dword [eax + 4]
add dword [edi + 0x7c], ebp
mov esi, dword [eax + 4]
cmp esi, dword [edx + 4]
mov dword [esp + 0x50], vtable.CAUUCFileSizeItem.0
mov dword [esp + 0x54], edi
je 0x419f17
add dword [esi + 0x7c], 0xffffffff
jne 0x419f0e
call fcn.0043c190
push esi
call fcn.0045a870
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [edx + 4]
add dword [ecx + 0x7c], ebp
mov dword [eax + 4], ecx
mov esi, dword [edx + 4]
cmp esi, edi
je 0x419f3c
add dword [esi + 0x7c], 0xffffffff
jne 0x419f36
call fcn.0043c190
push esi
call fcn.0045a870
mov edx, dword [esp + 0x1c]
add esp, 4
add dword [edi + 0x7c], ebp
mov dword [edx + 4], edi
lea ecx, [esp + 0x50]
call fcn.00418dd0
add dword [esp + 0x14], 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x419b46
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
mov dword [eax + 4], ecx
pop ebx
add esp, 0x48
ret