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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bc408
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x69e298]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x34], esi
call fcn.004e7810
xor edi, edi
push esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x464], edi
call fcn.004e15b0
lea ecx, [esp + 0x80]
mov byte [esp + 0x460], 1
call fcn.004e1630
cmp eax, edi
je 0x4e8974
push 1
push 0x24
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x3a8]
call fcn.004e3750
push 0xf
mov bl, 2
push 0x5d873c
lea ecx, [esp + 0x20]
mov byte [esp + 0x468], bl
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00401db0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x384]
push ecx
mov byte [esp + 0x468], 3
call fcn.00495c50
add esp, 8
push esi
push eax
lea edx, [esp + 0x3a4]
push edx
mov byte [esp + 0x46c], 4
call fcn.00496550
add esp, 8
push eax
call fcn.00496550
add esp, 8
cmp dword [esp + 0x398], 4
jb 0x4e8902
mov eax, dword [esp + 0x384]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x460], bl
mov dword [esp + 0x384], edi
mov dword [esp + 0x394], edi
mov dword [esp + 0x398], 3
jb 0x4e8936
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0058984a
add esp, 4
push edi
lea ecx, [esp + 0x3a0]
call fcn.004e38c0
lea ecx, [esp + 0x418]
mov byte [esp + 0x460], 1
call fcn.00401f70
lea edx, [esp + 0x418]
push edx
mov dword [esp + 0x41c], 0x5d18f0
call fcn.00588e93
jmp 0x4e8fb5
push 0x20
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x88]
call fcn.004e17a0
cmp dword [esp + 0xcc], 0x3246504d
je 0x4e8a25
push 1
push 0x2d
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x3a8]
call fcn.004e3750
push 0x15
mov bl, 5
push 0x5d8724
lea ecx, [esp + 0x20]
mov byte [esp + 0x468], bl
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
call fcn.00401db0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x384]
push edx
mov byte [esp + 0x468], 6
call fcn.00495c50
add esp, 8
mov ecx, dword [esp + 0xcc]
push esi
push ecx
push eax
lea edx, [esp + 0x3a8]
push edx
mov byte [esp + 0x470], 7
call fcn.00496550
add esp, 8
mov ecx, eax
call fcn.00547860
jmp 0x4e88df
cmp dword [esp + 0xd0], 0x100
je 0x4e8b3d
push 1
push 0x33
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x3a8]
call fcn.004e3750
push 0x5d870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x464], 8
call fcn.00402290
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x384]
push ecx
mov byte [esp + 0x468], 9
call fcn.00495c50
add esp, 8
mov edx, dword [esp + 0xd0]
push esi
push edx
push eax
lea eax, [esp + 0x3a8]
push eax
mov byte [esp + 0x470], 0xa
call fcn.00496550
add esp, 8
mov ecx, eax
call fcn.00408aa0
push eax
call fcn.00496550
add esp, 8
cmp dword [esp + 0x398], 4
jb 0x4e8aca
mov ecx, dword [esp + 0x384]
push ecx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x398], 3
mov dword [esp + 0x394], edi
mov dword [esp + 0x384], edi
mov byte [esp + 0x460], 8
jb 0x4e8aff
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058984a
add esp, 4
push edi
lea ecx, [esp + 0x3a0]
call fcn.004e38c0
lea ecx, [esp + 0x418]
mov byte [esp + 0x460], 1
call fcn.00401f70
lea eax, [esp + 0x418]
push eax
mov dword [esp + 0x41c], 0x5d18f0
call fcn.00588e93
jmp 0x4e8fb5
lea ecx, [esp + 0x68]
call fcn.004e5100
lea ecx, [esp + 0x3c]
mov byte [esp + 0x460], 0xb
call fcn.004e5100
mov ecx, dword [esp + 0xd4]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x464], 0xc
call fcn.004922f0
mov edx, dword [esp + 0xd8]
push edx
lea ecx, [esp + 0x6c]
call fcn.004922f0
mov eax, dword [esp + 0xd4]
push eax
push edi
lea ecx, [esp + 0x44]
call fcn.00492410
push eax
lea ecx, [esp + 0x88]
call fcn.004e17a0
mov dword [esp + 0x14], vtable.Maid::CompressZLIB.0
lea ecx, [esp + 0x68]
mov byte [esp + 0x460], 0xd
call fcn.004922e0
push eax
push edi
lea ecx, [esp + 0x70]
call fcn.00492410
push eax
lea ecx, [esp + 0x44]
call fcn.004922e0
push eax
push edi
lea ecx, [esp + 0x4c]
call fcn.00492410
push eax
lea ecx, [esp + 0x24]
call fcn.00518600
mov ebx, eax
cmp ebx, dword [esp + 0xd8]
je 0x4e8ce0
push 1
push 0x43
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x3a8]
call fcn.004e3750
push 0x5d86f4
lea ecx, [esp + 0x384]
mov byte [esp + 0x464], 0xe
call fcn.00402290
lea ecx, [esp + 0x380]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x468], 0xf
call fcn.00495c50
add esp, 8
push esi
push ebx
push eax
lea eax, [esp + 0x3a8]
push eax
mov byte [esp + 0x470], 0x10
call fcn.00496550
add esp, 8
mov ecx, eax
call fcn.00547860
push eax
call fcn.00496550
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004176e0
lea ecx, [esp + 0x380]
mov byte [esp + 0x460], 0xe
call fcn.00401a50
push edi
lea ecx, [esp + 0x3a0]
call fcn.004e38c0
lea ecx, [esp + 0x418]
mov byte [esp + 0x460], 0xd
call fcn.00401f70
lea ecx, [esp + 0x418]
push ecx
mov dword [esp + 0x41c], 0x5d18f0
call fcn.00588e93
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], vtable.Maid::ICompress.0
call fcn.004e45c0
lea ecx, [esp + 0x68]
call fcn.004e45c0
jmp 0x4e8fb8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], vtable.Maid::ICompress.0
mov byte [esp + 0x460], 0xb
call fcn.004e45c0
push edi
lea ecx, [esp + 0x6c]
call fcn.00492410
mov ebx, eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x4e8e7c
jmp 0x4e8d20
mov eax, dword [ebx]
sub eax, 0x210
shr eax, 1
push eax
lea eax, [ebx + 0x210]
xor edx, edx
push eax
lea ecx, [esp + 0x388]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x3a0], 7
mov dword [esp + 0x39c], edi
mov word [esp + 0x38c], dx
call fcn.0048f6c0
lea ecx, [esp + 0x380]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x468], 0x11
call fcn.00495ae0
add esp, 8
mov eax, dword [ebx + 4]
sub eax, edi
mov byte [esp + 0x460], 0x12
je 0x4e8dc6
sub eax, 1
jne 0x4e8e20
lea esi, [ebx + 8]
mov ecx, 0x82
lea edi, [esp + 0x174]
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x128]
call fcn.004e7170
mov ecx, 0x82
lea esi, [esp + 0x174]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4e8e1a
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x48], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x50], ecx
push edx
lea ecx, [esp + 0x108]
mov dword [esp + 0x50], eax
call fcn.004e6fd0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov esi, dword [esp + 0x34]
xor edi, edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
add ebx, dword [ebx]
sub dword [esp + 0x14], ecx
cmp dword [esp + 0x30], 4
jb 0x4e8e40
mov edx, dword [esp + 0x1c]
push edx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x398], 8
mov dword [esp + 0x30], 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x460], 0xb
jb 0x4e8e72
mov eax, dword [esp + 0x384]
push eax
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x14], edi
jne 0x4e8d20
xor ebx, ebx
cmp dword [esp + 0xe8], edi
jle 0x4e8f4d
jmp 0x4e8e90
push ebx
lea ecx, [esp + 0x384]
push esi
push ecx
call fcn.004e4d90
add esp, 0xc
push eax
lea ecx, [esp + 0x14c]
mov byte [esp + 0x464], 0x13
call fcn.004e15b0
cmp dword [esp + 0x398], 4
mov byte [esp + 0x460], 0x15
jb 0x4e8ed9
mov edx, dword [esp + 0x384]
push edx
call fcn.0058984a
add esp, 4
lea ecx, [esp + 0x148]
mov dword [esp + 0x398], 3
mov dword [esp + 0x394], edi
mov dword [esp + 0x384], edi
call fcn.004e1630
cmp eax, edi
jne 0x4e9009
lea ecx, [esp + 0x148]
call fcn.004e18c0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x64], edi
call fcn.004e5390
lea ecx, [esp + 0x148]
mov byte [esp + 0x460], 0xb
call fcn.004e14f0
inc ebx
cmp ebx, dword [esp + 0xe8]
jl 0x4e8e90
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0xb8]
call fcn.00406e60
mov ecx, dword [esp + 0x38]
mov esi, dword [ecx + 0x14]
mov eax, dword [esi + 4]
lea edx, [esp + 0xac]
push edx
push eax
push esi
call fcn.004e86a0
mov ecx, dword [esp + 0x38]
push 1
mov ebx, eax
call fcn.004e4860
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x4e8f9c
push eax
call fcn.0058984a
add esp, 4
mov ecx, dword [esp + 0x68]
push ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
call fcn.0058984a
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x460], 0
call fcn.004e14f0
lea ecx, [esp + 0xac]
mov dword [esp + 0x460], 0xffffffff
call fcn.004e78a0
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00589f78
mov esp, ebp
pop ebp
ret 4
push 1
push 0x6e
push str.._storagepackfilereader.cpp
lea ecx, [esp + 0x3a8]
call fcn.004e3750
mov bl, 0x16
push 0x5d873c
lea ecx, [esp + 0x40]
mov byte [esp + 0x464], bl
call fcn.00402290
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x468], 0x17
call fcn.00495c50
add esp, 8
push esi
push eax
lea eax, [esp + 0x3a4]
push eax
mov byte [esp + 0x46c], 0x18
call fcn.00496550
add esp, 8
push eax
call fcn.00496550
add esp, 8
cmp dword [esp + 0x30], 4
jb 0x4e9086
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0058984a
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x30], 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov byte [esp + 0x460], bl
jb 0x4e90b1
mov edx, dword [esp + 0x40]
push edx
call fcn.0058984a
add esp, 4
push edi
lea ecx, [esp + 0x3a0]
call fcn.004e38c0
lea ecx, [esp + 0x418]
mov byte [esp + 0x460], 0x15
call fcn.00401f70
lea eax, [esp + 0x418]
push eax
mov dword [esp + 0x41c], 0x5d18f0
call fcn.00588e93
add esp, 4
lea ecx, [esp + 0x148]
mov byte [esp + 0x460], 0xb
call fcn.004e14f0
lea ecx, [esp + 0x68]
call fcn.004e45c0
jmp 0x4e8fb8