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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
cmp dword [ebp + 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x4563e3
xor al, al
jmp 0x456646
mov eax, dword [edi + 0x24]
mov esi, dword [ebp + 0xc]
mov ecx, dword [edi + 0x20]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], esi
cmp esi, eax
jl 0x456401
jg 0x4563dc
cmp ebx, ecx
jae 0x4563dc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
adc eax, esi
cmp eax, dword [esp + 0x14]
jl 0x45642c
jg 0x45641f
cmp dword [esp + 0x1c], ecx
jbe 0x45642c
mov eax, dword [esp + 0x14]
sub ecx, ebx
mov dword [edx], ecx
sbb eax, esi
mov dword [edx + 4], eax
cmp dword [edi + 0x30], 0
jne 0x456453
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4563dc
push dword [edx + 4]
mov eax, dword [ecx]
push dword [edx]
push esi
push ebx
push dword [ebp + 0x14]
call dword [eax + 4]
test al, al
je 0x4563dc
mov al, 1
jmp 0x456646
mov eax, dword [edi + 0x28]
xorps xmm0, xmm0
mov ecx, dword [edx]
mov edx, dword [edx + 4]
or dword [esp + 0x48], 0xffffffff
or dword [esp + 0x4c], 0xffffffff
and dword [esp + 0x58], 0
and dword [esp + 0x5c], 0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x38], eax
mov eax, ecx
or eax, edx
je 0x456642
mov ecx, dword [esp + 0x50]
add ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x54]
adc eax, dword [esp + 0x4c]
cmp eax, esi
jg 0x4564da
jl 0x4564c3
cmp ecx, ebx
ja 0x4564da
lea eax, [esp + 0x48]
mov ecx, edi
push eax
push edx
push dword [esp + 0x20]
push esi
push ebx
call fcn.0045664f
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
push edx
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push esi
push ebx
call fcn.0045670d
cmp dword [esp + 0x34], 1
jne 0x456549
mov ecx, dword [edi + 0x30]
mov esi, dword [esp + 0x28]
test ecx, ecx
je 0x45651f
push dword [esp + 0x2c]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
add eax, dword [esp + 0x3c]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push eax
call dword [edx + 4]
mov dl, al
jmp 0x456521
xor dl, dl
mov byte [esp + 0x13], dl
test dl, dl
jne 0x4565bf
push dword [esp + 0x2c]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_local_data:_offset__lld_amount__lld
jmp 0x456628
cmp dword [esp + 0x34], 3
jne 0x456592
mov esi, dword [esp + 0x28]
mov ecx, edi
mov eax, dword [ebp + 0x14]
add eax, dword [esp + 0x38]
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.0045620e
mov dl, al
mov byte [esp + 0x13], dl
test dl, dl
jne 0x4565bf
push dword [esp + 0x2c]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_remote_unaligned_data:_offset__lld_amount__lld
jmp 0x456628
cmp dword [esp + 0x34], 2
jne 0x456609
mov esi, dword [esp + 0x28]
mov ecx, edi
mov eax, dword [ebp + 0x14]
add eax, dword [esp + 0x38]
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.004562f9
mov dl, al
mov byte [esp + 0x13], dl
test dl, dl
je 0x4565f0
mov eax, dword [esp + 0x2c]
add ebx, esi
mov ecx, dword [esp + 0x18]
adc dword [esp + 0x44], eax
add dword [esp + 0x38], esi
adc dword [esp + 0x1c], eax
sub ecx, esi
mov dword [esp + 0x18], ecx
sbb dword [esp + 0x14], eax
test dl, dl
je 0x456642
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
jmp 0x45649f
push dword [esp + 0x2c]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_remote_aligned_data:_offset__lld_amount__lld
jmp 0x456628
push dword [esp + 0x2c]
mov byte [esp + 0x17], 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___invalid_chunk_state
lea eax, [esp + 0x78]
push eax
call fcn.00432312
add esp, 0x1c
mov edx, eax
push 4
push 0x68
pop ecx
call fcn.0046181b
pop ecx
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10