Function at 0x459c2f
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
je 0x459ec5
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x38], ebx
cmp ebx, dword [edi + 4]
jg 0x459ec5
mov ecx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
jl 0x459c6b
cmp ecx, dword [edi]
jae 0x459ec5
mov esi, dword [ebp + 0x10]
mov edx, dword [esi]
mov eax, edx
mov esi, dword [esi + 4]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, esi
adc eax, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], esi
cmp eax, dword [edi + 4]
jl 0x459caf
jg 0x459c96
mov eax, dword [esp + 0x14]
cmp eax, dword [edi]
jbe 0x459caf
mov edx, dword [edi]
mov esi, dword [edi + 4]
sub edx, ecx
mov eax, dword [ebp + 0x10]
sbb esi, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], esi
mov dword [eax], edx
mov dword [eax + 4], esi
xor eax, eax
cmp dword [edi + 0x10], eax
jne 0x459cde
mov edi, dword [edi + 0x18]
test edi, edi
je 0x459ec5
mov eax, dword [edi]
push esi
push edx
push ebx
push ecx
push dword [ebp + 0x14]
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x459ec5
mov al, 1
jmp 0x459ec7
or dword [esp + 0x48], 0xffffffff
xorps xmm0, xmm0
or dword [esp + 0x4c], 0xffffffff
mov bl, 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 8]
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0xc], eax
mov eax, edx
or eax, esi
je 0x459ec1
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
adc eax, dword [esp + 0x4c]
cmp eax, ebx
jg 0x459d5e
jl 0x459d46
cmp dword [esp + 0x40], ecx
ja 0x459d5e
lea eax, [esp + 0x48]
push eax
push esi
push edx
push ebx
push ecx
mov ecx, edi
call fcn.00459ed0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push esi
push edx
push ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.0045a0af
cmp dword [esp + 0x2c], 1
jne 0x459dc8
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x459da2
push dword [esp + 0x24]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ebx, dword [esp + 0x10]
add eax, ebx
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push eax
call dword [edx + 4]
mov bl, al
jmp 0x459da4
xor bl, bl
test bl, bl
jne 0x459e3a
push dword [esp + 0x24]
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_local_data:_offset__lld_amount__lld
jmp 0x459ea7
cmp dword [esp + 0x2c], 3
jne 0x459e0f
mov esi, dword [esp + 0x20]
mov ecx, edi
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0xc]
add eax, ebx
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call fcn.00459a41
mov bl, al
test bl, bl
jne 0x459e3a
push dword [esp + 0x24]
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_remote_unaligned_data:_offset__lld_amount__lld
jmp 0x459ea7
cmp dword [esp + 0x2c], 2
jne 0x459e8b
mov esi, dword [esp + 0x20]
mov ecx, edi
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0xc]
add eax, ebx
push esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call fcn.00459b52
mov bl, al
test bl, bl
je 0x459e72
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add ecx, esi
mov edx, dword [esp + 0x10]
adc dword [esp + 0x38], eax
add dword [esp + 0xc], esi
mov dword [esp + 0x34], ecx
adc dword [esp + 0x14], eax
sub edx, esi
mov esi, dword [esp + 0x3c]
sbb esi, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], esi
test bl, bl
jne 0x459d18
jmp 0x459ec1
push dword [esp + 0x24]
push esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___fail_to_fetch_remote_aligned_data:_offset__lld_amount__lld
jmp 0x459ea7
push dword [esp + 0x24]
xor bl, bl
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push str.Blizzard::Storage::StorageUnit::FetchData
push str._s___invalid_chunk_state
lea eax, [esp + 0x78]
push eax
call fcn.00434c8d
add esp, 0x1c
mov edx, eax
push 4
push 0x68
pop ecx
call fcn.00465855
pop ecx
mov al, bl
jmp 0x459ec7
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10